Lines Matching refs:cpu_pll
239 u32 cpu_pll, ddr_pll; in ar934x_clocks_init() local
277 cpu_pll = ar934x_get_pll_freq(ref_rate, ref_div, nint, in ar934x_clocks_init()
315 cpu_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
327 ddr_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
337 ahb_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
357 u32 cpu_pll, ddr_pll; in qca953x_clocks_init() local
378 cpu_pll = nint * ref_rate / ref_div; in qca953x_clocks_init()
379 cpu_pll += frac * (ref_rate >> 6) / ref_div; in qca953x_clocks_init()
380 cpu_pll /= (1 << out_div); in qca953x_clocks_init()
404 cpu_rate = cpu_pll / (postdiv + 1); in qca953x_clocks_init()
416 ddr_rate = cpu_pll / (postdiv + 1); in qca953x_clocks_init()
426 ahb_rate = cpu_pll / (postdiv + 1); in qca953x_clocks_init()
440 u32 cpu_pll, ddr_pll; in qca955x_clocks_init() local
461 cpu_pll = nint * ref_rate / ref_div; in qca955x_clocks_init()
462 cpu_pll += frac * ref_rate / (ref_div * (1 << 6)); in qca955x_clocks_init()
463 cpu_pll /= (1 << out_div); in qca955x_clocks_init()
489 cpu_rate = cpu_pll / (postdiv + 1); in qca955x_clocks_init()
497 ddr_rate = cpu_pll / (postdiv + 1); in qca955x_clocks_init()
509 ahb_rate = cpu_pll / (postdiv + 1); in qca955x_clocks_init()
523 u32 cpu_pll, ddr_pll; in qca956x_clocks_init() local
558 cpu_pll = nint * ref_rate / ref_div; in qca956x_clocks_init()
559 cpu_pll += (lfrac * ref_rate) / ((ref_div * 25) << 13); in qca956x_clocks_init()
560 cpu_pll += (hfrac >> 13) * ref_rate / ref_div; in qca956x_clocks_init()
561 cpu_pll /= (1 << out_div); in qca956x_clocks_init()
591 cpu_rate = cpu_pll / (postdiv + 1); in qca956x_clocks_init()
599 ddr_rate = cpu_pll / (postdiv + 1); in qca956x_clocks_init()
611 ahb_rate = cpu_pll / (postdiv + 1); in qca956x_clocks_init()