Home
last modified time | relevance | path

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

/netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar9280.c212 int numChannels=0,i,last; in ar9280GetChannelMaxMinPower()
221 numChannels = powerArray[headerInfo11A].numChannels; in ar9280GetChannelMaxMinPower()
226 numChannels = powerArray[headerInfo11G].numChannels; in ar9280GetChannelMaxMinPower()
230 numChannels = powerArray[headerInfo11B].numChannels; in ar9280GetChannelMaxMinPower()
237 if ((numChannels < 1) || in ar9280GetChannelMaxMinPower()
239 (chan->channel > data[numChannels-1].channelValue)) in ar9280GetChannelMaxMinPower()
244 (i<numChannels) && (chan->channel > data[i].channelValue); in ar9280GetChannelMaxMinPower()
H A Dar2133.c275 int numChannels=0,i,last; in ar2133GetChannelMaxMinPower()
284 numChannels = powerArray[headerInfo11A].numChannels; in ar2133GetChannelMaxMinPower()
289 numChannels = powerArray[headerInfo11G].numChannels; in ar2133GetChannelMaxMinPower()
293 numChannels = powerArray[headerInfo11B].numChannels; in ar2133GetChannelMaxMinPower()
300 if ((numChannels < 1) || in ar2133GetChannelMaxMinPower()
302 (chan->channel > data[numChannels-1].channelValue)) in ar2133GetChannelMaxMinPower()
307 (i<numChannels) && (chan->channel > data[i].channelValue); in ar2133GetChannelMaxMinPower()
H A Dar5416.h194 uint16_t numChannels, CAL_TARGET_POWER_HT *pNewPower,
199 uint16_t numChannels, CAL_TARGET_POWER_LEG *pNewPower,
H A Dar5416_reset.c1697 CAL_TARGET_POWER_HT *powInfo, uint16_t numChannels, in ar5416GetTargetPowers() argument
1714 for (i = 0; (i < numChannels) && (powInfo[i].bChannel != AR5416_BCHAN_UNUSED); i++) { in ar5416GetTargetPowers()
1757 CAL_TARGET_POWER_LEG *powInfo, uint16_t numChannels, in ar5416GetTargetPowersLeg() argument
1774 for (i = 0; (i < numChannels) && (powInfo[i].bChannel != AR5416_BCHAN_UNUSED); i++) { in ar5416GetTargetPowersLeg()
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5112.c420 pPowerExpn->numChannels, &chan_idx_L, &chan_idx_R); in ar5112SetPowerTable()
764 int numChannels=0,i,last; in ar5112GetChannelMaxMinPower() local
773 numChannels = powerArray[headerInfo11A].numChannels; in ar5112GetChannelMaxMinPower()
778 numChannels = powerArray[headerInfo11G].numChannels; in ar5112GetChannelMaxMinPower()
782 numChannels = powerArray[headerInfo11B].numChannels; in ar5112GetChannelMaxMinPower()
789 if (numChannels < 1) in ar5112GetChannelMaxMinPower()
793 (chan->channel > data[numChannels-1].channelValue)) { in ar5112GetChannelMaxMinPower()
799 *maxPow = data[numChannels - 1].maxPower_t4; in ar5112GetChannelMaxMinPower()
800 *minPow = ar5112GetMinPower(ah, &data[numChannels - 1]); in ar5112GetChannelMaxMinPower()
807 (i<numChannels) && (chan->channel > data[i].channelValue); in ar5112GetChannelMaxMinPower()
H A Dar2317.c370 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2317getGainBoundariesAndPdadcsForPowers()
632 uint16_t numChannels; in ar2317GetChannelMaxMinPower() local
644 numChannels = pRawDataset->numChannels; in ar2317GetChannelMaxMinPower()
650 if (numChannels < 1) in ar2317GetChannelMaxMinPower()
654 (chan->channel > data[numChannels-1].channelValue)) { in ar2317GetChannelMaxMinPower()
660 *maxPow = ar2317GetMaxPower(ah, &data[numChannels - 1]); in ar2317GetChannelMaxMinPower()
661 *minPow = ar2317GetMinPower(ah, &data[numChannels - 1]); in ar2317GetChannelMaxMinPower()
667 for (last=0,i=0; (i<numChannels) && (chan->channel > data[i].channelValue); in ar2317GetChannelMaxMinPower()
H A Dar2316.c392 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2316getGainBoundariesAndPdadcsForPowers()
654 uint16_t numChannels; in ar2316GetChannelMaxMinPower() local
666 numChannels = pRawDataset->numChannels; in ar2316GetChannelMaxMinPower()
672 if (numChannels < 1) in ar2316GetChannelMaxMinPower()
676 (chan->channel > data[numChannels-1].channelValue)) { in ar2316GetChannelMaxMinPower()
682 *maxPow = ar2316GetMaxPower(ah, &data[numChannels - 1]); in ar2316GetChannelMaxMinPower()
683 *minPow = ar2316GetMinPower(ah, &data[numChannels - 1]); in ar2316GetChannelMaxMinPower()
689 for (last=0,i=0; (i<numChannels) && (chan->channel > data[i].channelValue); in ar2316GetChannelMaxMinPower()
H A Dar2413.c386 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 (chan->channel > 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) && (chan->channel > data[i].channelValue); in ar2413GetChannelMaxMinPower()
H A Dar2425.c393 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2425getGainBoundariesAndPdadcsForPowers()
611 uint16_t numChannels; in ar2425GetChannelMaxMinPower() local
623 numChannels = pRawDataset->numChannels; in ar2425GetChannelMaxMinPower()
629 if (numChannels < 1) in ar2425GetChannelMaxMinPower()
633 (chan->channel > data[numChannels-1].channelValue)) { in ar2425GetChannelMaxMinPower()
639 *maxPow = ar2425GetMaxPower(ah, &data[numChannels - 1]); in ar2425GetChannelMaxMinPower()
640 *minPow = ar2425GetMinPower(ah, &data[numChannels - 1]); in ar2425GetChannelMaxMinPower()
646 for (last=0,i=0; (i<numChannels) && (chan->channel > data[i].channelValue); in ar2425GetChannelMaxMinPower()
H A Dar5413.c422 pRawDataset->numChannels, &(idxL), &(idxR)); in ar5413getGainBoundariesAndPdadcsForPowers()
684 uint16_t numChannels; in ar5413GetChannelMaxMinPower() local
698 numChannels = pRawDataset->numChannels; in ar5413GetChannelMaxMinPower()
704 if (numChannels < 1) in ar5413GetChannelMaxMinPower()
708 (chan->channel > data[numChannels-1].channelValue)) { in ar5413GetChannelMaxMinPower()
714 *maxPow = ar5413GetMaxPower(ah, &data[numChannels - 1]); in ar5413GetChannelMaxMinPower()
715 *minPow = ar5413GetMinPower(ah, &data[numChannels - 1]); in ar5413GetChannelMaxMinPower()
721 for (last=0,i=0; (i<numChannels) && (chan->channel > data[i].channelValue); in ar5413GetChannelMaxMinPower()
H A Dar5111.c410 eepromPcdacs.numChannels = ee->ee_numChannels11a; in ar5111SetPowerTable()
415 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5111SetPowerTable()
421 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5111SetPowerTable()
549 pSrcStruct->pChannelList, pSrcStruct->numChannels, in ar5212GetScaledPower()
578 for (i = 0; i < pSrcStruct->numChannels; i++ ) { in ar5212FindValueInList()
609 for (i = 0; i < pSrcStruct->numChannels; i++) { in ar5212GetLowerUpperPcdacs()
H A Dar5212_reset.c49 const TRGT_POWER_INFO *pPowerInfo, uint16_t numChannels,
2439 uint16_t numChannels, TRGT_POWER_INFO *pNewPower) in ar5212GetTargetPowers() argument
2447 for (i = 0; i < numChannels; i++) in ar5212GetTargetPowers()
2451 numChannels, &clo, &chi); in ar5212GetTargetPowers()
2455 for (i = 0; i < numChannels; i++) { in ar5212GetTargetPowers()
/netbsd-src/sys/external/isc/atheros_hal/dist/
H A Dah_eeprom_v3.c141 uint16_t numChannels = pCalDataset->numChannels; in eepromAllocExpnPower5112() local
148 roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)) + in eepromAllocExpnPower5112()
149 sizeof(EXPN_DATA_PER_CHANNEL_5112) * numChannels); in eepromAllocExpnPower5112()
157 roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t))); in eepromAllocExpnPower5112()
159 pPowerExpn->numChannels = numChannels; in eepromAllocExpnPower5112()
160 for (i = 0; i < numChannels; i++) { in eepromAllocExpnPower5112()
208 pPowerExpn->numChannels = pCalDataset->numChannels; in eepromExpandPower5112()
209 if (pPowerExpn->numChannels == 0) { in eepromExpandPower5112()
214 for (ii = 0; ii < pPowerExpn->numChannels; ii++) { in eepromExpandPower5112()
332 eePower.numChannels = numPiers; in readEepromRawPowerCalInfo5112()
[all …]
H A Dah_eeprom_v3.h188 uint16_t numChannels; member
248 uint16_t numChannels; member
272 uint16_t numChannels; member
311 uint16_t numChannels; member
330 uint16_t numChannels; member
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5211/
H A Dar5211_reset.c118 uint16_t numChannels, HAL_CHANNEL *chan);
1349 eepromPcdacs.numChannels = ee->ee_numChannels11a; in ar5211SetTransmitPower()
1356 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5211SetTransmitPower()
1363 eepromPcdacs.numChannels = ee->ee_numChannels2_4; in ar5211SetTransmitPower()
1516 TRGT_POWER_INFO *pPowerInfo, uint16_t numChannels, in ar5211SetRateTable() argument
1575 for (i = 0; i < numChannels; i++) in ar5211SetRateTable()
1579 numChannels, &lowerChannel, &upperChannel); in ar5211SetRateTable()
1582 for (i = 0; i < numChannels; i++) { in ar5211SetRateTable()
1728 pSrcStruct->numChannels, &lFreq, &rFreq); in ar5211GetScaledPower()
1761 for (i = 0; i < pSrcStruct->numChannels; i++ ) { in ar5211FindValueInList()
[all …]