Home
last modified time | relevance | path

Searched refs:pModal (Results 1 – 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9287_reset.c333 const struct modal_eep_ar9287_header *pModal; in ar9287SetTransmitPower() local
356 pModal = &pEepData->modalHeader; in ar9287SetTransmitPower()
361 AH5416(ah)->ah_ht40PowerIncForPdadc = pModal->ht40PowerIncForPdadc; in ar9287SetTransmitPower()
455 const struct modal_eep_ar9287_header *pModal = &eep->modalHeader; in ar9287SetBoardValues() local
461 pModal = &eep->modalHeader; in ar9287SetBoardValues()
463 antWrites[0] = (uint16_t)((pModal->antCtrlCommon >> 28) & 0xF); in ar9287SetBoardValues()
464 antWrites[1] = (uint16_t)((pModal->antCtrlCommon >> 24) & 0xF); in ar9287SetBoardValues()
465 antWrites[2] = (uint16_t)((pModal->antCtrlCommon >> 20) & 0xF); in ar9287SetBoardValues()
466 antWrites[3] = (uint16_t)((pModal->antCtrlCommon >> 16) & 0xF); in ar9287SetBoardValues()
467 antWrites[4] = (uint16_t)((pModal->antCtrlCommon >> 12) & 0xF); in ar9287SetBoardValues()
[all …]
H A Dar9285_reset.c78 MODAL_EEP4K_HEADER *pModal; in ar9285SetTransmitPower() local
101 pModal = &pEepData->modalHeader; in ar9285SetTransmitPower()
106 AH5416(ah)->ah_ht40PowerIncForPdadc = pModal->ht40PowerIncForPdadc; in ar9285SetTransmitPower()
189 ar9285SetBoardGain(struct ath_hal *ah, const MODAL_EEP4K_HEADER *pModal, in ar9285SetBoardGain() argument
193 pModal->antCtrlChain[0]); in ar9285SetBoardGain()
199 SM(pModal->iqCalICh[0], AR_PHY_TIMING_CTRL4_IQCORR_Q_I_COFF) | in ar9285SetBoardGain()
200 SM(pModal->iqCalQCh[0], AR_PHY_TIMING_CTRL4_IQCORR_Q_Q_COFF)); in ar9285SetBoardGain()
204 txRxAttenLocal = pModal->txRxAttenCh[0]; in ar9285SetBoardGain()
207 AR_PHY_GAIN_2GHZ_XATTEN1_MARGIN, pModal->bswMargin[0]); in ar9285SetBoardGain()
209 AR_PHY_GAIN_2GHZ_XATTEN1_DB, pModal->bswAtten[0]); in ar9285SetBoardGain()
[all …]
H A Dar9285_phy.c87 const MODAL_EEP4K_HEADER *pModal = &ee->ee_base.modalHeader; in ar9285_check_div_comb() local
97 if (pModal->version < 3) in ar9285_check_div_comb()
100 ant_div_ctl1 = pModal->antdiv_ctl1; in ar9285_check_div_comb()
H A Dar9285_diversity.c66 const MODAL_EEP4K_HEADER *pModal = &ee->ee_base.modalHeader; in ar9285SetAntennaSwitch() local
69 if (pModal->version < 3) { in ar9285SetAntennaSwitch()
83 ant_div_control1 = pModal->antdiv_ctl1; in ar9285SetAntennaSwitch()
84 ant_div_control2 = pModal->antdiv_ctl2; in ar9285SetAntennaSwitch()
H A Dar9285_attach.c119 const MODAL_EEP4K_HEADER *pModal = &ee->ee_base.modalHeader; in ar9285_eeprom_print_diversity_settings() local
122 ar9285_lna_conf[(pModal->antdiv_ctl2 >> 2) & 0x3]); in ar9285_eeprom_print_diversity_settings()
124 ar9285_lna_conf[pModal->antdiv_ctl2 & 0x3]); in ar9285_eeprom_print_diversity_settings()
126 ((pModal->antdiv_ctl1 & 0x1) ? "enabled" : "disabled"), in ar9285_eeprom_print_diversity_settings()
127 ((pModal->antdiv_ctl1 & 0x8) ? "enabled" : "disabled")); in ar9285_eeprom_print_diversity_settings()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v14.c32 const MODAL_EEP_HEADER *pModal = ee->ee_base.modalHeader; in v14EepromGet() local
40 *(int16_t *)val = pModal[0].noiseFloorThreshCh[0]; in v14EepromGet()
43 *(int16_t *)val = pModal[1].noiseFloorThreshCh[0]; in v14EepromGet()
69 return pModal[CHAN_A_IDX].ob; in v14EepromGet()
71 return pModal[CHAN_A_IDX].db; in v14EepromGet()
73 return pModal[CHAN_B_IDX].ob; in v14EepromGet()
75 return pModal[CHAN_B_IDX].db; in v14EepromGet()
196 MODAL_EEP_HEADER *pModal; in eepromSwap() local
225 pModal = &ee->modalHeader[j]; in eepromSwap()
228 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
[all …]
H A Dah_eeprom_v4k.c34 const MODAL_EEP4K_HEADER *pModal = &ee->ee_base.modalHeader; in v4kEepromGet() local
42 *(int16_t *)val = pModal->noiseFloorThreshCh[0]; in v4kEepromGet()
68 return pModal->ob_0; in v4kEepromGet()
70 return pModal->db1_1; in v4kEepromGet()
152 MODAL_EEP4K_HEADER *pModal; in eepromSwap() local
180 pModal = &ee->modalHeader; in eepromSwap()
183 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
184 pModal->antCtrlCommon = integer; in eepromSwap()
187 integer = __bswap32(pModal->antCtrlChain[i]); in eepromSwap()
188 pModal->antCtrlChain[i] = integer; in eepromSwap()
[all …]
H A Dah_eeprom_9287.c33 const MODAL_EEP_9287_HEADER *pModal = &ee->ee_base.modalHeader; in v9287EepromGet() local
41 *(int16_t *)val = pModal->noiseFloorThreshCh[0]; in v9287EepromGet()
158 MODAL_EEP_9287_HEADER *pModal; in eepromSwap() local
188 pModal = &ee->ee_base.modalHeader; in eepromSwap()
191 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
192 pModal->antCtrlCommon = integer; in eepromSwap()
195 integer = __bswap32(pModal->antCtrlChain[i]); in eepromSwap()
196 pModal->antCtrlChain[i] = integer; in eepromSwap()
199 word = __bswap16(pModal->spurChans[i].spurChan); in eepromSwap()
200 pModal->spurChans[i].spurChan = word; in eepromSwap()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c1062 MODAL_EEP_HEADER *pModal; in ar5416SetTransmitPower() local
1088 pModal = &pEepData->modalHeader[IEEE80211_IS_CHAN_2GHZ(chan)]; in ar5416SetTransmitPower()
1093 AH5416(ah)->ah_ht40PowerIncForPdadc = pModal->ht40PowerIncForPdadc; in ar5416SetTransmitPower()
1229 POW_SM(pModal->pwrDecreaseFor3Chain, 6) in ar5416SetTransmitPower()
1230 | POW_SM(pModal->pwrDecreaseFor2Chain, 0) in ar5416SetTransmitPower()
1538 const MODAL_EEP_HEADER *pModal, in ar5416SetDefGainValues() argument
1544 txRxAttenLocal = pModal->txRxAttenCh[i]; in ar5416SetDefGainValues()
1549 pModal->bswMargin[i]); in ar5416SetDefGainValues()
1552 pModal->bswAtten[i]); in ar5416SetDefGainValues()
1555 pModal->xatten2Margin[i]); in ar5416SetDefGainValues()
[all …]