Home
last modified time | relevance | path

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

/u-boot/arch/mips/mach-ath79/qca956x/
A Dclk.c313 u32 ref_rate, cpu_rate, ddr_rate, ahb_rate; in get_clocks() local
343 ref_rate = qca956x_get_xtal(); 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()
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()
374 cpu_rate = ref_rate; in get_clocks()
384 ddr_rate = ref_rate; in get_clocks()
[all …]
/u-boot/drivers/clk/ti/
A Dclk-am3-dpll.c39 ulong ret, ref_rate, r; in clk_ti_am3_dpll_round_rate() local
52 ref_rate = clk_get_rate(&priv->clk_ref); in clk_ti_am3_dpll_round_rate()
55 r = (ref_rate * m) / d; in clk_ti_am3_dpll_round_rate()

Completed in 6 milliseconds