Lines Matching defs:sc

77 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
85 #define ATH_TXQ_SETUP(sc, i) ((sc)->tx.txqsetup & (1<<i))
252 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid);
255 struct ath_softc *sc;
448 for (ctx = &sc->chanctx[0]; \
449 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \
452 void ath_chanctx_init(struct ath_softc *sc);
453 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx,
467 void ath9k_init_channel_context(struct ath_softc *sc);
468 void ath9k_offchannel_init(struct ath_softc *sc);
469 void ath9k_deinit_channel_context(struct ath_softc *sc);
470 int ath9k_init_p2p(struct ath_softc *sc);
471 void ath9k_deinit_p2p(struct ath_softc *sc);
472 void ath9k_p2p_remove_vif(struct ath_softc *sc,
474 void ath9k_p2p_beacon_sync(struct ath_softc *sc);
475 void ath9k_p2p_bss_info_changed(struct ath_softc *sc,
477 void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp,
480 void ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
481 void ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
482 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx);
484 void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
486 void ath_chanctx_beacon_sent_ev(struct ath_softc *sc,
488 void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif,
490 void ath_chanctx_set_next(struct ath_softc *sc, bool force);
491 void ath_offchannel_next(struct ath_softc *sc);
492 void ath_scan_complete(struct ath_softc *sc, bool abort);
493 void ath_roc_complete(struct ath_softc *sc,
495 struct ath_chanctx* ath_is_go_chanctx_present(struct ath_softc *sc);
506 static inline void ath9k_init_channel_context(struct ath_softc *sc)
509 static inline void ath9k_offchannel_init(struct ath_softc *sc)
512 static inline void ath9k_deinit_channel_context(struct ath_softc *sc)
515 static inline void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
519 static inline void ath_chanctx_beacon_sent_ev(struct ath_softc *sc,
523 static inline void ath_chanctx_event(struct ath_softc *sc,
528 static inline int ath9k_init_p2p(struct ath_softc *sc)
532 static inline void ath9k_deinit_p2p(struct ath_softc *sc)
535 static inline void ath9k_p2p_remove_vif(struct ath_softc *sc,
539 static inline void ath9k_p2p_beacon_sync(struct ath_softc *sc)
542 static inline void ath9k_p2p_bss_info_changed(struct ath_softc *sc,
546 static inline void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp,
550 static inline void ath9k_p2p_ps_timer(struct ath_softc *sc)
553 static inline void ath9k_chanctx_wake_queues(struct ath_softc *sc,
557 static inline void ath9k_chanctx_stop_queues(struct ath_softc *sc,
561 static inline void ath_chanctx_check_active(struct ath_softc *sc,
568 static inline void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq)
572 static inline void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq)
577 void ath_startrecv(struct ath_softc *sc);
578 bool ath_stoprecv(struct ath_softc *sc);
579 u32 ath_calcrxfilter(struct ath_softc *sc);
580 int ath_rx_init(struct ath_softc *sc, int nbufs);
581 void ath_rx_cleanup(struct ath_softc *sc);
582 int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp);
583 struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype);
584 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq);
585 void ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq);
586 bool ath_drain_all_txq(struct ath_softc *sc);
587 void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq);
588 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an);
589 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an);
590 void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq);
591 void ath_txq_schedule_all(struct ath_softc *sc);
592 int ath_tx_init(struct ath_softc *sc, int nbufs);
593 int ath_txq_update(struct ath_softc *sc, int qnum,
595 u32 ath_pkt_duration(struct ath_softc *sc, u8 rix, int pktlen,
597 void ath_update_max_aggr_framelen(struct ath_softc *sc, int queue, int txop);
603 void ath_tx_tasklet(struct ath_softc *sc);
604 void ath_tx_edma_tasklet(struct ath_softc *sc);
605 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta,
607 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
609 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an);
610 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
674 void ath9k_calculate_iter_data(struct ath_softc *sc,
677 void ath9k_calculate_summary_state(struct ath_softc *sc,
679 void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif);
719 void ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *main_vif,
721 void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
722 void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
723 void ath9k_beacon_ensure_primary_slot(struct ath_softc *sc);
724 void ath9k_set_beacon(struct ath_softc *sc);
725 bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif);
726 void ath9k_csa_update(struct ath_softc *sc);
745 bool ath_hw_check(struct ath_softc *sc);
749 void ath_start_ani(struct ath_softc *sc);
750 void ath_stop_ani(struct ath_softc *sc);
751 void ath_check_ani(struct ath_softc *sc);
752 int ath_update_survey_stats(struct ath_softc *sc);
753 void ath_update_survey_nf(struct ath_softc *sc, int channel);
754 void ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type);
793 int ath9k_init_btcoex(struct ath_softc *sc);
794 void ath9k_deinit_btcoex(struct ath_softc *sc);
795 void ath9k_start_btcoex(struct ath_softc *sc);
796 void ath9k_stop_btcoex(struct ath_softc *sc);
797 void ath9k_btcoex_timer_resume(struct ath_softc *sc);
798 void ath9k_btcoex_timer_pause(struct ath_softc *sc);
799 void ath9k_btcoex_handle_interrupt(struct ath_softc *sc, u32 status);
800 u16 ath9k_btcoex_aggr_limit(struct ath_softc *sc, u32 max_4ms_framelen);
801 void ath9k_btcoex_stop_gen_timer(struct ath_softc *sc);
802 int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size);
804 static inline int ath9k_init_btcoex(struct ath_softc *sc)
808 static inline void ath9k_deinit_btcoex(struct ath_softc *sc)
811 static inline void ath9k_start_btcoex(struct ath_softc *sc)
814 static inline void ath9k_stop_btcoex(struct ath_softc *sc)
817 static inline void ath9k_btcoex_handle_interrupt(struct ath_softc *sc,
821 static inline u16 ath9k_btcoex_aggr_limit(struct ath_softc *sc,
826 static inline void ath9k_btcoex_stop_gen_timer(struct ath_softc *sc)
829 static inline int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size)
846 void ath_init_leds(struct ath_softc *sc);
847 void ath_deinit_leds(struct ath_softc *sc);
849 static inline void ath_init_leds(struct ath_softc *sc)
853 static inline void ath_deinit_leds(struct ath_softc *sc)
946 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs);
1087 void ath9k_tx99_init_debug(struct ath_softc *sc);
1088 int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb,
1091 static inline void ath9k_tx99_init_debug(struct ath_softc *sc)
1094 static inline int ath9k_tx99_send(struct ath_softc *sc,
1106 void ath9k_rng_start(struct ath_softc *sc);
1107 void ath9k_rng_stop(struct ath_softc *sc);
1109 static inline void ath9k_rng_start(struct ath_softc *sc)
1113 static inline void ath9k_rng_stop(struct ath_softc *sc)
1127 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan);
1128 void ath_cancel_work(struct ath_softc *sc);
1129 void ath_restart_work(struct ath_softc *sc);
1130 int ath9k_init_device(u16 devid, struct ath_softc *sc,
1132 void ath9k_deinit_device(struct ath_softc *sc);
1133 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
1134 void ath_start_rfkill_poll(struct ath_softc *sc);
1136 void ath9k_ps_wakeup(struct ath_softc *sc);
1137 void ath9k_ps_restore(struct ath_softc *sc);