Splitting patterns of quadratic forms and totally singular forms of prime degree