Searched refs:ndiv (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/dev/ath/ath_hal/ar9002/ |
| 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()
|
| 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()
|
| /freebsd-14.2/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 2224 uint32_t ndiv; in bhnd_pmu5_clock() local 2272 ndiv = BHND_PMU_GET_BITS(tmp, BHND_PMU5_PLL_NDIV); in bhnd_pmu5_clock() 2276 fc = (p1 * ndiv * fc) / p2; in bhnd_pmu5_clock() 2279 "clock=%d\n", __func__, p1, p2, ndiv, ndiv, m, div, fc, fc / div); in bhnd_pmu5_clock() 2289 uint32_t ndiv, p1div, p2div, tmp; in bhnd_pmu6_4706_clock() local 2297 ndiv = BHND_PMU_GET_BITS(tmp, BHND_PMU6_4706_PROC_NDIV_INT); in bhnd_pmu6_4706_clock() 2311 clock *= ndiv * p2div / p1div; in bhnd_pmu6_4706_clock() 3002 uint8_t p1div, ndiv; in bhnd_pmu_spuravoid_pllupdate() local 3008 ndiv = 0x30; in bhnd_pmu_spuravoid_pllupdate() 3012 ndiv = 0xf6; in bhnd_pmu_spuravoid_pllupdate() [all …]
|