Lines Matching refs:sc

74 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
82 #define ATH_TXQ_SETUP(sc, i) ((sc)->tx.txqsetup & (1<<i)) argument
252 struct ath_softc *sc; member
426 for (ctx = &sc->chanctx[0]; \
427 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \
430 void ath_chanctx_init(struct ath_softc *sc);
431 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx,
445 void ath9k_init_channel_context(struct ath_softc *sc);
446 void ath9k_offchannel_init(struct ath_softc *sc);
447 void ath9k_deinit_channel_context(struct ath_softc *sc);
448 int ath9k_init_p2p(struct ath_softc *sc);
449 void ath9k_deinit_p2p(struct ath_softc *sc);
450 void ath9k_p2p_remove_vif(struct ath_softc *sc,
452 void ath9k_p2p_beacon_sync(struct ath_softc *sc);
453 void ath9k_p2p_bss_info_changed(struct ath_softc *sc,
455 void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp,
458 void ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
459 void ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
460 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx);
462 void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
464 void ath_chanctx_beacon_sent_ev(struct ath_softc *sc,
466 void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif,
468 void ath_chanctx_set_next(struct ath_softc *sc, bool force);
469 void ath_offchannel_next(struct ath_softc *sc);
470 void ath_scan_complete(struct ath_softc *sc, bool abort);
471 void ath_roc_complete(struct ath_softc *sc,
473 struct ath_chanctx* ath_is_go_chanctx_present(struct ath_softc *sc);
484 static inline void ath9k_init_channel_context(struct ath_softc *sc) in ath9k_init_channel_context() argument
487 static inline void ath9k_offchannel_init(struct ath_softc *sc) in ath9k_offchannel_init() argument
490 static inline void ath9k_deinit_channel_context(struct ath_softc *sc) in ath9k_deinit_channel_context() argument
493 static inline void ath_chanctx_beacon_recv_ev(struct ath_softc *sc, in ath_chanctx_beacon_recv_ev() argument
497 static inline void ath_chanctx_beacon_sent_ev(struct ath_softc *sc, in ath_chanctx_beacon_sent_ev() argument
501 static inline void ath_chanctx_event(struct ath_softc *sc, in ath_chanctx_event() argument
506 static inline int ath9k_init_p2p(struct ath_softc *sc) in ath9k_init_p2p() argument
510 static inline void ath9k_deinit_p2p(struct ath_softc *sc) in ath9k_deinit_p2p() argument
513 static inline void ath9k_p2p_remove_vif(struct ath_softc *sc, in ath9k_p2p_remove_vif() argument
517 static inline void ath9k_p2p_beacon_sync(struct ath_softc *sc) in ath9k_p2p_beacon_sync() argument
520 static inline void ath9k_p2p_bss_info_changed(struct ath_softc *sc, in ath9k_p2p_bss_info_changed() argument
524 static inline void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, in ath9k_beacon_add_noa() argument
528 static inline void ath9k_p2p_ps_timer(struct ath_softc *sc) in ath9k_p2p_ps_timer() argument
531 static inline void ath9k_chanctx_wake_queues(struct ath_softc *sc, in ath9k_chanctx_wake_queues() argument
535 static inline void ath9k_chanctx_stop_queues(struct ath_softc *sc, in ath9k_chanctx_stop_queues() argument
539 static inline void ath_chanctx_check_active(struct ath_softc *sc, in ath_chanctx_check_active() argument
546 void ath_startrecv(struct ath_softc *sc);
547 bool ath_stoprecv(struct ath_softc *sc);
548 u32 ath_calcrxfilter(struct ath_softc *sc);
549 int ath_rx_init(struct ath_softc *sc, int nbufs);
550 void ath_rx_cleanup(struct ath_softc *sc);
551 int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp);
552 struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype);
553 void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq);
554 void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq);
555 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq);
556 void ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq);
557 bool ath_drain_all_txq(struct ath_softc *sc);
558 void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq);
559 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an);
560 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an);
561 void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq);
562 void ath_txq_schedule_all(struct ath_softc *sc);
563 int ath_tx_init(struct ath_softc *sc, int nbufs);
564 int ath_txq_update(struct ath_softc *sc, int qnum,
566 void ath_update_max_aggr_framelen(struct ath_softc *sc, int queue, int txop);
572 void ath_tx_tasklet(struct ath_softc *sc);
573 void ath_tx_edma_tasklet(struct ath_softc *sc);
574 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta,
576 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
577 void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
579 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an);
580 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
642 void ath9k_calculate_iter_data(struct ath_softc *sc,
645 void ath9k_calculate_summary_state(struct ath_softc *sc,
647 void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif);
687 void ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif,
689 void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
690 void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
691 void ath9k_set_beacon(struct ath_softc *sc);
692 bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif);
693 void ath9k_csa_update(struct ath_softc *sc);
712 bool ath_hw_check(struct ath_softc *sc);
716 void ath_start_ani(struct ath_softc *sc);
717 void ath_stop_ani(struct ath_softc *sc);
718 void ath_check_ani(struct ath_softc *sc);
719 int ath_update_survey_stats(struct ath_softc *sc);
720 void ath_update_survey_nf(struct ath_softc *sc, int channel);
721 void ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type);
760 int ath9k_init_btcoex(struct ath_softc *sc);
761 void ath9k_deinit_btcoex(struct ath_softc *sc);
762 void ath9k_start_btcoex(struct ath_softc *sc);
763 void ath9k_stop_btcoex(struct ath_softc *sc);
764 void ath9k_btcoex_timer_resume(struct ath_softc *sc);
765 void ath9k_btcoex_timer_pause(struct ath_softc *sc);
766 void ath9k_btcoex_handle_interrupt(struct ath_softc *sc, u32 status);
767 u16 ath9k_btcoex_aggr_limit(struct ath_softc *sc, u32 max_4ms_framelen);
768 void ath9k_btcoex_stop_gen_timer(struct ath_softc *sc);
769 int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size);
771 static inline int ath9k_init_btcoex(struct ath_softc *sc) in ath9k_init_btcoex() argument
775 static inline void ath9k_deinit_btcoex(struct ath_softc *sc) in ath9k_deinit_btcoex() argument
778 static inline void ath9k_start_btcoex(struct ath_softc *sc) in ath9k_start_btcoex() argument
781 static inline void ath9k_stop_btcoex(struct ath_softc *sc) in ath9k_stop_btcoex() argument
784 static inline void ath9k_btcoex_handle_interrupt(struct ath_softc *sc, in ath9k_btcoex_handle_interrupt() argument
788 static inline u16 ath9k_btcoex_aggr_limit(struct ath_softc *sc, in ath9k_btcoex_aggr_limit() argument
793 static inline void ath9k_btcoex_stop_gen_timer(struct ath_softc *sc) in ath9k_btcoex_stop_gen_timer() argument
796 static inline int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size) in ath9k_dump_btcoex() argument
813 void ath_init_leds(struct ath_softc *sc);
814 void ath_deinit_leds(struct ath_softc *sc);
815 void ath_fill_led_pin(struct ath_softc *sc);
817 static inline void ath_init_leds(struct ath_softc *sc) in ath_init_leds() argument
821 static inline void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument
824 static inline void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() argument
917 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs);
1050 void ath9k_tx99_init_debug(struct ath_softc *sc);
1051 int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb,
1054 static inline void ath9k_tx99_init_debug(struct ath_softc *sc) in ath9k_tx99_init_debug() argument
1057 static inline int ath9k_tx99_send(struct ath_softc *sc, in ath9k_tx99_send() argument
1074 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan);
1075 void ath_cancel_work(struct ath_softc *sc);
1076 void ath_restart_work(struct ath_softc *sc);
1077 int ath9k_init_device(u16 devid, struct ath_softc *sc,
1079 void ath9k_deinit_device(struct ath_softc *sc);
1080 void ath9k_reload_chainmask_settings(struct ath_softc *sc);
1081 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
1082 void ath_start_rfkill_poll(struct ath_softc *sc);
1084 void ath9k_ps_wakeup(struct ath_softc *sc);
1085 void ath9k_ps_restore(struct ath_softc *sc);