Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v1.c205 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 Dah_eeprom_v1.h73 uint8_t pcdac[AR_TP_SCALING_ENTRIES]; member
H A Dah_eeprom_v3.c229 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 Dah_eeprom_9287.h117 uint8_t pcdac[2][5]; member
H A Dah_eeprom_v14.h251 uint8_t pcdac[2][5]; /* pcdac used for power measurement */ member
H A Dah_eeprom_v3.h235 uint16_t pcdac[NUM_POINTS_XPD0]; member
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c625 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 Dar9280_olc.c65 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 Dar9287.c209 minPcdac = data->pDataPerXPD[minIndex].pcdac[0];
213 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
H A Dar9280.c267 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 Dar5112.c434 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 Dar5111.c52 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 Dar2133.c350 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 Dar9300_eeprom.c4739 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 Dar5211_reset.c135 static void ar5211GetLowerUpperPcdacs(uint16_t pcdac,
1869 ar5211GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, in ar5211GetLowerUpperPcdacs() argument
1883 ar5211GetLowerUpperValues(pcdac, pChannelData->PcdacValues, in ar5211GetLowerUpperPcdacs()