Home | History | Annotate | Download | only in broadcom

Lines Matching defs:pdiv

196 	uint32_t pdiv, uint32_t ndiv_int, uint32_t ndiv_frac)
198 if (ndiv_frac == 0 && pdiv == 1)
203 if (pdiv > 1)
204 freq64 /= pdiv;
221 const uint32_t pdiv = bcm53xx_value_wrap(control6,
228 clk->clk_genpll = bcm53xx_freq_calc(clk, pdiv, ndiv_int, ndiv_frac);
249 const uint32_t pdiv = bcm53xx_value_wrap(control1,
256 clk->clk_lcpll = bcm53xx_freq_calc(clk, pdiv, ndiv_int, ndiv_frac);
276 const uint32_t pdiv = bcm53xx_value_wrap(usb2_control,
281 uint32_t usb_ref = (clk->clk_usb2 / pdiv) * ndiv;
287 uint32_t new_ndiv = (USB2_REF_CLK / clk->clk_usb2) * pdiv;
303 usb_ref = (clk->clk_usb2 / pdiv) * new_ndiv;
318 * F(ddr) = ((1 / pdiv) * ndiv * CH2) / (post_div * 2)
326 u_int pdiv = __SHIFTOUT(pll_dividers, PLL_DIVIDERS_PDIV);
329 pdiv = ((pdiv - (clocking_4x ? 1 : 5)) & 7) + 1;
332 clk->clk_ddr = (clk->clk_ddr_ref / pdiv) * ndiv / (2 + post_div);
336 * CPU_CLK = (1 / pdiv) * (ndiv_int + (ndiv_frac / 0x40000000)) x F(ref)
356 const u_int pdiv = bcm53xx_value_wrap(pllarma, CLK_PLLARMA_PDIV);
363 clk->clk_cpu = bcm53xx_freq_calc(clk, pdiv, ndiv_int, ndiv_frac) / cpu_div;