• Home
  • Raw
  • Download

Lines Matching refs:best_den

815 	unsigned int best_num, best_den;  in snd_interval_ratnum()  local
823 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
846 diff * best_den < best_diff * den) { in snd_interval_ratnum()
848 best_den = den; in snd_interval_ratnum()
852 if (best_den == 0) { 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()
861 result_den = best_den; in snd_interval_ratnum()
862 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
887 diff * best_den < best_diff * den) { in snd_interval_ratnum()
889 best_den = den; in snd_interval_ratnum()
893 if (best_den == 0) { 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()
905 if (best_diff * result_den < result_diff * best_den) { in snd_interval_ratnum()
907 result_den = best_den; 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()
959 diff * best_den < best_diff * den) { in snd_interval_ratden()
961 best_den = den; in snd_interval_ratden()
965 if (best_den == 0) { 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()
991 diff * best_den < best_diff * den) { in snd_interval_ratden()
993 best_den = den; in snd_interval_ratden()
997 if (best_den == 0) { 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()
1012 *denp = best_den; in snd_interval_ratden()