Searched refs:IOMMU_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance
318 IOMMU_PAGE_MASK(tbl), direction, attrs); in iommu_alloc()484 dma_addr |= (s->offset & ~IOMMU_PAGE_MASK(tbl)); in ppc_iommu_map_sg()491 vaddr & IOMMU_PAGE_MASK(tbl), in ppc_iommu_map_sg()553 vaddr = s->dma_address & IOMMU_PAGE_MASK(tbl); in ppc_iommu_map_sg()831 dma_handle |= (uaddr & ~IOMMU_PAGE_MASK(tbl)); in iommu_map_page()
28 #define IOMMU_PAGE_MASK(tblptr) (~((1 << (tblptr)->it_page_shift) - 1)) macro
156 BUG_ON(*hpa & ~IOMMU_PAGE_MASK(tbl)); in pnv_tce_xchg()