Searched defs:riscv_iommu_queue (Results 1 – 1 of 1) sorted by relevance
22 struct riscv_iommu_queue { struct23 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 …]