Home
last modified time | relevance | path

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

/linux/arch/sh/include/cpu-sh4/cpu/
H A Dsq.h19 #define SQ_SIZE 32 macro
20 #define SQ_ALIGN_MASK (~(SQ_SIZE - 1))
21 #define SQ_ALIGN(addr) (((addr)+SQ_SIZE-1) & SQ_ALIGN_MASK)
/linux/drivers/nvme/host/
H A Dpci.c35 #define SQ_SIZE(q) ((q)->q_depth << (q)->sqes) macro
1546 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()