Searched refs:ee_mode (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath5k/
H A Dreset.c981 u8 ee_mode; ath5k_hw_commit_eeprom_settings() local
987 ee_mode = ath5k_eeprom_mode_from_channel(ah, channel); ath5k_hw_commit_eeprom_settings()
1020 ath5k_hw_set_antenna_switch(ah, ee_mode); ath5k_hw_commit_eeprom_settings()
1024 AR5K_PHY_NF_SVAL(ee->ee_noise_floor_thr[ee_mode]), ath5k_hw_commit_eeprom_settings()
1032 ee->ee_switch_settling_turbo[ee_mode]); ath5k_hw_commit_eeprom_settings()
1037 ee->ee_atn_tx_rx_turbo[ee_mode]); ath5k_hw_commit_eeprom_settings()
1042 ee->ee_adc_desired_size_turbo[ee_mode]); ath5k_hw_commit_eeprom_settings()
1046 ee->ee_pga_desired_size_turbo[ee_mode]); ath5k_hw_commit_eeprom_settings()
1051 ee->ee_margin_tx_rx_turbo[ee_mode]); ath5k_hw_commit_eeprom_settings()
1057 ee->ee_switch_settling[ee_mode]); ath5k_hw_commit_eeprom_settings()
1062 ee->ee_atn_tx_rx[ee_mode]); ath5k_hw_commit_eeprom_settings()
1067 ee->ee_adc_desired_size[ee_mode]); ath5k_hw_commit_eeprom_settings()
1071 ee->ee_pga_desired_size[ee_mode]); ath5k_hw_commit_eeprom_settings()
1077 ee->ee_margin_tx_rx[ee_mode]); ath5k_hw_commit_eeprom_settings()
1082 (ee->ee_tx_end2xpa_disable[ee_mode] << 24) | ath5k_hw_commit_eeprom_settings()
1083 (ee->ee_tx_end2xpa_disable[ee_mode] << 16) | ath5k_hw_commit_eeprom_settings()
1084 (ee->ee_tx_frm2xpa_enable[ee_mode] << 8) | ath5k_hw_commit_eeprom_settings()
1085 (ee->ee_tx_frm2xpa_enable[ee_mode]), AR5K_PHY_RF_CTL4); ath5k_hw_commit_eeprom_settings()
1090 ee->ee_tx_end2xlna_enable[ee_mode]); ath5k_hw_commit_eeprom_settings()
1095 ee->ee_thr_62[ee_mode]); ath5k_hw_commit_eeprom_settings()
1104 ee->ee_false_detect[ee_mode]); ath5k_hw_commit_eeprom_settings()
1114 ee->ee_i_cal[ee_mode]); ath5k_hw_commit_eeprom_settings()
1116 ee->ee_q_cal[ee_mode]); ath5k_hw_commit_eeprom_settings()
H A Dphy.c824 u8 ee_mode = 0; ath5k_hw_rfregs_init() local
923 ee_mode = AR5K_EEPROM_MODE_11B; ath5k_hw_rfregs_init()
925 ee_mode = AR5K_EEPROM_MODE_11G; ath5k_hw_rfregs_init()
929 * in eeprom on ee->ee_ob[ee_mode][0] ath5k_hw_rfregs_init()
933 * 802.11a on ee->ee_ob[ee_mode][1] */ ath5k_hw_rfregs_init()
940 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_ob[ee_mode][obdb], ath5k_hw_rfregs_init()
943 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_db[ee_mode][obdb], ath5k_hw_rfregs_init()
952 ee_mode = AR5K_EEPROM_MODE_11A; ath5k_hw_rfregs_init()
961 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_ob[ee_mode][obdb], ath5k_hw_rfregs_init()
964 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_db[ee_mode][obdb], ath5k_hw_rfregs_init()
1002 ath5k_hw_rfb_op(ah, rf_regs, !ee->ee_xpd[ee_mode], ath5k_hw_rfregs_init()
1005 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_x_gain[ee_mode], ath5k_hw_rfregs_init()
1008 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_i_gain[ee_mode], ath5k_hw_rfregs_init()
1011 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_xpd[ee_mode], ath5k_hw_rfregs_init()
1066 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_xpd[ee_mode], ath5k_hw_rfregs_init()
1072 ee->ee_x_gain[ee_mode], ath5k_hw_rfregs_init()
1076 u8 *pdg_curve_to_idx = ee->ee_pdc_to_idx[ee_mode]; ath5k_hw_rfregs_init()
1077 if (ee->ee_pd_gains[ee_mode] > 1) { ath5k_hw_rfregs_init()
1128 ath5k_hw_rfb_op(ah, rf_regs, ee->ee_i_gain[ee_mode], ath5k_hw_rfregs_init()
1603 u8 ee_mode; ath5k_hw_update_noise_floor() local
1615 ee_mode = ath5k_eeprom_mode_from_channel(ah, ah->ah_current_channel); ath5k_hw_update_noise_floor()
1619 threshold = ee->ee_noise_floor_thr[ee_mode]; ath5k_hw_update_noise_floor()
2212 * @ee_mode: One of enum ath5k_driver_mode
2216 ath5k_hw_set_fast_div(struct ath5k_hw *ah, u8 ee_mode, bool enable) ath5k_hw_set_fast_div() argument
2218 switch (ee_mode) { ath5k_hw_set_fast_div()
2256 * @ee_mode: One of enum ath5k_driver_mode
2262 ath5k_hw_set_antenna_switch(struct ath5k_hw *ah, u8 ee_mode) ath5k_hw_set_antenna_switch() argument
2282 (ah->ah_ant_ctl[ee_mode][AR5K_ANT_CTL] | ath5k_hw_set_antenna_switch()
2286 ath5k_hw_reg_write(ah, ah->ah_ant_ctl[ee_mode][ant0], ath5k_hw_set_antenna_switch()
2288 ath5k_hw_reg_write(ah, ah->ah_ant_ctl[ee_mode][ant1], ath5k_hw_set_antenna_switch()
2303 int ee_mode; ath5k_hw_set_antenna_mode() local
2316 ee_mode = ath5k_eeprom_mode_from_channel(ah, channel); ath5k_hw_set_antenna_mode()
2397 ath5k_hw_set_antenna_switch(ah, ee_mode); ath5k_hw_set_antenna_mode()
2400 ath5k_hw_set_fast_div(ah, ee_mode, fast_div); ath5k_hw_set_antenna_mode()
3202 * @ee_mode: One of enum ath5k_driver_mode
3205 ath5k_write_pwr_to_pdadc_table(struct ath5k_hw *ah, u8 ee_mode) ath5k_write_pwr_to_pdadc_table() argument
3209 u8 *pdg_to_idx = ee->ee_pdc_to_idx[ee_mode]; ath5k_write_pwr_to_pdadc_table()
3210 u8 pdcurves = ee->ee_pd_gains[ee_mode]; ath5k_write_pwr_to_pdadc_table()
3264 * @ee_mode: One of enum ath5k_driver_mode
3276 u8 ee_mode, u8 type) ath5k_setup_channel_powertable()
3282 u8 *pdg_curve_to_idx = ee->ee_pdc_to_idx[ee_mode]; ath5k_setup_channel_powertable()
3297 for (pdg = 0; pdg < ee->ee_pd_gains[ee_mode]; pdg++) { ath5k_setup_channel_powertable()
3344 if (!(ee->ee_pd_gains[ee_mode] > 1 && pdg == 0)) { ath5k_setup_channel_powertable()
3429 ee->ee_pd_gains[ee_mode]); ath5k_setup_channel_powertable()
3449 ee->ee_pd_gains[ee_mode]); ath5k_setup_channel_powertable()
3467 * @ee_mode: One of enum ath5k_driver_mode
3471 ath5k_write_channel_powertable(struct ath5k_hw *ah, u8 ee_mode, u8 type) ath5k_write_channel_powertable() argument
3474 ath5k_write_pwr_to_pdadc_table(ah, ee_mode); ath5k_write_channel_powertable()
3507 * @ee_mode: One of enum ath5k_driver_mode
3512 u8 ee_mode) ath5k_setup_rate_powertable()
3558 if ((ee_mode == AR5K_EEPROM_MODE_11G) && ath5k_setup_rate_powertable()
3607 int ee_mode; ath5k_hw_txpower() local
3616 ee_mode = ath5k_eeprom_mode_from_channel(ah, channel); ath5k_hw_txpower()
3660 ee_mode, type); ath5k_hw_txpower()
3666 ath5k_write_channel_powertable(ah, ee_mode, type); ath5k_hw_txpower()
3682 ath5k_setup_rate_powertable(ah, txpower, &rate_info, ee_mode); ath5k_hw_txpower()
3274 ath5k_setup_channel_powertable(struct ath5k_hw *ah, struct ieee80211_channel *channel, u8 ee_mode, u8 type) ath5k_setup_channel_powertable() argument
3510 ath5k_setup_rate_powertable(struct ath5k_hw *ah, u16 max_pwr, struct ath5k_rate_pcal_info *rate_info, u8 ee_mode) ath5k_setup_rate_powertable() argument
H A Dath5k.h1631 void ath5k_hw_set_antenna_switch(struct ath5k_hw *ah, u8 ee_mode);

Completed in 120 milliseconds