Lines Matching defs:sc
60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames()
87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower()
101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); in ath_ps_full_sleep() local
116 void ath9k_ps_wakeup(struct ath_softc *sc) in ath9k_ps_wakeup()
147 void ath9k_ps_restore(struct ath_softc *sc) in ath9k_ps_restore()
185 static void __ath_cancel_work(struct ath_softc *sc) in __ath_cancel_work()
197 void ath_cancel_work(struct ath_softc *sc) in ath_cancel_work()
203 void ath_restart_work(struct ath_softc *sc) in ath_restart_work()
215 static bool ath_prepare_reset(struct ath_softc *sc) in ath_prepare_reset()
235 static bool ath_complete_reset(struct ath_softc *sc, bool start) in ath_complete_reset()
285 static int ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) in ath_reset_internal()
355 static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_node_attach()
371 static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) in ath_node_detach()
381 struct ath_softc *sc = from_tasklet(sc, t, intr_tq); in ath9k_tasklet() local
507 struct ath_softc *sc = dev; in ath_isr() local
610 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan) in ath_reset()
630 void ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type) in ath9k_queue_reset()
643 struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work); in ath_reset_work() local
656 struct ath_softc *sc = hw->priv; in ath9k_start() local
758 struct ath_softc *sc = hw->priv; in ath9k_tx() local
850 static bool ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) in ath9k_txq_has_key()
884 static void ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) in ath9k_pending_key_del()
900 struct ath_softc *sc = hw->priv; in ath9k_stop() local
1064 static void ath9k_update_bssid_mask(struct ath_softc *sc, in ath9k_update_bssid_mask()
1093 void ath9k_calculate_iter_data(struct ath_softc *sc, in ath9k_calculate_iter_data()
1113 static void ath9k_set_assoc_state(struct ath_softc *sc, in ath9k_set_assoc_state()
1144 static void ath9k_set_offchannel_state(struct ath_softc *sc) in ath9k_set_offchannel_state()
1181 void ath9k_calculate_summary_state(struct ath_softc *sc, in ath9k_calculate_summary_state()
1288 void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_set_txpower()
1332 struct ath_softc *sc = hw->priv; in ath9k_add_interface() local
1383 struct ath_softc *sc = hw->priv; in ath9k_change_interface() local
1417 struct ath_softc *sc = hw->priv; in ath9k_remove_interface() local
1444 static void ath9k_enable_ps(struct ath_softc *sc) in ath9k_enable_ps()
1463 static void ath9k_disable_ps(struct ath_softc *sc) in ath9k_disable_ps()
1489 struct ath_softc *sc = hw->priv; in ath9k_config() local
1569 struct ath_softc *sc = hw->priv; in ath9k_configure_filter() local
1597 struct ath_softc *sc = hw->priv; in ath9k_sta_add() local
1618 static void ath9k_del_ps_key(struct ath_softc *sc, in ath9k_del_ps_key()
1637 struct ath_softc *sc = hw->priv; in ath9k_sta_remove() local
1651 struct ath_softc *sc = hw->priv; in ath9k_sta_state() local
1697 struct ath_softc *sc = hw->priv; in ath9k_sta_notify() local
1719 struct ath_softc *sc = hw->priv; in ath9k_conf_tx() local
1762 struct ath_softc *sc = hw->priv; in ath9k_set_key() local
1874 struct ath_softc *sc = hw->priv; in ath9k_bss_info_changed() local
1948 struct ath_softc *sc = hw->priv; in ath9k_get_tsf() local
1972 struct ath_softc *sc = hw->priv; in ath9k_set_tsf() local
1988 struct ath_softc *sc = hw->priv; in ath9k_reset_tsf() local
2007 struct ath_softc *sc = hw->priv; in ath9k_ampdu_action() local
2066 struct ath_softc *sc = hw->priv; in ath9k_get_survey() local
2103 static void ath9k_enable_dynack(struct ath_softc *sc) in ath9k_enable_dynack()
2120 struct ath_softc *sc = hw->priv; in ath9k_set_coverage_class() local
2147 static bool ath9k_has_tx_pending(struct ath_softc *sc, in ath9k_has_tx_pending()
2168 struct ath_softc *sc = hw->priv; in ath9k_flush() local
2197 struct ath_softc *sc = hw->priv; in __ath9k_flush() local
2247 struct ath_softc *sc = hw->priv; in ath9k_tx_frames_pending() local
2254 struct ath_softc *sc = hw->priv; in ath9k_tx_last_beacon() local
2296 struct ath_softc *sc = hw->priv; in ath9k_get_stats() local
2344 struct ath_softc *sc = hw->priv; in ath9k_set_antenna() local
2373 struct ath_softc *sc = hw->priv; in ath9k_get_antenna() local
2384 struct ath_softc *sc = hw->priv; in ath9k_sw_scan_start() local
2392 struct ath_softc *sc = hw->priv; in ath9k_sw_scan_complete() local
2399 static void ath9k_cancel_pending_offchannel(struct ath_softc *sc) in ath9k_cancel_pending_offchannel()
2425 struct ath_softc *sc = hw->priv; in ath9k_hw_scan() local
2459 struct ath_softc *sc = hw->priv; in ath9k_cancel_hw_scan() local
2475 struct ath_softc *sc = hw->priv; in ath9k_remain_on_channel() local
2509 struct ath_softc *sc = hw->priv; in ath9k_cancel_remain_on_channel() local
2530 struct ath_softc *sc = hw->priv; in ath9k_add_chanctx() local
2565 struct ath_softc *sc = hw->priv; in ath9k_remove_chanctx() local
2586 struct ath_softc *sc = hw->priv; in ath9k_change_chanctx() local
2603 struct ath_softc *sc = hw->priv; in ath9k_assign_vif_chanctx() local
2635 struct ath_softc *sc = hw->priv; in ath9k_unassign_vif_chanctx() local
2664 struct ath_softc *sc = hw->priv; in ath9k_mgd_prepare_tx() local
2758 struct ath_softc *sc = hw->priv; in ath9k_get_txpower() local