Searched refs:SQ_SIZE (Results 1 – 2 of 2) sorted by relevance
19 #define SQ_SIZE 32 macro20 #define SQ_ALIGN_MASK (~(SQ_SIZE - 1))21 #define SQ_ALIGN(addr) (((addr)+SQ_SIZE-1) & SQ_ALIGN_MASK)
35 #define SQ_SIZE(q) ((q)->q_depth << (q)->sqes) macro1546 nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_free_queue()1548 dma_free_coherent(nvmeq->dev->dev, SQ_SIZE(nvmeq), in nvme_free_queue()1636 nvmeq->sq_cmds = pci_alloc_p2pmem(pdev, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()1645 pci_free_p2pmem(pdev, nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()1649 nvmeq->sq_cmds = dma_alloc_coherent(dev->dev, SQ_SIZE(nvmeq), in nvme_alloc_sq_cmds()