Lines Matching refs:pModal

298 			struct modal_eep_header *pModal =  in ath9k_hw_def_check_eeprom()  local
300 EEPROM_FIELD_SWAB32(pModal->antCtrlCommon); in ath9k_hw_def_check_eeprom()
303 EEPROM_FIELD_SWAB32(pModal->antCtrlChain[i]); in ath9k_hw_def_check_eeprom()
306 EEPROM_FIELD_SWAB16(pModal->xpaBiasLvlFreq[i]); in ath9k_hw_def_check_eeprom()
310 pModal->spurChans[i].spurChan); in ath9k_hw_def_check_eeprom()
337 struct modal_eep_header *pModal = eep->modalHeader; in ath9k_hw_def_get_eeprom() local
343 return pModal[0].noiseFloorThreshCh[0]; in ath9k_hw_def_get_eeprom()
345 return pModal[1].noiseFloorThreshCh[0]; in ath9k_hw_def_get_eeprom()
361 return pModal[0].ob; in ath9k_hw_def_get_eeprom()
363 return pModal[0].db; in ath9k_hw_def_get_eeprom()
365 return pModal[1].ob; in ath9k_hw_def_get_eeprom()
367 return pModal[1].db; in ath9k_hw_def_get_eeprom()
408 pModal[band].antennaGainCh[0], in ath9k_hw_def_get_eeprom()
409 pModal[band].antennaGainCh[1]), in ath9k_hw_def_get_eeprom()
410 pModal[band].antennaGainCh[2]); in ath9k_hw_def_get_eeprom()
417 struct modal_eep_header *pModal, in ath9k_hw_def_set_gain() argument
423 txRxAttenLocal = pModal->txRxAttenCh[i]; in ath9k_hw_def_set_gain()
428 pModal->bswMargin[i]); in ath9k_hw_def_set_gain()
431 pModal->bswAtten[i]); in ath9k_hw_def_set_gain()
434 pModal->xatten2Margin[i]); in ath9k_hw_def_set_gain()
437 pModal->xatten2Db[i]); in ath9k_hw_def_set_gain()
440 SM(pModal-> bswMargin[i], AR_PHY_GAIN_2GHZ_BSW_MARGIN), in ath9k_hw_def_set_gain()
443 SM(pModal->bswAtten[i], AR_PHY_GAIN_2GHZ_BSW_ATTEN), in ath9k_hw_def_set_gain()
454 AR9280_PHY_RXGAIN_TXRX_MARGIN, pModal->rxTxMarginCh[i]); in ath9k_hw_def_set_gain()
460 SM(pModal->rxTxMarginCh[i], AR_PHY_GAIN_2GHZ_RXTX_MARGIN), in ath9k_hw_def_set_gain()
469 struct modal_eep_header *pModal; in ath9k_hw_def_set_board_values() local
475 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_board_values()
477 antCtrlCommon = le32_to_cpu(pModal->antCtrlCommon); in ath9k_hw_def_set_board_values()
493 le32_to_cpu(pModal->antCtrlChain[i])); in ath9k_hw_def_set_board_values()
499 SM(pModal->iqCalICh[i], in ath9k_hw_def_set_board_values()
501 SM(pModal->iqCalQCh[i], in ath9k_hw_def_set_board_values()
504 ath9k_hw_def_set_gain(ah, pModal, eep, txRxAttenLocal, in ath9k_hw_def_set_board_values()
513 pModal->ob); in ath9k_hw_def_set_board_values()
517 pModal->db); in ath9k_hw_def_set_board_values()
521 pModal->ob_ch1); in ath9k_hw_def_set_board_values()
525 pModal->db_ch1); in ath9k_hw_def_set_board_values()
530 pModal->ob); in ath9k_hw_def_set_board_values()
534 pModal->db); in ath9k_hw_def_set_board_values()
538 pModal->ob_ch1); in ath9k_hw_def_set_board_values()
542 pModal->db_ch1); in ath9k_hw_def_set_board_values()
547 pModal->xpaBiasLvl); in ath9k_hw_def_set_board_values()
551 !!(pModal->lna_ctl & in ath9k_hw_def_set_board_values()
554 !!(pModal->lna_ctl & LNA_CTL_FORCE_XPA)); in ath9k_hw_def_set_board_values()
558 pModal->switchSettling); in ath9k_hw_def_set_board_values()
560 pModal->adcDesiredSize); in ath9k_hw_def_set_board_values()
565 pModal->pgaDesiredSize); in ath9k_hw_def_set_board_values()
568 SM(pModal->txEndToXpaOff, AR_PHY_RF_CTL4_TX_END_XPAA_OFF) in ath9k_hw_def_set_board_values()
569 | SM(pModal->txEndToXpaOff, in ath9k_hw_def_set_board_values()
571 | SM(pModal->txFrameToXpaOn, in ath9k_hw_def_set_board_values()
573 | SM(pModal->txFrameToXpaOn, in ath9k_hw_def_set_board_values()
577 pModal->txEndToRxOn); in ath9k_hw_def_set_board_values()
581 pModal->thresh62); in ath9k_hw_def_set_board_values()
584 pModal->thresh62); in ath9k_hw_def_set_board_values()
587 pModal->thresh62); in ath9k_hw_def_set_board_values()
590 pModal->thresh62); in ath9k_hw_def_set_board_values()
596 pModal->txFrameToDataStart); in ath9k_hw_def_set_board_values()
598 pModal->txFrameToPaOn); in ath9k_hw_def_set_board_values()
605 pModal->swSettleHt40); in ath9k_hw_def_set_board_values()
612 pModal->miscBits); in ath9k_hw_def_set_board_values()
629 pModal->miscBits >> 2); in ath9k_hw_def_set_board_values()
640 #define XPA_LVL_FREQ(cnt) (le16_to_cpu(pModal->xpaBiasLvlFreq[cnt])) in ath9k_hw_def_set_addac()
641 struct modal_eep_header *pModal; in ath9k_hw_def_set_addac() local
651 pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]); in ath9k_hw_def_set_addac()
653 if (pModal->xpaBiasLvl != 0xff) { in ath9k_hw_def_set_addac()
654 biaslevel = pModal->xpaBiasLvl; in ath9k_hw_def_set_addac()
1151 struct modal_eep_header *pModal = in ath9k_hw_def_set_txpower() local
1160 ht40PowerIncForPdadc = pModal->ht40PowerIncForPdadc; in ath9k_hw_def_set_txpower()
1278 ATH9K_POW_SM(pModal->pwrDecreaseFor3Chain, 6) in ath9k_hw_def_set_txpower()
1279 | ATH9K_POW_SM(pModal->pwrDecreaseFor2Chain, 0)); in ath9k_hw_def_set_txpower()