Lines Matching refs:txq
69 iwl_txq_get_first_tb_dma(struct iwl_txq *txq, int idx) in iwl_txq_get_first_tb_dma() argument
71 return txq->first_tb_dma + in iwl_txq_get_first_tb_dma()
83 struct iwl_txq *txq) in iwl_wake_queue() argument
85 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_wake_queue()
86 IWL_DEBUG_TX_QUEUES(trans, "Wake hwq %d\n", txq->id); in iwl_wake_queue()
87 iwl_op_mode_queue_not_full(trans->op_mode, txq->id); in iwl_wake_queue()
92 struct iwl_txq *txq, int idx) in iwl_txq_get_tfd() argument
95 idx = iwl_txq_get_cmd_index(txq, idx); in iwl_txq_get_tfd()
97 return txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd()
100 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num,
114 static inline void iwl_txq_stop(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_stop() argument
116 if (!test_and_set_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_txq_stop()
117 iwl_op_mode_queue_full(trans->op_mode, txq->id); in iwl_txq_stop()
118 IWL_DEBUG_TX_QUEUES(trans, "Stop hwq %d\n", txq->id); in iwl_txq_stop()
121 txq->id); in iwl_txq_stop()
158 void iwl_txq_log_scd_error(struct iwl_trans *trans, struct iwl_txq *txq);
177 void iwl_txq_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq);
178 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq);
181 int iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num,
224 struct iwl_txq *txq, int index);
226 struct iwl_txq *txq);
228 struct iwl_txq *txq, u16 byte_cnt,