Lines Matching refs:ah
43 struct ath_hw *ah = spec_priv->ah; in ath_cmn_process_fft() local
44 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in ath_cmn_process_fft()
52 u16 fft_len, length, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft()
127 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_cmn_process_fft()
131 ext_nf = ath9k_hw_getchan_noise(ah, ah->curchan, in ath_cmn_process_fft()
146 fft_sample_40.lower_noise = ah->noise; in ath_cmn_process_fft()
153 fft_sample_40.upper_noise = ah->noise; in ath_cmn_process_fft()
187 fft_sample_20.noise = ah->noise; in ath_cmn_process_fft()
241 struct ath_hw *ah = spec_priv->ah; in ath9k_cmn_spectral_scan_trigger() local
247 if (!ath9k_hw_ops(ah)->spectral_scan_trigger) { in ath9k_cmn_spectral_scan_trigger()
253 rxfilter = ath9k_hw_getrxfilter(ah); in ath9k_cmn_spectral_scan_trigger()
254 ath9k_hw_setrxfilter(ah, rxfilter | in ath9k_cmn_spectral_scan_trigger()
264 ath9k_hw_ops(ah)->spectral_scan_trigger(ah); in ath9k_cmn_spectral_scan_trigger()
273 struct ath_hw *ah = spec_priv->ah; in ath9k_cmn_spectral_scan_config() local
275 if (!ath9k_hw_ops(ah)->spectral_scan_trigger) { in ath9k_cmn_spectral_scan_config()
301 ath9k_hw_ops(ah)->spectral_scan_config(ah, &spec_priv->spec_config); in ath9k_cmn_spectral_scan_config()
315 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in write_file_spec_scan_ctl()