Lines Matching refs:pModal
236 struct modal_eep_ar9287_header *pModal = &eep->modalHeader; in ath9k_hw_ar9287_get_eeprom() local
242 return pModal->noiseFloorThreshCh[0]; in ath9k_hw_ar9287_get_eeprom()
276 return max_t(u8, pModal->antennaGainCh[0], in ath9k_hw_ar9287_get_eeprom()
277 pModal->antennaGainCh[1]); in ath9k_hw_ar9287_get_eeprom()
713 struct modal_eep_ar9287_header *pModal = &pEepData->modalHeader; in ath9k_hw_ar9287_set_txpower() local
721 ht40PowerIncForPdadc = pModal->ht40PowerIncForPdadc; in ath9k_hw_ar9287_set_txpower()
854 struct modal_eep_ar9287_header *pModal = &eep->modalHeader; in ath9k_hw_ar9287_set_board_values() local
859 pModal = &eep->modalHeader; in ath9k_hw_ar9287_set_board_values()
861 REG_WRITE(ah, AR_PHY_SWITCH_COM, le32_to_cpu(pModal->antCtrlCommon)); in ath9k_hw_ar9287_set_board_values()
867 le32_to_cpu(pModal->antCtrlChain[i])); in ath9k_hw_ar9287_set_board_values()
873 SM(pModal->iqCalICh[i], in ath9k_hw_ar9287_set_board_values()
875 SM(pModal->iqCalQCh[i], in ath9k_hw_ar9287_set_board_values()
878 txRxAttenLocal = pModal->txRxAttenCh[i]; in ath9k_hw_ar9287_set_board_values()
882 pModal->bswMargin[i]); in ath9k_hw_ar9287_set_board_values()
885 pModal->bswAtten[i]); in ath9k_hw_ar9287_set_board_values()
891 pModal->rxTxMarginCh[i]); in ath9k_hw_ar9287_set_board_values()
897 AR_PHY_SETTLING_SWITCH, pModal->swSettleHt40); in ath9k_hw_ar9287_set_board_values()
900 AR_PHY_SETTLING_SWITCH, pModal->switchSettling); in ath9k_hw_ar9287_set_board_values()
903 AR_PHY_DESIRED_SZ_ADC, pModal->adcDesiredSize); in ath9k_hw_ar9287_set_board_values()
906 SM(pModal->txEndToXpaOff, AR_PHY_RF_CTL4_TX_END_XPAA_OFF) in ath9k_hw_ar9287_set_board_values()
907 | SM(pModal->txEndToXpaOff, AR_PHY_RF_CTL4_TX_END_XPAB_OFF) in ath9k_hw_ar9287_set_board_values()
908 | SM(pModal->txFrameToXpaOn, AR_PHY_RF_CTL4_FRAME_XPAA_ON) in ath9k_hw_ar9287_set_board_values()
909 | SM(pModal->txFrameToXpaOn, AR_PHY_RF_CTL4_FRAME_XPAB_ON)); in ath9k_hw_ar9287_set_board_values()
912 AR_PHY_TX_END_TO_A2_RX_ON, pModal->txEndToRxOn); in ath9k_hw_ar9287_set_board_values()
915 AR9280_PHY_CCA_THRESH62, pModal->thresh62); in ath9k_hw_ar9287_set_board_values()
917 AR_PHY_EXT_CCA0_THRESH62, pModal->thresh62); in ath9k_hw_ar9287_set_board_values()
926 regval |= (SM(pModal->db1, AR9287_AN_RF2G3_DB1) | in ath9k_hw_ar9287_set_board_values()
927 SM(pModal->db2, AR9287_AN_RF2G3_DB2) | in ath9k_hw_ar9287_set_board_values()
928 SM(pModal->ob_cck, AR9287_AN_RF2G3_OB_CCK) | in ath9k_hw_ar9287_set_board_values()
929 SM(pModal->ob_psk, AR9287_AN_RF2G3_OB_PSK) | in ath9k_hw_ar9287_set_board_values()
930 SM(pModal->ob_qam, AR9287_AN_RF2G3_OB_QAM) | in ath9k_hw_ar9287_set_board_values()
931 SM(pModal->ob_pal_off, AR9287_AN_RF2G3_OB_PAL_OFF)); in ath9k_hw_ar9287_set_board_values()
942 regval |= (SM(pModal->db1, AR9287_AN_RF2G3_DB1) | in ath9k_hw_ar9287_set_board_values()
943 SM(pModal->db2, AR9287_AN_RF2G3_DB2) | in ath9k_hw_ar9287_set_board_values()
944 SM(pModal->ob_cck, AR9287_AN_RF2G3_OB_CCK) | in ath9k_hw_ar9287_set_board_values()
945 SM(pModal->ob_psk, AR9287_AN_RF2G3_OB_PSK) | in ath9k_hw_ar9287_set_board_values()
946 SM(pModal->ob_qam, AR9287_AN_RF2G3_OB_QAM) | in ath9k_hw_ar9287_set_board_values()
947 SM(pModal->ob_pal_off, AR9287_AN_RF2G3_OB_PAL_OFF)); in ath9k_hw_ar9287_set_board_values()
952 AR_PHY_TX_END_DATA_START, pModal->txFrameToDataStart); in ath9k_hw_ar9287_set_board_values()
954 AR_PHY_TX_END_PA_ON, pModal->txFrameToPaOn); in ath9k_hw_ar9287_set_board_values()
959 pModal->xpaBiasLvl); in ath9k_hw_ar9287_set_board_values()