Searched refs:PRQ_RING_MASK (Results 1 – 2 of 2) sorted by relevance
556 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in intel_svm_drain_prq()557 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in intel_svm_drain_prq()563 head = (head + sizeof(*req)) & PRQ_RING_MASK; in intel_svm_drain_prq()725 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()726 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()793 head = (head + sizeof(*req)) & PRQ_RING_MASK; in prq_event_thread()805 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()806 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()
13 #define PRQ_RING_MASK ((0x1000 << PRQ_ORDER) - 0x20) macro