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()
963 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_update_bssid_mask()
1011 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_assoc_state()
1019 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_assoc_state()
1023 sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER; in ath9k_set_assoc_state()
1030 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_set_assoc_state()
1041 struct ath_hw *ah = sc->sc_ah; in ath9k_set_offchannel_state()
1066 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_offchannel_state()
1079 struct ath_hw *ah = sc->sc_ah; in ath9k_calculate_summary_state()
1146 ath9k_hw_write_associd(sc->sc_ah); in ath9k_calculate_summary_state()
1147 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_calculate_summary_state()
1189 struct ath_hw *ah = sc->sc_ah; in ath9k_set_txpower()
1231 struct ath_hw *ah = sc->sc_ah; in ath9k_add_interface()
1280 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_interface()
1314 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_interface()
1342 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_ps()
1361 struct ath_hw *ah = sc->sc_ah; in ath9k_disable_ps()
1386 struct ath_hw *ah = sc->sc_ah; in ath9k_config()
1428 sc->sc_ah->is_monitoring = true; in ath9k_config()
1431 sc->sc_ah->is_monitoring = false; in ath9k_config()
1474 ath9k_hw_setrxfilter(sc->sc_ah, rfilt); in ath9k_configure_filter()
1477 ath_dbg(ath9k_hw_common(sc->sc_ah), CONFIG, "Set HW RX filter: 0x%x\n", in ath9k_configure_filter()
1486 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_add()
1510 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_del_ps_key()
1541 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_state()
1593 ath9k_sta_set_tx_filter(sc->sc_ah, an, true); in ath9k_sta_notify()
1596 ath9k_sta_set_tx_filter(sc->sc_ah, an, false); in ath9k_sta_notify()
1608 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_conf_tx()
1651 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_key()
1692 if (sc->sc_ah->sw_mgmt_crypto_tx && in ath9k_set_key()
1740 struct ath_hw *ah = sc->sc_ah; in ath9k_bss_info_changed()
1762 ath9k_hw_write_associd(sc->sc_ah); in ath9k_bss_info_changed()
1818 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_get_tsf()
1833 ath9k_hw_settsf64(sc->sc_ah, tsf); in ath9k_set_tsf()
1845 ath9k_hw_reset_tsf(sc->sc_ah); in ath9k_reset_tsf()
1858 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ampdu_action()
1898 ath_err(ath9k_hw_common(sc->sc_ah), "Unknown AMPDU action\n"); in ath9k_ampdu_action()
1910 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_get_survey()
1949 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_dynack()
1963 struct ath_hw *ah = sc->sc_ah; in ath9k_set_coverage_class()
2011 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_flush()
2040 struct ath_hw *ah = sc->sc_ah; in __ath9k_flush()
2096 struct ath_hw *ah = sc->sc_ah; in ath9k_tx_last_beacon()
2138 struct ath_hw *ah = sc->sc_ah; in ath9k_get_stats()
2186 struct ath_hw *ah = sc->sc_ah; in ath9k_set_antenna()
2226 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_start()
2234 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_complete()
2242 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_pending_offchannel()
2267 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_hw_scan()
2301 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_hw_scan()
2317 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remain_on_channel()
2350 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_remain_on_channel()
2371 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_add_chanctx()
2406 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_chanctx()
2427 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_chanctx()
2443 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_assign_vif_chanctx()
2474 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_unassign_vif_chanctx()
2502 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_mgd_prepare_tx()