Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/tegra/
Dclk-utils.c15 u64 divider_ux1 = parent_rate; in div_frac_get() local
24 divider_ux1 *= mul; in div_frac_get()
27 divider_ux1 += rate - 1; in div_frac_get()
29 do_div(divider_ux1, rate); in div_frac_get()
32 divider_ux1 *= mul; in div_frac_get()
34 if (divider_ux1 < mul) in div_frac_get()
37 divider_ux1 -= mul; in div_frac_get()
39 if (divider_ux1 > div_mask(width)) in div_frac_get()
42 return divider_ux1; in div_frac_get()