Lines Matching refs:g_current
589 return (ah->ah_gain.g_current >= level[0] && in ath5k_hw_rf_check_gainf_readback()
590 ah->ah_gain.g_current <= level[1]) || in ath5k_hw_rf_check_gainf_readback()
591 (ah->ah_gain.g_current >= level[2] && in ath5k_hw_rf_check_gainf_readback()
592 ah->ah_gain.g_current <= level[3]); in ath5k_hw_rf_check_gainf_readback()
622 if (ah->ah_gain.g_current >= ah->ah_gain.g_high) { in ath5k_hw_rf_gainf_adjust()
628 for (ah->ah_gain.g_target = ah->ah_gain.g_current; in ath5k_hw_rf_gainf_adjust()
640 if (ah->ah_gain.g_current <= ah->ah_gain.g_low) { in ath5k_hw_rf_gainf_adjust()
646 for (ah->ah_gain.g_target = ah->ah_gain.g_current; in ath5k_hw_rf_gainf_adjust()
661 ret, ah->ah_gain.g_step_idx, ah->ah_gain.g_current, in ath5k_hw_rf_gainf_adjust()
698 ah->ah_gain.g_current = data >> AR5K_PHY_PAPD_PROBE_GAINF_S; in ath5k_hw_gainf_calibrate()
705 ah->ah_gain.g_current += in ath5k_hw_gainf_calibrate()
708 ah->ah_gain.g_current += in ath5k_hw_gainf_calibrate()
716 ah->ah_gain.g_current = in ath5k_hw_gainf_calibrate()
717 ah->ah_gain.g_current >= ah->ah_gain.g_f_corr ? in ath5k_hw_gainf_calibrate()
718 (ah->ah_gain.g_current - ah->ah_gain.g_f_corr) : in ath5k_hw_gainf_calibrate()