Lines Matching refs:sc_ah
388 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
514 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
581 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
678 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
686 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts); in ath_tx_process_buffer()
810 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
817 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
818 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims()
1095 struct ath_hw *ah = sc->sc_ah; in ath_get_rate_txpower()
1164 struct ath_hw *ah = sc->sc_ah; in ath_buf_set_rate()
1259 info->rates[i].PktDuration = ath9k_hw_computetxtime(sc->sc_ah, in ath_buf_set_rate()
1268 if (bf_isaggr(bf) && (len > sc->sc_ah->caps.rts_aggr_limit)) in ath_buf_set_rate()
1302 struct ath_hw *ah = sc->sc_ah; in ath_tx_fill_desc()
1673 struct ath_hw *ah = sc->sc_ah; in ath_txq_setup()
1746 struct ath_hw *ah = sc->sc_ah; in ath_txq_update()
1760 ath_err(ath9k_hw_common(sc->sc_ah), in ath_txq_update()
1776 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update()
1822 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_draintxq()
1842 struct ath_hw *ah = sc->sc_ah; in ath_drain_all_txq()
1843 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_drain_all_txq()
1890 ath9k_hw_releasetxqueue(sc->sc_ah, txq->axq_qnum); in ath_tx_cleanupq()
1899 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_txq_schedule()
1982 struct ath_hw *ah = sc->sc_ah; in ath_tx_txqaddbuf()
2130 struct ath_hw *ah = sc->sc_ah; in ath_txchainmask_reduction()
2152 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_setup_buffer()
2188 ath_err(ath9k_hw_common(sc->sc_ah), in ath_tx_setup_buffer()
2244 ath_assign_seq(ath9k_hw_common(sc->sc_ah), skb); in ath_tx_prepare()
2457 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_complete()
2464 if (sc->sc_ah->caldata) in ath_tx_complete()
2465 set_bit(PAPRD_PACKET_SENT, &sc->sc_ah->caldata->cal_flags); in ath_tx_complete()
2554 struct ath_hw *ah = sc->sc_ah; in ath_tx_rc_status()
2588 ah->tx_trig_level >= sc->sc_ah->config.max_txtrig_level) in ath_tx_rc_status()
2603 struct ath_hw *ah = sc->sc_ah; in ath_tx_processq()
2612 txq->axq_qnum, ath9k_hw_gettxbuf(sc->sc_ah, txq->axq_qnum), in ath_tx_processq()
2678 struct ath_hw *ah = sc->sc_ah; in ath_tx_tasklet()
2691 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_edma_tasklet()
2692 struct ath_hw *ah = sc->sc_ah; in ath_tx_edma_tasklet()
2778 u8 txs_len = sc->sc_ah->caps.txs_len; in ath_txstatus_setup()
2795 ath9k_hw_setup_statusring(sc->sc_ah, sc->txsdma.dd_desc, in ath_tx_edma_init()
2804 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_init()
2827 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_tx_init()
2886 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_tx99_send()
2916 ath9k_hw_set_desc_link(sc->sc_ah, bf->bf_desc, bf->bf_daddr); in ath9k_tx99_send()
2917 ath9k_hw_tx99_start(sc->sc_ah, txctl->txq->axq_qnum); in ath9k_tx99_send()