Lines Matching refs:tq

286 		struct ath5k_txq_info *tq = &ah->ah_txq[queue];  in ath5k_hw_set_tx_retry_limits()  local
292 (tq->tqi_cw_min << AR5K_NODCU_RETRY_LMT_CW_MIN_S) in ath5k_hw_set_tx_retry_limits()
326 struct ath5k_txq_info *tq = &ah->ah_txq[queue]; in ath5k_hw_reset_tx_queue() local
330 tq = &ah->ah_txq[queue]; in ath5k_hw_reset_tx_queue()
335 (tq->tqi_type == AR5K_TX_QUEUE_INACTIVE)) in ath5k_hw_reset_tx_queue()
343 AR5K_REG_SM(tq->tqi_cw_min, AR5K_DCU_LCL_IFS_CW_MIN) | in ath5k_hw_reset_tx_queue()
344 AR5K_REG_SM(tq->tqi_cw_max, AR5K_DCU_LCL_IFS_CW_MAX) | in ath5k_hw_reset_tx_queue()
345 AR5K_REG_SM(tq->tqi_aifs, AR5K_DCU_LCL_IFS_AIFS), in ath5k_hw_reset_tx_queue()
368 if (tq->tqi_cbr_period) { in ath5k_hw_reset_tx_queue()
369 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_cbr_period, in ath5k_hw_reset_tx_queue()
371 AR5K_REG_SM(tq->tqi_cbr_overflow_limit, in ath5k_hw_reset_tx_queue()
378 if (tq->tqi_cbr_overflow_limit) in ath5k_hw_reset_tx_queue()
384 if (tq->tqi_ready_time && (tq->tqi_type != AR5K_TX_QUEUE_CAB)) in ath5k_hw_reset_tx_queue()
385 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_ready_time, in ath5k_hw_reset_tx_queue()
390 if (tq->tqi_burst_time) { in ath5k_hw_reset_tx_queue()
391 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_burst_time, in ath5k_hw_reset_tx_queue()
396 if (tq->tqi_flags & AR5K_TXQ_FLAG_RDYTIME_EXP_POLICY_ENABLE) in ath5k_hw_reset_tx_queue()
402 if (tq->tqi_flags & AR5K_TXQ_FLAG_BACKOFF_DISABLE) in ath5k_hw_reset_tx_queue()
407 if (tq->tqi_flags & AR5K_TXQ_FLAG_FRAG_BURST_BACKOFF_ENABLE) in ath5k_hw_reset_tx_queue()
414 switch (tq->tqi_type) { in ath5k_hw_reset_tx_queue()
436 ath5k_hw_reg_write(ah, ((tq->tqi_ready_time - in ath5k_hw_reset_tx_queue()
464 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXOKINT_ENABLE) in ath5k_hw_reset_tx_queue()
467 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXERRINT_ENABLE) in ath5k_hw_reset_tx_queue()
470 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXURNINT_ENABLE) in ath5k_hw_reset_tx_queue()
473 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXDESCINT_ENABLE) in ath5k_hw_reset_tx_queue()
476 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXEOLINT_ENABLE) in ath5k_hw_reset_tx_queue()
479 if (tq->tqi_flags & AR5K_TXQ_FLAG_CBRORNINT_ENABLE) in ath5k_hw_reset_tx_queue()
482 if (tq->tqi_flags & AR5K_TXQ_FLAG_CBRURNINT_ENABLE) in ath5k_hw_reset_tx_queue()
485 if (tq->tqi_flags & AR5K_TXQ_FLAG_QTRIGINT_ENABLE) in ath5k_hw_reset_tx_queue()
488 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXNOFRMINT_ENABLE) in ath5k_hw_reset_tx_queue()