Lines Matching defs:ndiv_frac
3346 uint32 ndiv_frac;
3518 /* fref xf p1div p2div ndiv_int ndiv_frac */
4195 uint32 ndiv_frac;
4226 /* ndiv_frac = (uint32) (((uint64) (fvco * p1div - xtal * ndiv_int) * (1 << 24)) / xtal) */
4228 bcm_uint64_divide(&ndiv_frac, temp_high, temp_low, xtal);
4230 ndiv_mode = (ndiv_frac == 0) ? 0 : 3;
4235 PLL_control[3] = (PLL_4345_CONTROL3_DEFAULT & 0xFF000000) | ndiv_frac;
4247 * ndiv_frac = (uint32) (((uint64) (fvco * p1div - xtal * ndiv_int) * (1 << 20)) /
4251 bcm_uint64_divide(&ndiv_frac, temp_high, temp_low, xtal);
4257 PLL_control[7] = ndiv_frac;
4563 /* Write ndiv_frac to pllcontrol[3] */
4564 tmp = ((xt->ndiv_frac << PMU1_PLL0_PC3_NDIV_FRAC_SHIFT) &
5398 /* Write ndiv_frac to pllcontrol[3] */
5401 tmp |= ((xt->ndiv_frac << PMU1_PLL0_PC3_NDIV_FRAC_SHIFT) &
7727 uint32 xf, ndiv_int, ndiv_frac, fvco, pll_reg, p1_div_scale;
7750 ndiv_frac = (pll_reg & PMU1_PLL0_PC3_NDIV_FRAC_MASK) >>
7754 /* fvco1 = (100 * (xf * 1/p1_div) * (ndiv_int + (ndiv_frac * 1/(1 << 24)))) */
7768 bcm_uint64_multiple_add(&r_high, &r_low, ndiv_frac, xf, rounding_const);