Home
last modified time | relevance | path

Searched defs:riscv_iommu_queue (Results 1 – 1 of 1) sorted by relevance

/linux-6.14.4/drivers/iommu/riscv/
Diommu.h22 struct riscv_iommu_queue { struct
23 atomic_t prod; /* unbounded producer allocation index */
24 atomic_t head; /* unbounded shadow ring buffer consumer index */
25 atomic_t tail; /* unbounded shadow ring buffer producer index */
26 unsigned int mask; /* index mask, queue length - 1 */
27 unsigned int irq; /* allocated interrupt number */
28 struct riscv_iommu_device *iommu; /* iommu device handling the queue when active */
29 void *base; /* ring buffer kernel pointer */
30 dma_addr_t phys; /* ring buffer physical address */
31 u16 qbr; /* base register offset, head and tail reference */
[all …]