Home
last modified time | relevance | path

Searched refs:numChannels (Results 1 – 20 of 20) sorted by relevance

/freebsd-12-stable/sys/dev/ath/ath_hal/ar9002/
Dar9287.c230 int numChannels=0,i,last; in ar9287GetChannelMaxMinPower()
239 numChannels = powerArray[headerInfo11A].numChannels; in ar9287GetChannelMaxMinPower()
244 numChannels = powerArray[headerInfo11G].numChannels; in ar9287GetChannelMaxMinPower()
248 numChannels = powerArray[headerInfo11B].numChannels; in ar9287GetChannelMaxMinPower()
255 if ((numChannels < 1) || in ar9287GetChannelMaxMinPower()
257 (chan->channel > data[numChannels-1].channelValue)) in ar9287GetChannelMaxMinPower()
262 (i<numChannels) && (chan->channel > data[i].channelValue); in ar9287GetChannelMaxMinPower()
Dar9280.c288 int numChannels=0,i,last; in ar9280GetChannelMaxMinPower()
297 numChannels = powerArray[headerInfo11A].numChannels; in ar9280GetChannelMaxMinPower()
302 numChannels = powerArray[headerInfo11G].numChannels; in ar9280GetChannelMaxMinPower()
306 numChannels = powerArray[headerInfo11B].numChannels; in ar9280GetChannelMaxMinPower()
313 if ((numChannels < 1) || in ar9280GetChannelMaxMinPower()
315 (chan->channel > data[numChannels-1].channelValue)) in ar9280GetChannelMaxMinPower()
320 (i<numChannels) && (chan->channel > data[i].channelValue); in ar9280GetChannelMaxMinPower()
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/
Dar2133.c371 int numChannels=0,i,last; in ar2133GetChannelMaxMinPower()
380 numChannels = powerArray[headerInfo11A].numChannels; in ar2133GetChannelMaxMinPower()
385 numChannels = powerArray[headerInfo11G].numChannels; in ar2133GetChannelMaxMinPower()
389 numChannels = powerArray[headerInfo11B].numChannels; in ar2133GetChannelMaxMinPower()
396 if ((numChannels < 1) || in ar2133GetChannelMaxMinPower()
398 (chan->channel > data[numChannels-1].channelValue)) in ar2133GetChannelMaxMinPower()
403 (i<numChannels) && (chan->channel > data[i].channelValue); in ar2133GetChannelMaxMinPower()
Dar5416.h334 uint16_t numChannels, CAL_TARGET_POWER_HT *pNewPower,
339 uint16_t numChannels, CAL_TARGET_POWER_LEG *pNewPower,
Dar5416_reset.c2103 CAL_TARGET_POWER_HT *powInfo, uint16_t numChannels, in ar5416GetTargetPowers() argument
2120 for (i = 0; (i < numChannels) && (powInfo[i].bChannel != AR5416_BCHAN_UNUSED); i++) { in ar5416GetTargetPowers()
2163 CAL_TARGET_POWER_LEG *powInfo, uint16_t numChannels, in ar5416GetTargetPowersLeg() argument
2180 for (i = 0; (i < numChannels) && (powInfo[i].bChannel != AR5416_BCHAN_UNUSED); i++) { in ar5416GetTargetPowersLeg()
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5212/
Dar5112.c428 pPowerExpn->numChannels, &chan_idx_L, &chan_idx_R); in ar5112SetPowerTable()
774 int numChannels=0,i,last; in ar5112GetChannelMaxMinPower() local
783 numChannels = powerArray[headerInfo11A].numChannels; in ar5112GetChannelMaxMinPower()
788 numChannels = powerArray[headerInfo11G].numChannels; in ar5112GetChannelMaxMinPower()
792 numChannels = powerArray[headerInfo11B].numChannels; in ar5112GetChannelMaxMinPower()
799 if (numChannels < 1) in ar5112GetChannelMaxMinPower()
803 (freq > data[numChannels-1].channelValue)) { in ar5112GetChannelMaxMinPower()
809 *maxPow = data[numChannels - 1].maxPower_t4; in ar5112GetChannelMaxMinPower()
810 *minPow = ar5112GetMinPower(ah, &data[numChannels - 1]); in ar5112GetChannelMaxMinPower()
817 (i<numChannels) && (freq > data[i].channelValue); in ar5112GetChannelMaxMinPower()
Dar2425.c389 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2425getGainBoundariesAndPdadcsForPowers()
610 uint16_t numChannels; in ar2425GetChannelMaxMinPower() local
622 numChannels = pRawDataset->numChannels; in ar2425GetChannelMaxMinPower()
628 if (numChannels < 1) in ar2425GetChannelMaxMinPower()
632 (freq > data[numChannels-1].channelValue)) { in ar2425GetChannelMaxMinPower()
638 *maxPow = ar2425GetMaxPower(ah, &data[numChannels - 1]); in ar2425GetChannelMaxMinPower()
639 *minPow = ar2425GetMinPower(ah, &data[numChannels - 1]); in ar2425GetChannelMaxMinPower()
645 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue); in ar2425GetChannelMaxMinPower()
Dar2316.c388 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2316getGainBoundariesAndPdadcsForPowers()
653 uint16_t numChannels; in ar2316GetChannelMaxMinPower() local
665 numChannels = pRawDataset->numChannels; in ar2316GetChannelMaxMinPower()
671 if (numChannels < 1) in ar2316GetChannelMaxMinPower()
675 (freq > data[numChannels-1].channelValue)) { in ar2316GetChannelMaxMinPower()
681 *maxPow = ar2316GetMaxPower(ah, &data[numChannels - 1]); in ar2316GetChannelMaxMinPower()
682 *minPow = ar2316GetMinPower(ah, &data[numChannels - 1]); in ar2316GetChannelMaxMinPower()
688 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue); in ar2316GetChannelMaxMinPower()
Dar2413.c382 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2413getGainBoundariesAndPdadcsForPowers()
648 uint16_t numChannels; in ar2413GetChannelMaxMinPower() local
660 numChannels = pRawDataset->numChannels; in ar2413GetChannelMaxMinPower()
666 if (numChannels < 1) in ar2413GetChannelMaxMinPower()
670 (freq > data[numChannels-1].channelValue)) { in ar2413GetChannelMaxMinPower()
676 *maxPow = ar2413GetMaxPower(ah, &data[numChannels - 1]); in ar2413GetChannelMaxMinPower()
677 *minPow = ar2413GetMinPower(ah, &data[numChannels - 1]); in ar2413GetChannelMaxMinPower()
683 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue); in ar2413GetChannelMaxMinPower()
Dar2317.c366 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2317getGainBoundariesAndPdadcsForPowers()
633 uint16_t numChannels; in ar2317GetChannelMaxMinPower() local
645 numChannels = pRawDataset->numChannels; in ar2317GetChannelMaxMinPower()
651 if (numChannels < 1) in ar2317GetChannelMaxMinPower()
655 (freq > data[numChannels-1].channelValue)) { in ar2317GetChannelMaxMinPower()
661 *maxPow = ar2317GetMaxPower(ah, &data[numChannels - 1]); in ar2317GetChannelMaxMinPower()
662 *minPow = ar2317GetMinPower(ah, &data[numChannels - 1]); in ar2317GetChannelMaxMinPower()
668 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue); in ar2317GetChannelMaxMinPower()
Dar5413.c425 pRawDataset->numChannels, &(idxL), &(idxR)); in ar5413getGainBoundariesAndPdadcsForPowers()
691 uint16_t numChannels; in ar5413GetChannelMaxMinPower() local
705 numChannels = pRawDataset->numChannels; in ar5413GetChannelMaxMinPower()
711 if (numChannels < 1) in ar5413GetChannelMaxMinPower()
715 (freq > data[numChannels-1].channelValue)) { in ar5413GetChannelMaxMinPower()
721 *maxPow = ar5413GetMaxPower(ah, &data[numChannels - 1]); in ar5413GetChannelMaxMinPower()
722 *minPow = ar5413GetMinPower(ah, &data[numChannels - 1]); in ar5413GetChannelMaxMinPower()
728 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue); in ar5413GetChannelMaxMinPower()
Dar5111.c418 eepromPcdacs.numChannels = ee->ee_numChannels11a; in ar5111SetPowerTable()
423 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5111SetPowerTable()
429 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5111SetPowerTable()
557 pSrcStruct->pChannelList, pSrcStruct->numChannels, in ar5212GetScaledPower()
586 for (i = 0; i < pSrcStruct->numChannels; i++ ) { in ar5212FindValueInList()
617 for (i = 0; i < pSrcStruct->numChannels; i++) { in ar5212GetLowerUpperPcdacs()
Dar5212_reset.c57 const TRGT_POWER_INFO *pPowerInfo, uint16_t numChannels,
2570 uint16_t numChannels, TRGT_POWER_INFO *pNewPower) in ar5212GetTargetPowers() argument
2579 for (i = 0; i < numChannels; i++) in ar5212GetTargetPowers()
2583 numChannels, &clo, &chi); in ar5212GetTargetPowers()
2587 for (i = 0; i < numChannels; i++) { in ar5212GetTargetPowers()
/freebsd-12-stable/sys/dev/ath/ath_hal/
Dah_eeprom_v3.c143 uint16_t numChannels = pCalDataset->numChannels; in eepromAllocExpnPower5112() local
150 roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)) + in eepromAllocExpnPower5112()
151 sizeof(EXPN_DATA_PER_CHANNEL_5112) * numChannels); in eepromAllocExpnPower5112()
159 roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t))); in eepromAllocExpnPower5112()
161 pPowerExpn->numChannels = numChannels; in eepromAllocExpnPower5112()
162 for (i = 0; i < numChannels; i++) { in eepromAllocExpnPower5112()
211 pPowerExpn->numChannels = pCalDataset->numChannels; in eepromExpandPower5112()
212 if (pPowerExpn->numChannels == 0) { in eepromExpandPower5112()
217 for (ii = 0; ii < pPowerExpn->numChannels; ii++) { in eepromExpandPower5112()
336 eePower.numChannels = numPiers; in readEepromRawPowerCalInfo5112()
[all …]
Dah_eeprom_v3.h190 uint16_t numChannels; member
249 uint16_t numChannels; member
273 uint16_t numChannels; member
312 uint16_t numChannels; member
331 uint16_t numChannels; member
/freebsd-12-stable/tools/tools/ath/athprom/
Dathprom.c219 int numChannels; variable
331 sizeof(u_int16_t) * exp->numChannels, sizeof(u_int32_t)) in setmode()
332 + sizeof(EXPN_DATA_PER_CHANNEL_5112) * exp->numChannels; in setmode()
338 roundup(sizeof(u_int16_t) * exp->numChannels, sizeof(u_int32_t))); in setmode()
340 numChannels = pExpnPower->numChannels; in setmode()
349 numChannels = pRaw->numChannels; in setmode()
725 fprintf(fd, "%2d", pExpnPower->numChannels); in eevar()
727 fprintf(fd, "%2d", pRaw->numChannels); in eevar()
905 if (++curchan < numChannels) in parseTemplate()
Deeprom-436 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels |
108 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels |
173 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels |
Deeprom-540 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels | |
125 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels | |
203 | XPD_Gain_mask $xpd_mask | Number of channels $numChannels | |
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5211/
Dar5211_reset.c126 uint16_t numChannels, const struct ieee80211_channel *chan);
1328 eepromPcdacs.numChannels = ee->ee_numChannels11a; in ar5211SetTransmitPower()
1335 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5211SetTransmitPower()
1342 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5211SetTransmitPower()
1496 TRGT_POWER_INFO *pPowerInfo, uint16_t numChannels, in ar5211SetRateTable() argument
1556 for (i = 0; i < numChannels; i++) in ar5211SetRateTable()
1560 numChannels, &lowerChannel, &upperChannel); in ar5211SetRateTable()
1563 for (i = 0; i < numChannels; i++) { in ar5211SetRateTable()
1710 pSrcStruct->numChannels, &lFreq, &rFreq); in ar5211GetScaledPower()
1743 for (i = 0; i < pSrcStruct->numChannels; i++ ) { in ar5211FindValueInList()
[all …]
/freebsd-12-stable/tools/tools/ath/athrd/
Dathrd.c1404 u_int16_t numChannels, TRGT_POWER_INFO *pNewPower) in ar5212GetTargetPowers() argument
1412 for (i = 0; i < numChannels; i++) in ar5212GetTargetPowers()
1416 numChannels, &clo, &chi); in ar5212GetTargetPowers()
1420 for (i = 0; i < numChannels; i++) { in ar5212GetTargetPowers()