Lines Matching refs:sc_ah

90 	ret = ath9k_hw_setpower(sc->sc_ah, mode);  in ath9k_setpower()
99 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep()
106 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep()
107 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep()
109 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_ps_full_sleep()
114 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_wakeup()
123 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup()
124 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); in ath9k_ps_wakeup()
145 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore()
165 if (ath9k_hw_btcoex_is_enabled(sc->sc_ah)) in ath9k_ps_restore()
175 ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_ps_restore()
188 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in __ath_cancel_work()
203 if (AR_SREV_9340(sc->sc_ah) || AR_SREV_9330(sc->sc_ah)) in ath_restart_work()
212 struct ath_hw *ah = sc->sc_ah; in ath_prepare_reset()
232 struct ath_hw *ah = sc->sc_ah; in ath_complete_reset()
282 struct ath_hw *ah = sc->sc_ah; in ath_reset_internal()
329 if (ath9k_hw_mci_is_enabled(sc->sc_ah) && in ath_reset_internal()
358 ath_dynack_node_init(sc->sc_ah, an); in ath_node_attach()
366 ath_dynack_node_deinit(sc->sc_ah, an); in ath_node_detach()
372 struct ath_hw *ah = sc->sc_ah; in ath9k_tasklet()
475 ath_gen_timer_isr(sc->sc_ah); in ath9k_tasklet()
505 struct ath_hw *ah = sc->sc_ah; in ath_isr()
579 ath9k_hw_setrxabort(sc->sc_ah, 0); in ath_isr()
605 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_reset()
608 ath9k_hw_kill_interrupts(sc->sc_ah); in ath_reset()
625 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_queue_reset()
629 ath9k_hw_kill_interrupts(sc->sc_ah); in ath9k_queue_reset()
650 struct ath_hw *ah = sc->sc_ah; in ath9k_start()
716 sc->sc_ah->is_monitoring = false; in ath9k_start()
732 ath9k_cmn_init_crypto(sc->sc_ah); in ath9k_start()
750 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_tx()
769 if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_NETWORK_SLEEP)) { in ath9k_tx()
777 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ath9k_tx()
778 ath9k_hw_setrxabort(sc->sc_ah, 0); in ath9k_tx()
800 if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_FULL_SLEEP)) { in ath9k_tx()
825 struct ath_hw *ah = sc->sc_ah; in ath9k_stop()
966 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_update_bssid_mask()
1014 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_assoc_state()
1022 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_assoc_state()
1026 sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER; in ath9k_set_assoc_state()
1033 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_set_assoc_state()
1044 struct ath_hw *ah = sc->sc_ah; in ath9k_set_offchannel_state()
1069 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_offchannel_state()
1082 struct ath_hw *ah = sc->sc_ah; in ath9k_calculate_summary_state()
1151 ath9k_hw_write_associd(sc->sc_ah); in ath9k_calculate_summary_state()
1152 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_calculate_summary_state()
1194 struct ath_hw *ah = sc->sc_ah; in ath9k_set_txpower()
1236 struct ath_hw *ah = sc->sc_ah; in ath9k_add_interface()
1285 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_interface()
1319 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_interface()
1347 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_ps()
1366 struct ath_hw *ah = sc->sc_ah; in ath9k_disable_ps()
1391 struct ath_hw *ah = sc->sc_ah; in ath9k_config()
1433 sc->sc_ah->is_monitoring = true; in ath9k_config()
1436 sc->sc_ah->is_monitoring = false; in ath9k_config()
1483 ath9k_hw_setrxfilter(sc->sc_ah, rfilt); in ath9k_configure_filter()
1486 ath_dbg(ath9k_hw_common(sc->sc_ah), CONFIG, "Set HW RX filter: 0x%x\n", in ath9k_configure_filter()
1495 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_add()
1519 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_del_ps_key()
1550 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_state()
1602 ath9k_sta_set_tx_filter(sc->sc_ah, an, true); in ath9k_sta_notify()
1605 ath9k_sta_set_tx_filter(sc->sc_ah, an, false); in ath9k_sta_notify()
1617 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_conf_tx()
1660 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_key()
1701 if (sc->sc_ah->sw_mgmt_crypto_tx && in ath9k_set_key()
1749 struct ath_hw *ah = sc->sc_ah; in ath9k_bss_info_changed()
1772 ath9k_hw_write_associd(sc->sc_ah); in ath9k_bss_info_changed()
1828 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_get_tsf()
1843 ath9k_hw_settsf64(sc->sc_ah, tsf); in ath9k_set_tsf()
1855 ath9k_hw_reset_tsf(sc->sc_ah); in ath9k_reset_tsf()
1868 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ampdu_action()
1908 ath_err(ath9k_hw_common(sc->sc_ah), "Unknown AMPDU action\n"); in ath9k_ampdu_action()
1920 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_get_survey()
1959 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_dynack()
1973 struct ath_hw *ah = sc->sc_ah; in ath9k_set_coverage_class()
2021 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_flush()
2050 struct ath_hw *ah = sc->sc_ah; in __ath9k_flush()
2106 struct ath_hw *ah = sc->sc_ah; in ath9k_tx_last_beacon()
2148 struct ath_hw *ah = sc->sc_ah; in ath9k_get_stats()
2196 struct ath_hw *ah = sc->sc_ah; in ath9k_set_antenna()
2236 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_start()
2244 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_complete()
2252 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_pending_offchannel()
2277 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_hw_scan()
2311 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_hw_scan()
2327 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remain_on_channel()
2360 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_remain_on_channel()
2381 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_add_chanctx()
2416 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_chanctx()
2437 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_chanctx()
2453 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_assign_vif_chanctx()
2484 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_unassign_vif_chanctx()
2512 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_mgd_prepare_tx()