Searched refs:IOMMU_PAGE_MASK (Results 1 – 5 of 5) sorted by relevance
314 IOMMU_PAGE_MASK(tbl), direction, attrs); in iommu_alloc()480 dma_addr |= (s->offset & ~IOMMU_PAGE_MASK(tbl)); in ppc_iommu_map_sg()487 vaddr & IOMMU_PAGE_MASK(tbl), in ppc_iommu_map_sg()549 vaddr = s->dma_address & IOMMU_PAGE_MASK(tbl); in ppc_iommu_map_sg()827 dma_handle |= (uaddr & ~IOMMU_PAGE_MASK(tbl)); in iommu_map_page()
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))
28 #define IOMMU_PAGE_MASK(tblptr) (~((1 << (tblptr)->it_page_shift) - 1)) macro
128 BUG_ON(*hpa & ~IOMMU_PAGE_MASK(tbl)); in pnv_tce_xchg()