Lines Matching refs:is2ghz
3524 bool is2ghz) in ar9003_modal_header() argument
3528 if (is2ghz) in ar9003_modal_header()
3534 static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz) in ar9003_hw_xpa_bias_level_apply() argument
3536 int bias = ar9003_modal_header(ah, is2ghz)->xpaBiasLvl; in ar9003_hw_xpa_bias_level_apply()
3553 static u16 ar9003_switch_com_spdt_get(struct ath_hw *ah, bool is2ghz) in ar9003_switch_com_spdt_get() argument
3555 return le16_to_cpu(ar9003_modal_header(ah, is2ghz)->switchcomspdt); in ar9003_switch_com_spdt_get()
3558 u32 ar9003_hw_ant_ctrl_common_get(struct ath_hw *ah, bool is2ghz) in ar9003_hw_ant_ctrl_common_get() argument
3560 return le32_to_cpu(ar9003_modal_header(ah, is2ghz)->antCtrlCommon); in ar9003_hw_ant_ctrl_common_get()
3563 u32 ar9003_hw_ant_ctrl_common_2_get(struct ath_hw *ah, bool is2ghz) in ar9003_hw_ant_ctrl_common_2_get() argument
3565 return le32_to_cpu(ar9003_modal_header(ah, is2ghz)->antCtrlCommon2); in ar9003_hw_ant_ctrl_common_2_get()
3569 bool is2ghz) in ar9003_hw_ant_ctrl_chain_get() argument
3571 __le16 val = ar9003_modal_header(ah, is2ghz)->antCtrlChain[chain]; in ar9003_hw_ant_ctrl_chain_get()
3575 static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz) in ar9003_hw_ant_ctrl_apply() argument
3597 value = ar9003_hw_ant_ctrl_common_get(ah, is2ghz); in ar9003_hw_ant_ctrl_apply()
3624 value = ar9003_switch_com_spdt_get(ah, is2ghz); in ar9003_hw_ant_ctrl_apply()
3630 value = ar9003_hw_ant_ctrl_common_2_get(ah, is2ghz); in ar9003_hw_ant_ctrl_apply()
3639 value = ar9003_hw_ant_ctrl_chain_get(ah, 1, is2ghz); in ar9003_hw_ant_ctrl_apply()
3648 is2ghz); in ar9003_hw_ant_ctrl_apply()
4018 static void ar9003_hw_txend_to_xpa_off_apply(struct ath_hw *ah, bool is2ghz) in ar9003_hw_txend_to_xpa_off_apply() argument
4022 value = ar9003_modal_header(ah, is2ghz)->txEndToXpaOff; in ar9003_hw_txend_to_xpa_off_apply()
4030 static void ar9003_hw_xpa_timing_control_apply(struct ath_hw *ah, bool is2ghz) in ar9003_hw_xpa_timing_control_apply() argument
4045 xpa_ctl = ar9003_modal_header(ah, is2ghz)->txFrameToXpaOn; in ar9003_hw_xpa_timing_control_apply()
4046 if (is2ghz) in ar9003_hw_xpa_timing_control_apply()
4054 static void ar9003_hw_xlna_bias_strength_apply(struct ath_hw *ah, bool is2ghz) in ar9003_hw_xlna_bias_strength_apply() argument
4065 bias = ar9003_modal_header(ah, is2ghz)->xlna_bias_strength; in ar9003_hw_xlna_bias_strength_apply()
4135 bool is2ghz) in ar9003_hw_apply_minccapwr_thresh() argument
4146 if (is2ghz) { in ar9003_hw_apply_minccapwr_thresh()
4158 val = ar9003_modal_header(ah, is2ghz)->noiseFloorThreshCh[chain]; in ar9003_hw_apply_minccapwr_thresh()
4168 bool is2ghz = IS_CHAN_2GHZ(chan); in ath9k_hw_ar9300_set_board_values() local
4169 ar9003_hw_xpa_timing_control_apply(ah, is2ghz); in ath9k_hw_ar9300_set_board_values()
4170 ar9003_hw_xpa_bias_level_apply(ah, is2ghz); in ath9k_hw_ar9300_set_board_values()
4171 ar9003_hw_ant_ctrl_apply(ah, is2ghz); in ath9k_hw_ar9300_set_board_values()
4173 ar9003_hw_xlna_bias_strength_apply(ah, is2ghz); in ath9k_hw_ar9300_set_board_values()
4180 ar9003_hw_txend_to_xpa_off_apply(ah, is2ghz); in ath9k_hw_ar9300_set_board_values()
5137 bool is2ghz = IS_CHAN_2GHZ(chan); in ar9003_hw_set_power_per_rate_table() local
5143 if (is2ghz) { in ar9003_hw_set_power_per_rate_table()
5188 if (is2ghz) { in ar9003_hw_set_power_per_rate_table()
5218 is2ghz); in ar9003_hw_set_power_per_rate_table()
5473 u8 *ar9003_get_spur_chan_ptr(struct ath_hw *ah, bool is2ghz) in ar9003_get_spur_chan_ptr() argument
5475 return ar9003_modal_header(ah, is2ghz)->spurChans; in ar9003_get_spur_chan_ptr()