Searched refs:div_up (Results 1 – 4 of 4) sorted by relevance
63 struct cv1800_clk_regbit div_up; member244 .div_up = CV1800_CLK_BIT(_div_up_reg, \
872 cv1800_clk_setbit(&aclk->common, &aclk->div_up); in aclk_set_rate()
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()
577 static inline unsigned int div_up(unsigned int a, unsigned int b) in div_up() function851 den = div_up(num, q); in snd_interval_ratnum()917 t.max = div_up(best_num, best_den); in snd_interval_ratnum()1020 t.max = div_up(best_num, best_den); in snd_interval_ratden()