Searched refs:PRQ_RING_MASK (Results 1 – 2 of 2) sorted by relevance
326 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in intel_drain_pasid_prq()327 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in intel_drain_pasid_prq()333 head = (head + sizeof(*req)) & PRQ_RING_MASK; in intel_drain_pasid_prq()444 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()445 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()498 head = (head + sizeof(*req)) & PRQ_RING_MASK; in prq_event_thread()510 head = dmar_readq(iommu->reg + DMAR_PQH_REG) & PRQ_RING_MASK; in prq_event_thread()511 tail = dmar_readq(iommu->reg + DMAR_PQT_REG) & PRQ_RING_MASK; in prq_event_thread()
495 #define PRQ_RING_MASK ((0x1000 << PRQ_ORDER) - 0x20) macro