Searched defs:riscv_iommu_queue (Results 1 – 1 of 1) sorted by relevance
23 struct riscv_iommu_queue { struct24 atomic_t prod; /* unbounded producer allocation index */25 atomic_t head; /* unbounded shadow ring buffer consumer index */26 atomic_t tail; /* unbounded shadow ring buffer producer index */27 raw_spinlock_t lock; /* serialize queue publishing */28 unsigned int mask; /* index mask, queue length - 1 */29 unsigned int irq; /* allocated interrupt number */30 struct riscv_iommu_device *iommu; /* iommu device handling the queue when active */31 void *base; /* ring buffer kernel pointer */32 dma_addr_t phys; /* ring buffer physical address */[all …]