Lines Matching refs:sc_ah
127 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_wake_tx_queue()
443 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
557 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
624 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
715 int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i); in ath_tx_count_airtime()
741 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
760 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts, in ath_tx_process_buffer()
885 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
892 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
893 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims()
1178 struct ath_hw *ah = sc->sc_ah; in ath_get_rate_txpower()
1248 struct ath_hw *ah = sc->sc_ah; in ath_buf_set_rate()
1348 info->rates[i].PktDuration = ath9k_hw_computetxtime(sc->sc_ah, in ath_buf_set_rate()
1357 if (bf_isaggr(bf) && (len > sc->sc_ah->caps.rts_aggr_limit)) in ath_buf_set_rate()
1391 struct ath_hw *ah = sc->sc_ah; in ath_tx_fill_desc()
1559 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_start()
1598 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_stop()
1614 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_sleep()
1631 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_wakeup()
1741 struct ath_hw *ah = sc->sc_ah; in ath_txq_setup()
1814 struct ath_hw *ah = sc->sc_ah; in ath_txq_update()
1828 ath_err(ath9k_hw_common(sc->sc_ah), in ath_txq_update()
1844 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update()
1891 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_draintxq()
1912 struct ath_hw *ah = sc->sc_ah; in ath_drain_all_txq()
1913 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_drain_all_txq()
1954 ath9k_hw_releasetxqueue(sc->sc_ah, txq->axq_qnum); in ath_tx_cleanupq()
1964 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_txq_schedule()
2025 struct ath_hw *ah = sc->sc_ah; in ath_tx_txqaddbuf()
2177 struct ath_hw *ah = sc->sc_ah; in ath_txchainmask_reduction()
2199 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_setup_buffer()
2235 ath_err(ath9k_hw_common(sc->sc_ah), in ath_tx_setup_buffer()
2291 ath_assign_seq(ath9k_hw_common(sc->sc_ah), skb); in ath_tx_prepare()
2452 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_complete()
2459 if (sc->sc_ah->caldata) in ath_tx_complete()
2460 set_bit(PAPRD_PACKET_SENT, &sc->sc_ah->caldata->cal_flags); in ath_tx_complete()
2563 struct ath_hw *ah = sc->sc_ah; in ath_tx_rc_status()
2606 ah->tx_trig_level >= sc->sc_ah->config.max_txtrig_level) in ath_tx_rc_status()
2614 struct ath_hw *ah = sc->sc_ah; in ath_tx_processq()
2623 txq->axq_qnum, ath9k_hw_gettxbuf(sc->sc_ah, txq->axq_qnum), in ath_tx_processq()
2689 struct ath_hw *ah = sc->sc_ah; in ath_tx_tasklet()
2704 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_edma_tasklet()
2705 struct ath_hw *ah = sc->sc_ah; in ath_tx_edma_tasklet()
2793 u8 txs_len = sc->sc_ah->caps.txs_len; in ath_txstatus_setup()
2810 ath9k_hw_setup_statusring(sc->sc_ah, sc->txsdma.dd_desc, in ath_tx_edma_init()
2819 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_init()
2840 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_tx_init()
2906 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_tx99_send()
2936 ath9k_hw_set_desc_link(sc->sc_ah, bf->bf_desc, bf->bf_daddr); in ath9k_tx99_send()
2937 ath9k_hw_tx99_start(sc->sc_ah, txctl->txq->axq_qnum); in ath9k_tx99_send()