Home
last modified time | relevance | path

Searched refs:IOMMU_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/kernel/
Diommu.c318 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()
/arch/powerpc/include/asm/
Diommu.h28 #define IOMMU_PAGE_MASK(tblptr) (~((1 << (tblptr)->it_page_shift) - 1)) macro
/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c156 BUG_ON(*hpa & ~IOMMU_PAGE_MASK(tbl)); in pnv_tce_xchg()