Lines Matching refs:div_width
53 int div_width; member
406 u32 max = 1 << clk->div_width; in sp_pll_calc_div()
423 } else if (clk->div_width == DIV_A) { in sp_pll_round_rate()
425 } else if (clk->div_width == DIV_TV) { in sp_pll_round_rate()
445 } else if (clk->div_width == DIV_A) { in sp_pll_recalc_rate()
447 } else if (clk->div_width == DIV_TV) { in sp_pll_recalc_rate()
473 u32 fbdiv = ((reg >> clk->div_shift) & ((1 << clk->div_width) - 1)) + 1; in sp_pll_recalc_rate()
492 } else if (clk->div_width == DIV_A) { in sp_pll_set_rate()
494 } else if (clk->div_width == DIV_TV) { in sp_pll_set_rate()
496 } else if (clk->div_width) { in sp_pll_set_rate()
498 u32 mask = GENMASK(clk->div_shift + clk->div_width - 1, clk->div_shift); in sp_pll_set_rate()
577 pll->div_width = width; in sp_pll_register()