Home
last modified time | relevance | path

Searched refs:scratchbufs (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtx.c514 BUILD_BUG_ON(IWL_HCMD_SCRATCHBUF_SIZE != sizeof(*txq->scratchbufs)); in iwl_pcie_txq_alloc()
519 scratchbuf_sz = sizeof(*txq->scratchbufs) * slots_num; in iwl_pcie_txq_alloc()
521 txq->scratchbufs = dma_alloc_coherent(trans->dev, scratchbuf_sz, in iwl_pcie_txq_alloc()
524 if (!txq->scratchbufs) in iwl_pcie_txq_alloc()
630 sizeof(*txq->scratchbufs) * txq->q.n_window, in iwl_pcie_txq_free()
631 txq->scratchbufs, txq->scratchbufs_dma); in iwl_pcie_txq_free()
1476 memcpy(&txq->scratchbufs[q->write_ptr], &out_cmd->hdr, scratch_size); in iwl_pcie_enqueue_hcmd()
1833 memcpy(&txq->scratchbufs[q->write_ptr], &dev_cmd->hdr, in iwl_trans_pcie_tx()
Dinternal.h229 struct iwl_pcie_txq_scratch_buf *scratchbufs; member