Lines Matching refs:txq_id
47 int txq_id = txq->q.id;
61 txq_id, reg);
68 txq->q.write_ptr | (txq_id << 8));
74 txq->q.write_ptr | (txq_id << 8));
88 void iwl_tx_queue_free(struct iwl_priv *priv, int txq_id)
90 struct iwl_tx_queue *txq = &priv->txq[txq_id];
309 int slots_num, u32 txq_id)
323 if (txq_id == IWL_CMD_QUEUE_NUM)
346 ret = iwl_tx_queue_alloc(priv, txq, txq_id);
358 if (txq_id != IWL_CMD_QUEUE_NUM)
359 txq->swq_id = txq_id;
366 iwl_queue_init(priv, &txq->q, TFD_QUEUE_SIZE_MAX, slots_num, txq_id);
384 int slots_num, u32 txq_id)
388 if (txq_id == IWL_CMD_QUEUE_NUM)
396 iwl_queue_init(priv, &txq->q, TFD_QUEUE_SIZE_MAX, slots_num, txq_id);
543 static void iwl_hcmd_queue_reclaim(struct iwl_priv *priv, int txq_id,
546 struct iwl_tx_queue *txq = &priv->txq[txq_id];
552 "is out of range [0-%d] %d %d.\n", txq_id,
581 int txq_id = SEQ_TO_QUEUE(sequence);
592 if (WARN(txq_id != IWL_CMD_QUEUE_NUM,
594 txq_id, sequence,
625 iwl_hcmd_queue_reclaim(priv, txq_id, index, cmd_index);