Lines Matching defs:sc
107 static void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_lock()
113 static void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock()
119 static void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete()
153 static void ath_tx_resume_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_resume_tid()
185 static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_flush_tid()
225 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_update_baw()
243 static void ath_tx_addto_baw(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_addto_baw()
265 static void ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, in ath_tid_drain()
300 static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_set_retry()
320 static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) in ath_tx_get_buffer()
339 static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_return_buffer()
346 static struct ath_buf* ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) in ath_clone_txbuf()
364 static void ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_count_frames()
396 static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_complete_aggr()
644 static u32 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_lookup_rate()
721 static int ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_compute_num_delims()
793 static enum ATH_AGGR_STATUS ath_tx_form_aggr(struct ath_softc *sc, in ath_tx_form_aggr()
909 static u32 ath_pkt_duration(struct ath_softc *sc, u8 rix, int pktlen, in ath_pkt_duration()
932 static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, in ath_buf_set_rate()
1059 static void ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_fill_desc()
1122 static void ath_tx_sched_aggr(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_sched_aggr()
1171 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_tx_aggr_start()
1194 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid) in ath_tx_aggr_stop()
1226 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc, in ath_tx_aggr_sleep()
1262 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an) in ath_tx_aggr_wakeup()
1287 void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid) in ath_tx_aggr_resume()
1308 static void ath_txq_drain_pending_buffers(struct ath_softc *sc, in ath_txq_drain_pending_buffers()
1325 struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype) in ath_txq_setup()
1399 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update()
1436 int ath_cabq_update(struct ath_softc *sc) in ath_cabq_update()
1464 static void ath_drain_txq_list(struct ath_softc *sc, struct ath_txq *txq, in ath_drain_txq_list()
1506 void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq, bool retry_tx) in ath_draintxq()
1533 bool ath_drain_all_txq(struct ath_softc *sc, bool retry_tx) in ath_drain_all_txq()
1575 void ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_cleanupq()
1584 void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_schedule()
1643 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_txqaddbuf()
1704 static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid, in ath_tx_send_ampdu()
1750 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_send_normal()
1801 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate) in ath_txchainmask_reduction()
1817 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc, in ath_tx_setup_buffer()
1866 static void ath_tx_start_dma(struct ath_softc *sc, struct sk_buff *skb, in ath_tx_start_dma()
1912 struct ath_softc *sc = hw->priv; in ath_tx_start() local
1981 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, in ath_tx_complete()
2030 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_complete_buf()
2072 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, in ath_tx_rc_status()
2127 static void ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_process_buffer()
2149 static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) in ath_tx_processq()
2227 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_tx_complete_poll_work() local
2265 void ath_tx_tasklet(struct ath_softc *sc) in ath_tx_tasklet()
2278 void ath_tx_edma_tasklet(struct ath_softc *sc) in ath_tx_edma_tasklet()
2343 static int ath_txstatus_setup(struct ath_softc *sc, int size) in ath_txstatus_setup()
2357 static int ath_tx_edma_init(struct ath_softc *sc) in ath_tx_edma_init()
2370 static void ath_tx_edma_cleanup(struct ath_softc *sc) in ath_tx_edma_cleanup()
2378 int ath_tx_init(struct ath_softc *sc, int nbufs) in ath_tx_init()
2416 void ath_tx_cleanup(struct ath_softc *sc) in ath_tx_cleanup()
2428 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_init()
2460 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_tx_node_cleanup()