Searched refs:ndiv_int (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-brcm/
H A Diproc_cru.c39 u32 pdiv, ndiv_int, ndiv_frac, mdiv; local
75 ndiv_int = ( regA >> 8) & ((1<<10)-1);
76 if( ndiv_int == 0 ) ndiv_int = 1 << 10 ;
85 x = ((u64) ndiv_int << 20) | ndiv_frac ;
104 unsigned pdiv, ndiv_int, ndiv_frac, mdiv; local
144 ndiv_int = ( regD >> 20 ) & 0xff ;
145 if( ndiv_int == 0 ) ndiv_int = 1 << 8 ;
154 ndiv_int
[all...]
H A Dbcm5301x_dmu.c75 unsigned pdiv, ndiv_int, ndiv_frac; local
96 ndiv_int = ( reg >> 20) & 0xff;
104 x = x * ( (u64) ndiv_int << 20 | ndiv_frac ) ;
192 unsigned pdiv, ndiv_int, ndiv_frac; local
213 ndiv_int = reg >> 20;
225 x = x * ( (u64) ndiv_int << 20 | ndiv_frac ) ;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ssb/
H A Ddriver_chipcommon_pmu.c180 u8 ndiv_int; member in struct:pmu1_plltab_entry
187 { .freq = 12000, .xf = 1, .p1div = 3, .p2div = 22, .ndiv_int = 0x9, .ndiv_frac = 0xFFFFEF, },
188 { .freq = 13000, .xf = 2, .p1div = 1, .p2div = 6, .ndiv_int = 0xb, .ndiv_frac = 0x483483, },
189 { .freq = 14400, .xf = 3, .p1div = 1, .p2div = 10, .ndiv_int = 0xa, .ndiv_frac = 0x1C71C7, },
190 { .freq = 15360, .xf = 4, .p1div = 1, .p2div = 5, .ndiv_int = 0xb, .ndiv_frac = 0x755555, },
191 { .freq = 16200, .xf = 5, .p1div = 1, .p2div = 10, .ndiv_int = 0x5, .ndiv_frac = 0x6E9E06, },
192 { .freq = 16800, .xf = 6, .p1div = 1, .p2div = 10, .ndiv_int = 0x5, .ndiv_frac = 0x3CF3CF, },
193 { .freq = 19200, .xf = 7, .p1div = 1, .p2div = 9, .ndiv_int = 0x5, .ndiv_frac = 0x17B425, },
194 { .freq = 19800, .xf = 8, .p1div = 1, .p2div = 11, .ndiv_int = 0x4, .ndiv_frac = 0xA57EB, },
195 { .freq = 20000, .xf = 9, .p1div = 1, .p2div = 11, .ndiv_int
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/
H A Dhndpmu.c3345 uint8 ndiv_int; member in struct:__anon20347
3518 /* fref xf p1div p2div ndiv_int ndiv_frac */
4194 uint32 ndiv_int; local
4224 ndiv_int = (fvco * p1div) / xtal;
4226 /* ndiv_frac = (uint32) (((uint64) (fvco * p1div - xtal * ndiv_int) * (1 << 24)) / xtal) */
4227 bcm_uint64_multiple_add(&temp_high, &temp_low, fvco * p1div - xtal * ndiv_int, 1 << 24, 0);
4234 (p1div << 16) | (ndiv_mode << 20) | (ndiv_int << 23);
4244 ndiv_int = (fvco * p1div) / xtal;
4247 * ndiv_frac = (uint32) (((uint64) (fvco * p1div - xtal * ndiv_int) * (1 << 20)) /
4250 bcm_uint64_multiple_add(&temp_high, &temp_low, fvco * p1div - xtal * ndiv_int,
5686 uint32 vcofreq_withfrac, p1div, ndiv_int, fraca, ndiv_mode, reg; local
5757 uint32 ndiv_int, /* 9 bits integer divider */ local
7291 uint32 xtal_freq, reg_val, mxdiv, ndiv_int, ndiv_frac_int, part_mul; local
7727 uint32 xf, ndiv_int, ndiv_frac, fvco, pll_reg, p1_div_scale; local
[all...]
H A Dsiutils.c3127 uint32 pdiv, ndiv_int, mdiv, clkrate; local
3134 ndiv_int = (val >> 20) & 0x3ff;
3135 if (ndiv_int == 0)
3136 ndiv_int = 1 << 10;
3151 clkrate = (25000000 / (pdiv * mdiv)) * ndiv_int;

Completed in 394 milliseconds