Lines Matching refs:cmd_queue
645 struct iwl_txq *txq = trans_pcie->txq[trans_pcie->cmd_queue]; in iwl_pcie_gen2_enqueue_hcmd()
757 cpu_to_le16(QUEUE_TO_SEQ(trans_pcie->cmd_queue) | in iwl_pcie_gen2_enqueue_hcmd()
805 cmd_size, txq->write_ptr, idx, trans_pcie->cmd_queue); in iwl_pcie_gen2_enqueue_hcmd()
888 struct iwl_txq *txq = trans_pcie->txq[trans_pcie->cmd_queue]; in iwl_pcie_gen2_send_hcmd_sync()
1026 if (txq_id != trans_pcie->cmd_queue) { in iwl_pcie_gen2_txq_unmap()
1042 if (txq_id != trans_pcie->cmd_queue) { in iwl_pcie_gen2_txq_unmap()
1109 if (txq_id == trans_pcie->cmd_queue) in iwl_pcie_gen2_txq_free()
1257 struct iwl_txq *cmd_queue; in iwl_pcie_gen2_tx_init() local
1258 int txq_id = trans_pcie->cmd_queue, ret; in iwl_pcie_gen2_tx_init()
1262 cmd_queue = kzalloc(sizeof(*cmd_queue), GFP_KERNEL); in iwl_pcie_gen2_tx_init()
1263 if (!cmd_queue) { in iwl_pcie_gen2_tx_init()
1267 trans_pcie->txq[txq_id] = cmd_queue; in iwl_pcie_gen2_tx_init()
1268 ret = iwl_pcie_txq_alloc(trans, cmd_queue, TFD_CMD_SLOTS, true); in iwl_pcie_gen2_tx_init()
1274 cmd_queue = trans_pcie->txq[txq_id]; in iwl_pcie_gen2_tx_init()
1277 ret = iwl_pcie_txq_init(trans, cmd_queue, TFD_CMD_SLOTS, true); in iwl_pcie_gen2_tx_init()