Searched refs:ndiv (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | ds3000.c | 980 u16 value, ndiv; in ds3000_set_frontend() local 1000 ndiv = ((p->frequency * (6 + 8) * 4) + in ds3000_set_frontend() 1005 ndiv = ((p->frequency * (6 + 8) * 2) + in ds3000_set_frontend() 1010 ds3000_tuner_writereg(state, 0x01, (ndiv & 0x0f00) >> 8); in ds3000_set_frontend() 1011 ds3000_tuner_writereg(state, 0x02, ndiv & 0x00ff); in ds3000_set_frontend() 1103 offset_khz = (ndiv - ndiv % 2 + 1024) * DS3000_XTAL_FREQ in ds3000_set_frontend()
|
D | cx24123.c | 533 u32 ndiv = 0, adiv = 0, vco_div = 0; in cx24123_pll_calculate() local 583 ndiv = (((p->frequency * vco_div * 10) / in cx24123_pll_calculate() 588 if (adiv == 0 && ndiv > 0) in cx24123_pll_calculate() 589 ndiv--; in cx24123_pll_calculate() 594 (pump << 14) | (ndiv << 5) | adiv; in cx24123_pll_calculate()
|
/linux-2.6.39/drivers/net/wireless/ath/ath9k/ |
D | ar9002_phy.c | 69 u32 freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9002_hw_set_channel() local 138 ndiv = (freq * (refDivA >> aModeRefSel)) / 60; in ar9002_hw_set_channel() 139 channelSel = ndiv & 0x1ff; in ar9002_hw_set_channel() 140 channelFrac = (ndiv & 0xfffffe00) * 2; in ar9002_hw_set_channel()
|
/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-octeon.c | 453 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; in octeon_i2c_setclock() local 482 ndiv = ndiv_idx; in octeon_i2c_setclock() 488 octeon_i2c_write_sw(i2c, SW_TWSI_EOP_TWSI_CLKCTL, (mdiv << 3) | ndiv); in octeon_i2c_setclock()
|
/linux-2.6.39/drivers/staging/brcm80211/util/ |
D | hndpmu.c | 1618 u32 tmp, div, ndiv, p1, p2, fc; in si_pmu5_clock() local 1651 ndiv = (tmp & PMU5_PLL_NDIV_MASK) >> PMU5_PLL_NDIV_SHIFT; in si_pmu5_clock() 1655 fc = (p1 * ndiv * fc) / p2; in si_pmu5_clock() 1658 __func__, p1, p2, ndiv, ndiv, m, div, fc, fc / div)); in si_pmu5_clock()
|
/linux-2.6.39/drivers/video/savage/ |
D | savagefb_driver.c | 421 unsigned int *ndiv, unsigned int *r) in SavageCalcClock() argument 460 *ndiv = best_n1 - 2; in SavageCalcClock() 468 unsigned char *ndiv) in common_calc_clock() argument 499 *ndiv = (best_n1 - 2) | (best_n2 << 6); in common_calc_clock() 501 *ndiv = (best_n1 - 2) | (best_n2 << 5); in common_calc_clock()
|