Searched refs:PRQ_RING_MASK (Results 1 – 1 of 1) sorted by relevance
725 #define PRQ_RING_MASK ((0x1000 << PRQ_ORDER) - 0x20) macro797 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in intel_svm_drain_prq()798 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in intel_svm_drain_prq()804 head = (head + sizeof(*req)) & PRQ_RING_MASK; in intel_svm_drain_prq()903 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()904 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()1046 head = (head + sizeof(*req)) & PRQ_RING_MASK; in prq_event_thread()1058 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()1059 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()