Home
last modified time | relevance | path

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

/external/u-boot/arch/mips/mach-ath79/qca956x/
Dclk.c312 u32 pll, cpu_pll, ddr_pll, misc; in get_clocks() local
342 cpu_pll = nint * ref_rate / ref_div; in get_clocks()
343 cpu_pll += (lfrac * ref_rate) / ((ref_div * 25) << 13); in get_clocks()
344 cpu_pll += (hfrac >> 13) * ref_rate / ref_div; in get_clocks()
345 cpu_pll /= (1 << out_div); in get_clocks()
375 cpu_rate = cpu_pll / (postdiv + 1); in get_clocks()
383 ddr_rate = cpu_pll / (postdiv + 1); in get_clocks()
395 ahb_rate = cpu_pll / (postdiv + 1); in get_clocks()
/external/u-boot/arch/mips/mach-ath79/ar934x/
Dclk.c42 struct ar934x_pll_config cpu_pll; member
111 u32 reg, cpu_pll, cpu_srif, ddr_pll, ddr_srif; in ar934x_pll_init() local
142 pll_cfg = &ar934x_clock_config[i].cpu_pll; in ar934x_pll_init()
145 cpu_pll = in ar934x_pll_init()
175 writel(cpu_pll | AR934X_PLL_CPU_CONFIG_PLLPWD, in ar934x_pll_init()