Lines Matching defs:sc

80 void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq)  in ath_txq_lock()
86 void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock()
92 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete()
106 static void ath_tx_queue_tid(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_queue_tid()
145 static void ath_txq_skb_done(struct ath_softc *sc, struct ath_txq *txq, in ath_txq_skb_done()
170 ath_get_skb_tid(struct ath_softc *sc, struct ath_node *an, struct sk_buff *skb) in ath_get_skb_tid()
198 ath_tx_tid_change_state(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_tid_change_state()
227 static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_flush_tid()
266 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_update_baw()
284 static void ath_tx_addto_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_addto_baw()
303 static void ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, in ath_tid_drain()
330 static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_set_retry()
350 static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) in ath_tx_get_buffer()
369 static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_return_buffer()
376 static struct ath_buf* ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) in ath_clone_txbuf()
395 static void ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_count_frames()
427 static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_complete_aggr()
663 static void ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_process_buffer()
718 static u32 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_lookup_rate()
789 static int ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_compute_num_delims()
860 ath_tx_get_tid_subframe(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_get_tid_subframe()
937 ath_tx_form_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_form_aggr()
1027 static u32 ath_pkt_duration(struct ath_softc *sc, u8 rix, int pktlen, in ath_pkt_duration()
1067 void ath_update_max_aggr_framelen(struct ath_softc *sc, int queue, int txop) in ath_update_max_aggr_framelen()
1088 static u8 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, in ath_get_rate_txpower()
1161 static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_buf_set_rate()
1299 static void ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_fill_desc()
1392 ath_tx_form_burst(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_form_burst()
1426 static bool ath_tx_sched_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_sched_aggr()
1473 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_tx_aggr_start()
1513 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid) in ath_tx_aggr_stop()
1526 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc, in ath_tx_aggr_sleep()
1556 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an) in ath_tx_aggr_wakeup()
1579 void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_tx_aggr_resume()
1608 struct ath_softc *sc = hw->priv; in ath9k_release_buffered_frames() local
1671 struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype) in ath_txq_setup()
1743 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update()
1770 int ath_cabq_update(struct ath_softc *sc) in ath_cabq_update()
1785 static void ath_drain_txq_list(struct ath_softc *sc, struct ath_txq *txq, in ath_drain_txq_list()
1818 void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq) in ath_draintxq()
1840 bool ath_drain_all_txq(struct ath_softc *sc) in ath_drain_all_txq()
1888 void ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_cleanupq()
1897 void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_schedule()
1957 void ath_txq_schedule_all(struct ath_softc *sc) in ath_txq_schedule_all()
1979 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_txqaddbuf()
2046 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_send_normal()
2104 struct ath_softc *sc = hw->priv; in setup_frame_info() local
2128 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate) in ath_txchainmask_reduction()
2147 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc, in ath_tx_setup_buffer()
2229 struct ath_softc *sc = hw->priv; in ath_tx_prepare() local
2277 struct ath_softc *sc = hw->priv; in ath_tx_start() local
2384 struct ath_softc *sc = hw->priv; in ath_tx_cabq() local
2453 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, in ath_tx_complete()
2501 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_complete_buf()
2546 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_rc_status()
2601 static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_processq()
2676 void ath_tx_tasklet(struct ath_softc *sc) in ath_tx_tasklet()
2688 void ath_tx_edma_tasklet(struct ath_softc *sc) in ath_tx_edma_tasklet()
2775 static int ath_txstatus_setup(struct ath_softc *sc, int size) in ath_txstatus_setup()
2789 static int ath_tx_edma_init(struct ath_softc *sc) in ath_tx_edma_init()
2802 int ath_tx_init(struct ath_softc *sc, int nbufs) in ath_tx_init()
2833 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_init()
2856 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_cleanup()
2881 int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb, in ath9k_tx99_send()