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)
36 #define SQ_SIZE(depth) (depth * sizeof(struct nvme_command)) macro1236 dma_free_coherent(nvmeq->q_dmadev, SQ_SIZE(nvmeq->q_depth), in nvme_free_queue()1330 nvmeq->sq_cmds = dma_alloc_coherent(dev->dev, SQ_SIZE(depth), in nvme_alloc_sq_cmds()1409 unsigned offset = (qid - 1) * roundup(SQ_SIZE(nvmeq->q_depth), in nvme_create_queue()