/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
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_v1.h | 73 uint8_t pcdac[AR_TP_SCALING_ENTRIES]; member
|
H A D | ah_eeprom_v3.c | 229 pExpnXPD->pcdac[0] = pCalCh->pcd1_xg0; in eepromExpandPower5112() 230 pExpnXPD->pcdac[1] = (uint16_t) in eepromExpandPower5112() 231 (pExpnXPD->pcdac[0] + pCalCh->pcd2_delta_xg0); in eepromExpandPower5112() 232 pExpnXPD->pcdac[2] = (uint16_t) in eepromExpandPower5112() 233 (pExpnXPD->pcdac[1] + pCalCh->pcd3_delta_xg0); in eepromExpandPower5112() 234 pExpnXPD->pcdac[3] = (uint16_t) in eepromExpandPower5112() 235 (pExpnXPD->pcdac[2] + pCalCh->pcd4_delta_xg0); in eepromExpandPower5112() 243 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[0]].pcdac[0] = pCalCh->pcd1_xg0; in eepromExpandPower5112() 244 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[0] = 20; in eepromExpandPower5112() 245 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[1] = 35; in eepromExpandPower5112() [all …]
|
H A D | ah_eeprom_9287.h | 117 uint8_t pcdac[2][5]; member
|
H A D | ah_eeprom_v14.h | 251 uint8_t pcdac[2][5]; /* pcdac used for power measurement */ member
|
H A D | ah_eeprom_v3.h | 235 uint16_t pcdac[NUM_POINTS_XPD0]; member
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 625 if (pRD->pcdac[i] != 63) in getPcdac() 626 return pRD->pcdac[i]; in getPcdac() 630 if (pRD->pcdac[i] != 63 && pRD->pcdac[i-1] != 63) { in getPcdac() 631 interp = (350 * (pRD->pcdac[i] - pRD->pcdac[i-1])) + 999; in getPcdac() 632 interp = (interp / 1000) + pRD->pcdac[i-1]; in getPcdac() 638 if (pRD->pcdac[i] != 63) in getPcdac() 639 return pRD->pcdac[i]; in getPcdac() 645 if (pRD->pcdac[i] != 63) in getPcdac() 646 return pRD->pcdac[i]; in getPcdac() 660 uint8_t pcdac, uint8_t *dBm) in getGainF() argument [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9280_olc.c | 65 uint8_t pcdac, i = 0; in ar9280olcGetTxGainIndex() local 80 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; in ar9280olcGetTxGainIndex() 83 pcdac = rawDatasetOpLoop[idxR].pcdac[0][0]; in ar9280olcGetTxGainIndex() 87 while (pcdac > AH9280(ah)->originalGain[i] && in ar9280olcGetTxGainIndex()
|
H A D | ar9287.c | 209 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 213 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
H A D | ar9280.c | 267 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 271 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5112.c | 434 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 447 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 461 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], in ar5112SetPowerTable() 754 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; in ar5112GetMinPower() 758 minPcdac = data->pDataPerXPD[minIndex].pcdac[i]; in ar5112GetMinPower()
|
H A D | ar5111.c | 52 static void ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, 607 ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, in ar5212GetLowerUpperPcdacs() argument 620 ar5212GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5212GetLowerUpperPcdacs()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 350 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 354 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 4739 int i, u_int8_t *pcdac) in ar9300_eeprom_get_pcdac_tx_gain_table_i() argument 4745 *pcdac = 0; in ar9300_eeprom_get_pcdac_tx_gain_table_i() 4750 *pcdac = ((tx_gain >> 24) & 0xff); in ar9300_eeprom_get_pcdac_tx_gain_table_i() 4767 u_int8_t pcdac = 0; in ar9300_eeprom_set_tx_gain_cap() local 4790 ar9300_eeprom_get_pcdac_tx_gain_table_i(ah, ig, &pcdac); in ar9300_eeprom_set_tx_gain_cap() 4791 if (pcdac >= tx_gain_max[i]) in ar9300_eeprom_set_tx_gain_cap() 4796 if (pcdac == tx_gain_max[i]) in ar9300_eeprom_set_tx_gain_cap()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_reset.c | 135 static void ar5211GetLowerUpperPcdacs(uint16_t pcdac, 1869 ar5211GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, in ar5211GetLowerUpperPcdacs() argument 1883 ar5211GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5211GetLowerUpperPcdacs()
|