Home
last modified time | relevance | path

Searched refs:IOMMU_PAGE_SIZE (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/include/asm/
A Diommu.h27 #define IOMMU_PAGE_SIZE(tblptr) (ASM_CONST(1) << (tblptr)->it_page_shift) macro
29 #define IOMMU_PAGE_ALIGN(addr, tblptr) ALIGN(addr, IOMMU_PAGE_SIZE(tblptr))
/arch/powerpc/kernel/
A Diommu.c511 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg()
604 IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg()
634 IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_unmap_sg()
870 npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl)); in iommu_map_page()
903 IOMMU_PAGE_SIZE(tbl)); in iommu_unmap_page()
/arch/powerpc/platforms/pseries/
A Dvio.c524 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)))) in vio_dma_iommu_map_page()
533 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_map_page()
548 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))); in vio_dma_iommu_unmap_page()
562 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg()
573 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg()
597 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg()
A Diommu.c131 const unsigned long pagesize = IOMMU_PAGE_SIZE(tbl); in tce_build_pSeries()
/arch/powerpc/kvm/
A Dbook3s_64_vio.c557 ++i, pgoff += IOMMU_PAGE_SIZE(tbl)) { in kvmppc_tce_iommu_map()
/arch/powerpc/platforms/powernv/
A Dpci-ioda.c1289 IOMMU_PAGE_SIZE(tbl)); in pnv_pci_ioda2_set_window()
1301 IOMMU_PAGE_SIZE(tbl)); in pnv_pci_ioda2_set_window()

Completed in 32 milliseconds