Lines Matching defs:sc
101 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete()
116 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid()
126 struct ath_softc *sc = hw->priv; in ath9k_wake_tx_queue() local
164 static void ath_txq_skb_done(struct ath_softc *sc, struct ath_txq *txq, in ath_txq_skb_done()
180 ath_get_skb_tid(struct ath_softc *sc, struct ath_node *an, struct sk_buff *skb) in ath_get_skb_tid()
190 struct ath_softc *sc = tid->an->sc; in ath_tid_pull() local
232 static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_flush_tid()
271 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_update_baw()
294 static void ath_tx_addto_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_addto_baw()
316 static void ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, in ath_tid_drain()
344 static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_set_retry()
364 static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) in ath_tx_get_buffer()
383 static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_return_buffer()
390 static struct ath_buf* ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) in ath_clone_txbuf()
409 static void ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_count_frames()
439 static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_complete_aggr()
663 static void ath_tx_count_airtime(struct ath_softc *sc, in ath_tx_count_airtime()
681 static void ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_process_buffer()
752 static u32 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_lookup_rate()
823 static int ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_compute_num_delims()
894 ath_tx_get_tid_subframe(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_get_tid_subframe()
983 ath_tx_form_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_form_aggr()
1069 u32 ath_pkt_duration(struct ath_softc *sc, u8 rix, int pktlen, in ath_pkt_duration()
1109 void ath_update_max_aggr_framelen(struct ath_softc *sc, int queue, int txop) in ath_update_max_aggr_framelen()
1130 static u8 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, in ath_get_rate_txpower()
1204 static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_buf_set_rate()
1342 static void ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_fill_desc()
1435 ath_tx_form_burst(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_form_burst()
1468 static int ath_tx_sched_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_sched_aggr()
1510 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_tx_aggr_start()
1550 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid) in ath_tx_aggr_stop()
1565 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc, in ath_tx_aggr_sleep()
1583 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an) in ath_tx_aggr_wakeup()
1609 ath9k_set_moredata(struct ath_softc *sc, struct ath_buf *bf, bool val) in ath9k_set_moredata()
1629 struct ath_softc *sc = hw->priv; in ath9k_release_buffered_frames() local
1693 struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype) in ath_txq_setup()
1765 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update()
1792 int ath_cabq_update(struct ath_softc *sc) in ath_cabq_update()
1807 static void ath_drain_txq_list(struct ath_softc *sc, struct ath_txq *txq, in ath_drain_txq_list()
1840 void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq) in ath_draintxq()
1864 bool ath_drain_all_txq(struct ath_softc *sc) in ath_drain_all_txq()
1906 void ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_cleanupq()
1915 void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_schedule()
1954 void ath_txq_schedule_all(struct ath_softc *sc) in ath_txq_schedule_all()
1976 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_txqaddbuf()
2043 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_send_normal()
2102 struct ath_softc *sc; 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
2275 struct ath_softc *sc = hw->priv; in ath_tx_start() local
2337 struct ath_softc *sc = hw->priv; in ath_tx_cabq() local
2400 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, in ath_tx_complete()
2452 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_complete_buf()
2498 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_rc_status()
2556 static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_processq()
2631 void ath_tx_tasklet(struct ath_softc *sc) in ath_tx_tasklet()
2645 void ath_tx_edma_tasklet(struct ath_softc *sc) in ath_tx_edma_tasklet()
2734 static int ath_txstatus_setup(struct ath_softc *sc, int size) in ath_txstatus_setup()
2748 static int ath_tx_edma_init(struct ath_softc *sc) in ath_tx_edma_init()
2761 int ath_tx_init(struct ath_softc *sc, int nbufs) in ath_tx_init()
2790 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_init()
2814 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_cleanup()
2845 int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb, in ath9k_tx99_send()