Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/intel/
Dsvm.c484 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in intel_drain_pasid_prq()
485 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in intel_drain_pasid_prq()
491 head = (head + sizeof(*req)) & PRQ_RING_MASK; in intel_drain_pasid_prq()
640 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()
641 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()
695 head = (head + sizeof(*req)) & PRQ_RING_MASK; in prq_event_thread()
707 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()
708 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()
Diommu.h494 #define PRQ_RING_MASK ((0x1000 << PRQ_ORDER) - 0x20) macro