Lines Matching refs:best_num
815 unsigned int best_num, best_den; in snd_interval_ratnum() local
823 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
845 if (best_num == 0 || in snd_interval_ratnum()
849 best_num = num; in snd_interval_ratnum()
856 t.min = div_down(best_num, best_den); in snd_interval_ratnum()
857 t.openmin = !!(best_num % best_den); in snd_interval_ratnum()
859 result_num = best_num; in snd_interval_ratnum()
862 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
886 if (best_num == 0 || in snd_interval_ratnum()
890 best_num = num; in snd_interval_ratnum()
897 t.max = div_up(best_num, best_den); in snd_interval_ratnum()
898 t.openmax = !!(best_num % best_den); in snd_interval_ratnum()
906 result_num = best_num; in snd_interval_ratnum()
935 unsigned int best_num, best_diff, best_den; in snd_interval_ratden() local
940 best_num = best_den = best_diff = 0; in snd_interval_ratden()
958 if (best_num == 0 || in snd_interval_ratden()
962 best_num = num; in snd_interval_ratden()
969 t.min = div_down(best_num, best_den); in snd_interval_ratden()
970 t.openmin = !!(best_num % best_den); in snd_interval_ratden()
972 best_num = best_den = best_diff = 0; in snd_interval_ratden()
990 if (best_num == 0 || in snd_interval_ratden()
994 best_num = num; in snd_interval_ratden()
1001 t.max = div_up(best_num, best_den); in snd_interval_ratden()
1002 t.openmax = !!(best_num % best_den); in snd_interval_ratden()
1010 *nump = best_num; in snd_interval_ratden()