Searched refs:div_up (Results 1 – 2 of 2) sorted by relevance
125 unsigned long div, div_up; in calc_best_divided_rate() local133 div_up = clamp_val(div + 1, divider_min, divider_max); in calc_best_divided_rate()136 divided_rate_down = parent_rate / div_up; in calc_best_divided_rate()
532 static inline unsigned int div_up(unsigned int a, unsigned int b) in div_up() function806 den = div_up(num, q); in snd_interval_ratnum()872 t.max = div_up(best_num, best_den); in snd_interval_ratnum()975 t.max = div_up(best_num, best_den); in snd_interval_ratden()