Searched refs:IOMMU_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance
327 IOMMU_PAGE_MASK(tbl), direction, attrs); in iommu_alloc()492 dma_addr |= (s->offset & ~IOMMU_PAGE_MASK(tbl)); in ppc_iommu_map_sg()499 vaddr & IOMMU_PAGE_MASK(tbl), in ppc_iommu_map_sg()561 vaddr = s->dma_address & IOMMU_PAGE_MASK(tbl); in ppc_iommu_map_sg()788 dma_handle |= (uaddr & ~IOMMU_PAGE_MASK(tbl)); in iommu_map_page()938 if (ioba & ~IOMMU_PAGE_MASK(tbl)) in iommu_tce_clear_param_check()958 if (tce & ~(IOMMU_PAGE_MASK(tbl) | TCE_PCI_WRITE | TCE_PCI_READ)) in iommu_tce_put_param_check()961 if (ioba & ~IOMMU_PAGE_MASK(tbl)) in iommu_tce_put_param_check()1052 unsigned long hwaddr, offset = tce & IOMMU_PAGE_MASK(tbl) & ~PAGE_MASK; in iommu_put_tce_user_mode()
318 #define IOMMU_PAGE_MASK (((1ULL << 52) - 1) & ~0xfffULL) macro320 #define IOMMU_PTE_PAGE(pte) (phys_to_virt((pte) & IOMMU_PAGE_MASK))
40 #define IOMMU_PAGE_MASK(tblptr) (~((1 << (tblptr)->it_page_shift) - 1)) macro