Lines Matching refs:frac
222 u32 frac, u32 out_div) in ar934x_get_pll_freq() argument
234 do_div(t, ref_div * frac); in ar934x_get_pll_freq()
247 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local
270 frac = 1 << 18; in ar934x_clocks_init()
281 frac = 1 << 6; in ar934x_clocks_init()
285 nfrac, frac, out_div); in ar934x_clocks_init()
297 frac = 1 << 18; in ar934x_clocks_init()
308 frac = 1 << 10; in ar934x_clocks_init()
312 nfrac, frac, out_div); in ar934x_clocks_init()
363 u32 pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca955x_clocks_init() local
380 frac = (pll >> QCA955X_PLL_CPU_CONFIG_NFRAC_SHIFT) & in qca955x_clocks_init()
384 cpu_pll += frac * ref_rate / (ref_div * (1 << 6)); in qca955x_clocks_init()
394 frac = (pll >> QCA955X_PLL_DDR_CONFIG_NFRAC_SHIFT) & in qca955x_clocks_init()
398 ddr_pll += frac * ref_rate / (ref_div * (1 << 10)); in qca955x_clocks_init()