Home
last modified time | relevance | path

Searched refs:div_up (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-ip.h63 struct cv1800_clk_regbit div_up; member
244 .div_up = CV1800_CLK_BIT(_div_up_reg, \
H A Dclk-cv18xx-ip.c872 cv1800_clk_setbit(&aclk->common, &aclk->div_up); in aclk_set_rate()
/linux/drivers/clk/microchip/
H A Dclk-core.c125 unsigned long div, div_up; in calc_best_divided_rate() local
133 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()
/linux/sound/core/
H A Dpcm_lib.c577 static inline unsigned int div_up(unsigned int a, unsigned int b) in div_up() function
851 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()