Home
last modified time | relevance | path

Searched refs:pChannelData (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/sys/external/isc/atheros_hal/dist/ar5212/
Dar5111.c575 const DATA_PER_CHANNEL *pChannelData = pSrcStruct->pDataPerChannel; in ar5212FindValueInList() local
579 if (pChannelData->channelValue == channel) { in ar5212FindValueInList()
580 const uint16_t* pPcdac = pChannelData->PcdacValues; in ar5212FindValueInList()
583 for (j = 0; j < pChannelData->numPcdacValues; j++ ) { in ar5212FindValueInList()
585 *powerValue = pChannelData->PwrValues[j]; in ar5212FindValueInList()
591 pChannelData++; in ar5212FindValueInList()
605 const DATA_PER_CHANNEL *pChannelData = pSrcStruct->pDataPerChannel; in ar5212GetLowerUpperPcdacs() local
610 if (pChannelData->channelValue == channel) in ar5212GetLowerUpperPcdacs()
612 pChannelData++; in ar5212GetLowerUpperPcdacs()
614 ar5212GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5212GetLowerUpperPcdacs()
[all …]
/netbsd/src/sys/external/isc/atheros_hal/dist/
Dah_eeprom_v3.c833 DATA_PER_CHANNEL *pChannelData = AH_NULL; in readEepromRawPowerCalInfo() local
841 pChannelData = ee->ee_dataPerChannel11a; in readEepromRawPowerCalInfo()
849 pChannelData = ee->ee_dataPerChannel11b; in readEepromRawPowerCalInfo()
857 pChannelData = ee->ee_dataPerChannel11g; in readEepromRawPowerCalInfo()
866 pChannelData->channelValue = pChannels[i]; in readEepromRawPowerCalInfo()
869 pChannelData->pcdacMax = (uint16_t)((eeval >> 10) & PCDAC_MASK); in readEepromRawPowerCalInfo()
870 pChannelData->pcdacMin = (uint16_t)((eeval >> 4) & PCDAC_MASK); in readEepromRawPowerCalInfo()
871 pChannelData->PwrValues[0] = (uint16_t)((eeval << 2) & POWER_MASK); in readEepromRawPowerCalInfo()
874 pChannelData->PwrValues[0] |= (uint16_t)((eeval >> 14) & 0x3); in readEepromRawPowerCalInfo()
875 pChannelData->PwrValues[1] = (uint16_t)((eeval >> 8) & POWER_MASK); in readEepromRawPowerCalInfo()
[all …]
/netbsd/src/sys/external/isc/atheros_hal/dist/ar5211/
Dar5211_reset.c1756 const DATA_PER_CHANNEL *pChannelData; in ar5211FindValueInList() local
1760 pChannelData = pSrcStruct->pDataPerChannel; in ar5211FindValueInList()
1762 if (pChannelData->channelValue == channel) { in ar5211FindValueInList()
1763 pPcdac = pChannelData->PcdacValues; in ar5211FindValueInList()
1764 for (j = 0; j < pChannelData->numPcdacValues; j++ ) { in ar5211FindValueInList()
1766 *powerValue = pChannelData->PwrValues[j]; in ar5211FindValueInList()
1772 pChannelData++; in ar5211FindValueInList()
1893 const DATA_PER_CHANNEL *pChannelData; in ar5211GetLowerUpperPcdacs() local
1897 pChannelData = pSrcStruct->pDataPerChannel; in ar5211GetLowerUpperPcdacs()
1899 if (pChannelData->channelValue == channel) in ar5211GetLowerUpperPcdacs()
[all …]