Lines Matching refs:sc_ah

93 	ret = ath9k_hw_setpower(sc->sc_ah, mode);  in ath9k_setpower()
102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep()
110 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep()
111 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep()
113 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_ps_full_sleep()
118 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_wakeup()
127 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup()
128 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); in ath9k_ps_wakeup()
148 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore()
168 if (ath9k_hw_btcoex_is_enabled(sc->sc_ah)) in ath9k_ps_restore()
178 ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_ps_restore()
191 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in __ath_cancel_work()
207 if (AR_SREV_9340(sc->sc_ah) || AR_SREV_9330(sc->sc_ah)) in ath_restart_work()
216 struct ath_hw *ah = sc->sc_ah; in ath_prepare_reset()
236 struct ath_hw *ah = sc->sc_ah; in ath_complete_reset()
286 struct ath_hw *ah = sc->sc_ah; in ath_reset_internal()
338 if (ath9k_hw_mci_is_enabled(sc->sc_ah) && in ath_reset_internal()
367 ath_dynack_node_init(sc->sc_ah, an); in ath_node_attach()
375 ath_dynack_node_deinit(sc->sc_ah, an); in ath_node_detach()
381 struct ath_hw *ah = sc->sc_ah; in ath9k_tasklet()
477 ath_gen_timer_isr(sc->sc_ah); in ath9k_tasklet()
507 struct ath_hw *ah = sc->sc_ah; in ath_isr()
536 ath9k_hw_kill_interrupts(sc->sc_ah); in ath_isr()
585 ath9k_hw_setrxabort(sc->sc_ah, 0); in ath_isr()
611 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_reset()
614 ath9k_hw_kill_interrupts(sc->sc_ah); in ath_reset()
631 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_queue_reset()
635 ath9k_hw_kill_interrupts(sc->sc_ah); in ath9k_queue_reset()
656 struct ath_hw *ah = sc->sc_ah; in ath9k_start()
722 sc->sc_ah->is_monitoring = false; in ath9k_start()
738 ath9k_cmn_init_crypto(sc->sc_ah); in ath9k_start()
758 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_tx()
777 if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_NETWORK_SLEEP)) { in ath9k_tx()
785 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ath9k_tx()
786 ath9k_hw_setrxabort(sc->sc_ah, 0); in ath9k_tx()
808 if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_FULL_SLEEP)) { in ath9k_tx()
851 struct ath_hw *ah = sc->sc_ah; in ath9k_txq_has_key()
867 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath9k_txq_has_key()
886 struct ath_hw *ah = sc->sc_ah; in ath9k_pending_key_del()
901 struct ath_hw *ah = sc->sc_ah; in ath9k_stop()
978 ath9k_cmn_init_crypto(sc->sc_ah); in ath9k_stop()
1068 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_update_bssid_mask()
1116 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_assoc_state()
1124 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_assoc_state()
1128 sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER; in ath9k_set_assoc_state()
1135 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_set_assoc_state()
1146 struct ath_hw *ah = sc->sc_ah; in ath9k_set_offchannel_state()
1171 ath9k_hw_write_associd(sc->sc_ah); in ath9k_set_offchannel_state()
1184 struct ath_hw *ah = sc->sc_ah; in ath9k_calculate_summary_state()
1249 ath9k_hw_write_associd(sc->sc_ah); in ath9k_calculate_summary_state()
1250 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) in ath9k_calculate_summary_state()
1291 struct ath_hw *ah = sc->sc_ah; in ath9k_set_txpower()
1333 struct ath_hw *ah = sc->sc_ah; in ath9k_add_interface()
1384 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_interface()
1418 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_interface()
1446 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_ps()
1465 struct ath_hw *ah = sc->sc_ah; in ath9k_disable_ps()
1490 struct ath_hw *ah = sc->sc_ah; in ath9k_config()
1532 sc->sc_ah->is_monitoring = true; in ath9k_config()
1535 sc->sc_ah->is_monitoring = false; in ath9k_config()
1585 ath9k_hw_setrxfilter(sc->sc_ah, rfilt); in ath9k_configure_filter()
1588 ath_dbg(ath9k_hw_common(sc->sc_ah), CONFIG, "Set HW RX filter: 0x%x\n", in ath9k_configure_filter()
1597 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_add()
1621 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_del_ps_key()
1651 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sta_state()
1703 ath9k_sta_set_tx_filter(sc->sc_ah, an, true); in ath9k_sta_notify()
1706 ath9k_sta_set_tx_filter(sc->sc_ah, an, false); in ath9k_sta_notify()
1719 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_conf_tx()
1762 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_key()
1818 if (sc->sc_ah->sw_mgmt_crypto_tx && in ath9k_set_key()
1838 set_bit(key->hw_key_idx, sc->sc_ah->pending_del_keymap); in ath9k_set_key()
1874 struct ath_hw *ah = sc->sc_ah; in ath9k_bss_info_changed()
1897 ath9k_hw_write_associd(sc->sc_ah); in ath9k_bss_info_changed()
1955 tsf = ath9k_hw_gettsf64(sc->sc_ah); in ath9k_get_tsf()
1979 ath9k_hw_settsf64(sc->sc_ah, tsf); in ath9k_set_tsf()
1995 ath9k_hw_reset_tsf(sc->sc_ah); in ath9k_reset_tsf()
2007 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ampdu_action()
2054 ath_err(ath9k_hw_common(sc->sc_ah), "Unknown AMPDU action\n"); in ath9k_ampdu_action()
2066 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_get_survey()
2106 struct ath_hw *ah = sc->sc_ah; in ath9k_enable_dynack()
2120 struct ath_hw *ah = sc->sc_ah; in ath9k_set_coverage_class()
2168 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_flush()
2197 struct ath_hw *ah = sc->sc_ah; in __ath9k_flush()
2254 struct ath_hw *ah = sc->sc_ah; in ath9k_tx_last_beacon()
2296 struct ath_hw *ah = sc->sc_ah; in ath9k_get_stats()
2344 struct ath_hw *ah = sc->sc_ah; in ath9k_set_antenna()
2384 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_start()
2407 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_sw_scan_complete()
2415 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_pending_offchannel()
2440 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_hw_scan()
2474 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_hw_scan()
2490 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remain_on_channel()
2524 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_cancel_remain_on_channel()
2545 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_add_chanctx()
2580 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_remove_chanctx()
2601 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_change_chanctx()
2618 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_assign_vif_chanctx()
2650 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_unassign_vif_chanctx()
2679 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_mgd_prepare_tx()