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)
48 #define SQ_SIZE(depth) (depth * sizeof(struct nvme_command)) macro1312 dma_free_coherent(nvmeq->q_dmadev, SQ_SIZE(nvmeq->q_depth), in nvme_free_queue()1400 nvmeq->sq_cmds = dma_alloc_coherent(dmadev, SQ_SIZE(depth), in nvme_alloc_queue()