Lines Matching refs:q
625 unsigned int q; in div_up() local
628 q = div32(a, b, &r); in div_up()
630 ++q; in div_up()
631 return q; in div_up()
888 unsigned int q = i->min; in snd_interval_ratnum() local
890 if (q == 0) in snd_interval_ratnum()
891 q = 1; in snd_interval_ratnum()
892 den = div_up(num, q); in snd_interval_ratnum()
903 diff = num - q * den; in snd_interval_ratnum()
927 unsigned int q = i->max; in snd_interval_ratnum() local
929 if (q == 0) { in snd_interval_ratnum()
933 den = div_down(num, q); in snd_interval_ratnum()
944 diff = q * den - num; in snd_interval_ratnum()
1004 unsigned int q = i->min; in snd_interval_ratden() local
1006 num = mul(q, den); in snd_interval_ratden()
1017 diff = num - q * den; in snd_interval_ratden()
1036 unsigned int q = i->max; in snd_interval_ratden() local
1038 num = mul(q, den); in snd_interval_ratden()
1049 diff = q * den - num; in snd_interval_ratden()