Lines Matching refs:common
44 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in ath_cmn_process_fft() local
71 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
238 void ath9k_cmn_spectral_scan_trigger(struct ath_common *common, in ath9k_cmn_spectral_scan_trigger() argument
248 ath_err(common, "spectrum analyzer not implemented on this hardware\n"); in ath9k_cmn_spectral_scan_trigger()
252 ath_ps_ops(common)->wakeup(common); in ath9k_cmn_spectral_scan_trigger()
263 ath9k_cmn_spectral_scan_config(common, spec_priv, spec_priv->spectral_mode); in ath9k_cmn_spectral_scan_trigger()
265 ath_ps_ops(common)->restore(common); in ath9k_cmn_spectral_scan_trigger()
269 int ath9k_cmn_spectral_scan_config(struct ath_common *common, in ath9k_cmn_spectral_scan_config() argument
276 ath_err(common, "spectrum analyzer not implemented on this hardware\n"); in ath9k_cmn_spectral_scan_config()
300 ath_ps_ops(common)->wakeup(common); in ath9k_cmn_spectral_scan_config()
302 ath_ps_ops(common)->restore(common); in ath9k_cmn_spectral_scan_config()
315 struct ath_common *common = ath9k_hw_common(spec_priv->ah); in write_file_spec_scan_ctl() local
329 ath9k_cmn_spectral_scan_trigger(common, spec_priv); in write_file_spec_scan_ctl()
331 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_BACKGROUND); in write_file_spec_scan_ctl()
332 ath_dbg(common, CONFIG, "spectral scan: background mode enabled\n"); in write_file_spec_scan_ctl()
334 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_CHANSCAN); in write_file_spec_scan_ctl()
335 ath_dbg(common, CONFIG, "spectral scan: channel scan mode enabled\n"); in write_file_spec_scan_ctl()
337 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_MANUAL); in write_file_spec_scan_ctl()
338 ath_dbg(common, CONFIG, "spectral scan: manual mode enabled\n"); in write_file_spec_scan_ctl()
340 ath9k_cmn_spectral_scan_config(common, spec_priv, SPECTRAL_DISABLED); in write_file_spec_scan_ctl()
341 ath_dbg(common, CONFIG, "spectral scan: disabled\n"); in write_file_spec_scan_ctl()