Searched refs:pcdac (Results 1 – 13 of 13) sorted by relevance
| /netbsd-src/sys/external/isc/atheros_hal/dist/ |
| H A D | ah_eeprom_v1.c | 205 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F; in ath_hal_v1EepromAttach() 207 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C) in ath_hal_v1EepromAttach() 210 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F; in ath_hal_v1EepromAttach() 213 chan->pcdac[3] = (athvals[loc+2] >> 6) & 0x3F; in ath_hal_v1EepromAttach() 215 chan->pcdac[4] = (athvals[loc+3] >> 10) & 0x3F; in ath_hal_v1EepromAttach() 217 chan->pcdac[5] = ((athvals[loc+3] << 2) & 0x3C) in ath_hal_v1EepromAttach() 220 chan->pcdac[6] = (athvals[loc+4] >> 2) & 0x3F; in ath_hal_v1EepromAttach() 223 chan->pcdac[7] = (athvals[loc+5] >> 6) & 0x3F; in ath_hal_v1EepromAttach() 225 chan->pcdac[8] = (athvals[loc+6] >> 10) & 0x3F; in ath_hal_v1EepromAttach() 227 chan->pcdac[9] = ((athvals[loc+6] << 2) & 0x3C) in ath_hal_v1EepromAttach() [all …]
|
| H A D | ah_eeprom_v3.c | 227 pExpnXPD->pcdac[0] = pCalCh->pcd1_xg0; in eepromExpandPower5112() 228 pExpnXPD->pcdac[1] = (uint16_t) in eepromExpandPower5112() 229 (pExpnXPD->pcdac[0] + pCalCh->pcd2_delta_xg0); in eepromExpandPower5112() 230 pExpnXPD->pcdac[2] = (uint16_t) in eepromExpandPower5112() 231 (pExpnXPD->pcdac[1] + pCalCh->pcd3_delta_xg0); in eepromExpandPower5112() 232 pExpnXPD->pcdac[3] = (uint16_t) in eepromExpandPower5112() 233 (pExpnXPD->pcdac[2] + pCalCh->pcd4_delta_xg0); in eepromExpandPower5112() 241 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[0]].pcdac[0] = pCalCh->pcd1_xg0; in eepromExpandPower5112() 242 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[0] = 20; in eepromExpandPower5112() 243 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[1] = 35; in eepromExpandPower5112() [all …]
|
| H A D | ah_eeprom_v1.h | 73 uint8_t pcdac[AR_TP_SCALING_ENTRIES]; member
|
| H A D | ah_eeprom_v14.h | 231 uint8_t pcdac[2][5]; /* pcdac used for power measurement */ member
|
| H A D | ah_eeprom_v3.h | 236 uint16_t pcdac[NUM_POINTS_XPD0]; member
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5210/ |
| H A D | ar5210_reset.c | 627 if (pRD->pcdac[i] != 63) in getPcdac() 628 return pRD->pcdac[i]; in getPcdac() 632 if (pRD->pcdac[i] != 63 && pRD->pcdac[i-1] != 63) { in getPcdac() 633 interp = (350 * (pRD->pcdac[i] - pRD->pcdac[i-1])) + 999; in getPcdac() 634 interp = (interp / 1000) + pRD->pcdac[i-1]; in getPcdac() 640 if (pRD->pcdac[i] != 63) in getPcdac() 641 return pRD->pcdac[i]; in getPcdac() 647 if (pRD->pcdac[i] != 63) in getPcdac() 648 return pRD->pcdac[i]; in getPcdac() 662 uint8_t pcdac, uint8_t *dBm) in getGainF() argument [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | arn9280.c | 422 uint8_t fbin, pcdac, pwr, idx; in ar9280_olpc_get_pdadcs() local 446 pcdac = pierdata[hi].pcdac[0][0]; in ar9280_olpc_get_pdadcs() 448 if (pcdac <= sc->sc_tx_gain_tbl[idx]) in ar9280_olpc_get_pdadcs() 454 fbin, lo, hi, pwr, pcdac, idx); in ar9280_olpc_get_pdadcs()
|
| H A D | arn5008reg.h | 1005 uint8_t pcdac[2][5]; member
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/ |
| H A D | ar5112.c | 428 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 441 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 455 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 748 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; in ar5112GetMinPower() 752 minPcdac = data->pDataPerXPD[minIndex].pcdac[i]; in ar5112GetMinPower()
|
| H A D | ar5111.c | 52 static void ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, 601 ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, in ar5212GetLowerUpperPcdacs() argument 614 ar5212GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5212GetLowerUpperPcdacs()
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/ |
| H A D | ar9280.c | 193 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 197 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
| H A D | ar2133.c | 257 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 261 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5211/ |
| H A D | ar5211_reset.c | 129 static void ar5211GetLowerUpperPcdacs(uint16_t pcdac, 1889 ar5211GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, in ar5211GetLowerUpperPcdacs() argument 1903 ar5211GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5211GetLowerUpperPcdacs()
|