Searched refs:IOMMU_PAGE_MASK (Results 1 – 5 of 5) sorted by relevance
356 IOMMU_PAGE_MASK(tbl), direction, attrs); in iommu_alloc()522 dma_addr |= (s->offset & ~IOMMU_PAGE_MASK(tbl)); in ppc_iommu_map_sg()529 vaddr & IOMMU_PAGE_MASK(tbl), in ppc_iommu_map_sg()590 vaddr = s->dma_address & IOMMU_PAGE_MASK(tbl); in ppc_iommu_map_sg()875 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()
403 #define IOMMU_PAGE_MASK (((1ULL << 52) - 1) & ~0xfffULL) macro405 #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
155 BUG_ON(*hpa & ~IOMMU_PAGE_MASK(tbl)); in pnv_tce_xchg()