Lines Matching refs:write_ptr

96 	int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr);  in iwl_pcie_gen2_update_byte_tbl()
140 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq->id, txq->write_ptr); in iwl_pcie_gen2_txq_inc_wr_ptr()
146 iwl_write32(trans, HBUS_TARG_WRPTR, txq->write_ptr | (txq->id << 16)); in iwl_pcie_gen2_txq_inc_wr_ptr()
380 int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_build_tx_amsdu()
466 int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_build_tx()
534 int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_build_tfd()
606 idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); in iwl_trans_pcie_gen2_tx()
643 if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) in iwl_trans_pcie_gen2_tx()
647 txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); in iwl_trans_pcie_gen2_tx()
755 idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd()
756 tfd = iwl_pcie_get_tfd(trans, txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd()
785 INDEX_TO_SEQ(txq->write_ptr)); in iwl_pcie_gen2_enqueue_hcmd()
832 cmd_size, txq->write_ptr, idx, trans_pcie->cmd_queue); in iwl_pcie_gen2_enqueue_hcmd()
885 if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) in iwl_pcie_gen2_enqueue_hcmd()
890 txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd()
940 txq->read_ptr, txq->write_ptr); in iwl_pcie_gen2_send_hcmd_sync()
1031 while (txq->write_ptr != txq->read_ptr) { in iwl_pcie_gen2_txq_unmap()
1194 txq->write_ptr = wr_ptr; in iwl_trans_pcie_txq_alloc_response()