Searched refs:IOMMU_PAGE_MASK (Results 1 – 2 of 2) sorted by relevance
509 unsigned long offset = tce & IOMMU_PAGE_MASK(tbl) & ~PAGE_MASK; in tce_iommu_build()572 hpa |= tce & IOMMU_PAGE_MASK(tbl) & ~PAGE_MASK; in tce_iommu_build_v2()884 if ((param.size & ~IOMMU_PAGE_MASK(tbl)) || in tce_iommu_ioctl()885 (param.vaddr & ~IOMMU_PAGE_MASK(tbl))) in tce_iommu_ioctl()951 if (param.size & ~IOMMU_PAGE_MASK(tbl)) in tce_iommu_ioctl()
363 #define IOMMU_PAGE_MASK (((1ULL << 52) - 1) & ~0xfffULL) macro365 #define IOMMU_PTE_PAGE(pte) (iommu_phys_to_virt((pte) & IOMMU_PAGE_MASK))