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
333 (tq->tqi_type == AR5K_TX_QUEUE_INACTIVE)) in ath5k_hw_reset_tx_queue()
341 AR5K_REG_SM(tq->tqi_cw_min, AR5K_DCU_LCL_IFS_CW_MIN) | in ath5k_hw_reset_tx_queue()
342 AR5K_REG_SM(tq->tqi_cw_max, AR5K_DCU_LCL_IFS_CW_MAX) | in ath5k_hw_reset_tx_queue()
343 AR5K_REG_SM(tq->tqi_aifs, AR5K_DCU_LCL_IFS_AIFS), in ath5k_hw_reset_tx_queue()
366 if (tq->tqi_cbr_period) { in ath5k_hw_reset_tx_queue()
367 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_cbr_period, in ath5k_hw_reset_tx_queue()
369 AR5K_REG_SM(tq->tqi_cbr_overflow_limit, in ath5k_hw_reset_tx_queue()
376 if (tq->tqi_cbr_overflow_limit) in ath5k_hw_reset_tx_queue()
382 if (tq->tqi_ready_time && (tq->tqi_type != AR5K_TX_QUEUE_CAB)) in ath5k_hw_reset_tx_queue()
383 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_ready_time, in ath5k_hw_reset_tx_queue()
388 if (tq->tqi_burst_time) { in ath5k_hw_reset_tx_queue()
389 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_burst_time, in ath5k_hw_reset_tx_queue()
394 if (tq->tqi_flags & AR5K_TXQ_FLAG_RDYTIME_EXP_POLICY_ENABLE) in ath5k_hw_reset_tx_queue()
400 if (tq->tqi_flags & AR5K_TXQ_FLAG_BACKOFF_DISABLE) in ath5k_hw_reset_tx_queue()
405 if (tq->tqi_flags & AR5K_TXQ_FLAG_FRAG_BURST_BACKOFF_ENABLE) in ath5k_hw_reset_tx_queue()
412 switch (tq->tqi_type) { in ath5k_hw_reset_tx_queue()
434 ath5k_hw_reg_write(ah, ((tq->tqi_ready_time - in ath5k_hw_reset_tx_queue()
462 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXOKINT_ENABLE) in ath5k_hw_reset_tx_queue()
465 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXERRINT_ENABLE) in ath5k_hw_reset_tx_queue()
468 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXURNINT_ENABLE) in ath5k_hw_reset_tx_queue()
471 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXDESCINT_ENABLE) in ath5k_hw_reset_tx_queue()
474 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXEOLINT_ENABLE) in ath5k_hw_reset_tx_queue()
477 if (tq->tqi_flags & AR5K_TXQ_FLAG_CBRORNINT_ENABLE) in ath5k_hw_reset_tx_queue()
480 if (tq->tqi_flags & AR5K_TXQ_FLAG_CBRURNINT_ENABLE) in ath5k_hw_reset_tx_queue()
483 if (tq->tqi_flags & AR5K_TXQ_FLAG_QTRIGINT_ENABLE) in ath5k_hw_reset_tx_queue()
486 if (tq->tqi_flags & AR5K_TXQ_FLAG_TXNOFRMINT_ENABLE) in ath5k_hw_reset_tx_queue()