Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c88 #define IOVA_FQ_SIZE 256 macro
103 struct iova_fq_entry entries[IOVA_FQ_SIZE];
109 for ((i) = (fq)->head; (i) != (fq)->tail; (i) = ((i) + 1) % IOVA_FQ_SIZE)
114 return (((fq->tail + 1) % IOVA_FQ_SIZE) == fq->head); in fq_full()
123 fq->tail = (idx + 1) % IOVA_FQ_SIZE; in fq_ring_add()
145 fq->head = (fq->head + 1) % IOVA_FQ_SIZE; in fq_ring_free()
269 for (i = 0; i < IOVA_FQ_SIZE; i++) in iommu_dma_init_fq()