Lines Matching refs:g_current
592 return (ah->ah_gain.g_current >= level[0] && in ath5k_hw_rf_check_gainf_readback()
593 ah->ah_gain.g_current <= level[1]) || in ath5k_hw_rf_check_gainf_readback()
594 (ah->ah_gain.g_current >= level[2] && in ath5k_hw_rf_check_gainf_readback()
595 ah->ah_gain.g_current <= level[3]); in ath5k_hw_rf_check_gainf_readback()
625 if (ah->ah_gain.g_current >= ah->ah_gain.g_high) { in ath5k_hw_rf_gainf_adjust()
631 for (ah->ah_gain.g_target = ah->ah_gain.g_current; in ath5k_hw_rf_gainf_adjust()
643 if (ah->ah_gain.g_current <= ah->ah_gain.g_low) { in ath5k_hw_rf_gainf_adjust()
649 for (ah->ah_gain.g_target = ah->ah_gain.g_current; in ath5k_hw_rf_gainf_adjust()
664 ret, ah->ah_gain.g_step_idx, ah->ah_gain.g_current, in ath5k_hw_rf_gainf_adjust()
701 ah->ah_gain.g_current = data >> AR5K_PHY_PAPD_PROBE_GAINF_S; in ath5k_hw_gainf_calibrate()
708 ah->ah_gain.g_current += in ath5k_hw_gainf_calibrate()
711 ah->ah_gain.g_current += in ath5k_hw_gainf_calibrate()
719 ah->ah_gain.g_current = in ath5k_hw_gainf_calibrate()
720 ah->ah_gain.g_current >= ah->ah_gain.g_f_corr ? in ath5k_hw_gainf_calibrate()
721 (ah->ah_gain.g_current - ah->ah_gain.g_f_corr) : in ath5k_hw_gainf_calibrate()