Home
last modified time | relevance | path

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

/u-boot/arch/mips/mach-ath79/qca956x/
A Dclk.c314 u32 out_div, ref_div, postdiv, nint, hfrac, lfrac, clk_ctrl; in get_clocks() local
332 ref_div = (pll >> QCA956X_PLL_CPU_CONFIG_REFDIV_SHIFT) & in get_clocks()
345 cpu_pll = nint * ref_rate / ref_div; in get_clocks()
346 cpu_pll += (lfrac * ref_rate) / ((ref_div * 25) << 13); in get_clocks()
347 cpu_pll += (hfrac >> 13) * ref_rate / ref_div; in get_clocks()
353 ref_div = (pll >> QCA956X_PLL_DDR_CONFIG_REFDIV_SHIFT) & in get_clocks()
363 ddr_pll = nint * ref_rate / ref_div; in get_clocks()
364 ddr_pll += (lfrac * ref_rate) / ((ref_div * 25) << 13); in get_clocks()
365 ddr_pll += (hfrac >> 13) * ref_rate / ref_div; in get_clocks()

Completed in 4 milliseconds