Searched refs:ndiv (Results 1 – 3 of 3) sorted by relevance
| /src/sys/dev/ath/ath_hal/ar9002/ |
| H A D | ar9287.c | 76 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9287SetChannel() local 141 ndiv = (freq * (refDivA >> aModeRefSel))/60; in ar9287SetChannel() 142 channelSel = ndiv & 0x1ff; in ar9287SetChannel() 143 channelFrac = (ndiv & 0xfffffe00) * 2; in ar9287SetChannel()
|
| H A D | ar9280.c | 76 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9280SetChannel() local 199 ndiv = (freq * (refDivA >> aModeRefSel))/60; in ar9280SetChannel() 200 channelSel = ndiv & 0x1ff; in ar9280SetChannel() 201 channelFrac = (ndiv & 0xfffffe00) * 2; in ar9280SetChannel()
|
| /src/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 2223 uint32_t ndiv; in bhnd_pmu5_clock() local 2271 ndiv = BHND_PMU_GET_BITS(tmp, BHND_PMU5_PLL_NDIV); in bhnd_pmu5_clock() 2275 fc = (p1 * ndiv * fc) / p2; in bhnd_pmu5_clock() 2278 "clock=%d\n", __func__, p1, p2, ndiv, ndiv, m, div, fc, fc / div); in bhnd_pmu5_clock() 2288 uint32_t ndiv, p1div, p2div, tmp; in bhnd_pmu6_4706_clock() local 2296 ndiv = BHND_PMU_GET_BITS(tmp, BHND_PMU6_4706_PROC_NDIV_INT); in bhnd_pmu6_4706_clock() 2310 clock *= ndiv * p2div / p1div; in bhnd_pmu6_4706_clock() 3001 uint8_t p1div, ndiv; in bhnd_pmu_spuravoid_pllupdate() local 3007 ndiv = 0x30; in bhnd_pmu_spuravoid_pllupdate() 3011 ndiv = 0xf6; in bhnd_pmu_spuravoid_pllupdate() [all …]
|