Searched refs:ddr_pll (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/mips/atheros/
H A Dqca953x_chip.c77 uint32_t cpu_pll, ddr_pll; local
110 ddr_pll = nint * ref_rate / ref_div;
111 ddr_pll += frac * (ref_rate >> 6) / (ref_div << 4);
112 ddr_pll /= (1 << out_div);
124 cpu_rate = ddr_pll / (postdiv + 1);
132 ddr_rate = ddr_pll / (postdiv + 1);
142 ahb_rate = ddr_pll / (postdiv + 1);
H A Dqca955x_chip.c78 uint32_t cpu_pll, ddr_pll; local
111 ddr_pll = nint * ref_rate / ref_div;
112 ddr_pll += frac * ref_rate / (ref_div * (1 << 10));
113 ddr_pll /= (1 << out_div);
123 cpu_rate = ddr_pll / (postdiv + 1);
135 ddr_rate = ddr_pll / (postdiv + 1);
143 ahb_rate = ddr_pll / (postdiv + 1);
H A Dar934x_chip.c93 uint32_t cpu_pll, ddr_pll; local
154 ddr_pll = ar934x_get_pll_freq(u_ar71xx_refclk, ref_div, nint,
167 u_ar71xx_cpu_freq = ddr_pll / (postdiv + 1);
175 u_ar71xx_ddr_freq = ddr_pll / (postdiv + 1);
185 u_ar71xx_ahb_freq = ddr_pll / (postdiv + 1);

Completed in 104 milliseconds