Lines Matching refs:sc_ah

133 	struct ath_common *common = ath9k_hw_common(sc->sc_ah);  in ath9k_wake_tx_queue()
449 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
565 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
632 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
723 int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i); in ath_tx_count_airtime()
749 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
768 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts, in ath_tx_process_buffer()
893 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
900 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
901 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims()
1186 struct ath_hw *ah = sc->sc_ah; in ath_get_rate_txpower()
1268 struct ath_hw *ah = sc->sc_ah; in ath_buf_set_rate()
1368 info->rates[i].PktDuration = ath9k_hw_computetxtime(sc->sc_ah, in ath_buf_set_rate()
1377 if (bf_isaggr(bf) && (len > sc->sc_ah->caps.rts_aggr_limit)) in ath_buf_set_rate()
1411 struct ath_hw *ah = sc->sc_ah; in ath_tx_fill_desc()
1579 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_start()
1618 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_stop()
1634 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_sleep()
1651 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_aggr_wakeup()
1759 struct ath_hw *ah = sc->sc_ah; in ath_txq_setup()
1832 struct ath_hw *ah = sc->sc_ah; in ath_txq_update()
1846 ath_err(ath9k_hw_common(sc->sc_ah), in ath_txq_update()
1862 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update()
1909 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_draintxq()
1930 struct ath_hw *ah = sc->sc_ah; in ath_drain_all_txq()
1931 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_drain_all_txq()
1972 ath9k_hw_releasetxqueue(sc->sc_ah, txq->axq_qnum); in ath_tx_cleanupq()
1982 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_txq_schedule()
2043 struct ath_hw *ah = sc->sc_ah; in ath_tx_txqaddbuf()
2195 struct ath_hw *ah = sc->sc_ah; in ath_txchainmask_reduction()
2217 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_setup_buffer()
2253 ath_err(ath9k_hw_common(sc->sc_ah), in ath_tx_setup_buffer()
2309 ath_assign_seq(ath9k_hw_common(sc->sc_ah), skb); in ath_tx_prepare()
2470 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_complete()
2477 if (sc->sc_ah->caldata) in ath_tx_complete()
2478 set_bit(PAPRD_PACKET_SENT, &sc->sc_ah->caldata->cal_flags); in ath_tx_complete()
2581 struct ath_hw *ah = sc->sc_ah; in ath_tx_rc_status()
2624 ah->tx_trig_level >= sc->sc_ah->config.max_txtrig_level) in ath_tx_rc_status()
2632 struct ath_hw *ah = sc->sc_ah; in ath_tx_processq()
2641 txq->axq_qnum, ath9k_hw_gettxbuf(sc->sc_ah, txq->axq_qnum), in ath_tx_processq()
2707 struct ath_hw *ah = sc->sc_ah; in ath_tx_tasklet()
2722 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_edma_tasklet()
2723 struct ath_hw *ah = sc->sc_ah; in ath_tx_edma_tasklet()
2811 u8 txs_len = sc->sc_ah->caps.txs_len; in ath_txstatus_setup()
2828 ath9k_hw_setup_statusring(sc->sc_ah, sc->txsdma.dd_desc, in ath_tx_edma_init()
2837 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_init()
2858 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_tx_init()
2924 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_tx99_send()
2954 ath9k_hw_set_desc_link(sc->sc_ah, bf->bf_desc, bf->bf_daddr); in ath9k_tx99_send()
2955 ath9k_hw_tx99_start(sc->sc_ah, txctl->txq->axq_qnum); in ath9k_tx99_send()