Home
last modified time | relevance | path

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

/drivers/clk/qcom/
Dclk-alpha-pll.c409 alpha_pll_calc_rate(u64 prate, u32 l, u32 a, u32 alpha_width) in alpha_pll_calc_rate() argument
411 return (prate * l) + ((prate * a) >> ALPHA_SHIFT(alpha_width)); in alpha_pll_calc_rate()
416 u32 alpha_width) in alpha_pll_round_rate() argument
431 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate()
439 return alpha_pll_calc_rate(prate, *l, *a, alpha_width); in alpha_pll_round_rate()
461 u32 alpha_width = pll_alpha_width(pll); in clk_alpha_pll_recalc_rate() local
468 if (alpha_width > 32) { in clk_alpha_pll_recalc_rate()
473 a = low & GENMASK(alpha_width - 1, 0); in clk_alpha_pll_recalc_rate()
476 if (alpha_width > ALPHA_BITWIDTH) in clk_alpha_pll_recalc_rate()
477 a >>= alpha_width - ALPHA_BITWIDTH; in clk_alpha_pll_recalc_rate()
[all …]