Searched refs:SQ_SIZE (Results 1 – 2 of 2) sorted by relevance
22 #define SQ_SIZE 32 macro23 #define SQ_ALIGN_MASK (~(SQ_SIZE - 1))24 #define SQ_ALIGN(addr) (((addr)+SQ_SIZE-1) & SQ_ALIGN_MASK)
53 #define SQ_SIZE(depth) (depth * sizeof(struct nvme_command)) macro1397 dma_free_coherent(nvmeq->q_dmadev, SQ_SIZE(nvmeq->q_depth), in nvme_free_queue()1498 roundup(SQ_SIZE(depth), dev->page_size); in nvme_alloc_sq_cmds()1502 nvmeq->sq_cmds = dma_alloc_coherent(dev->dev, SQ_SIZE(depth), in nvme_alloc_sq_cmds()