H A D | phy.c | 824 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
|