Searched refs:IOMMU_PAGE_SIZE (Results 1 - 7 of 7) sorted by relevance

/linux-master/arch/powerpc/include/asm/
H 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))
/linux-master/arch/powerpc/platforms/pseries/
H A Dvio.c524 if (vio_cmo_alloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl))))
533 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)));
548 vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE(tbl)));
562 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl));
573 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl));
597 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl));
H A Diommu.c125 const unsigned long pagesize = IOMMU_PAGE_SIZE(tbl);
/linux-master/arch/powerpc/kernel/
H A Diommu.c509 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl));
602 IOMMU_PAGE_SIZE(tbl));
632 IOMMU_PAGE_SIZE(tbl));
868 npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl));
901 IOMMU_PAGE_SIZE(tbl));
/linux-master/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c537 tce += IOMMU_PAGE_SIZE(tbl);
596 tce += IOMMU_PAGE_SIZE(tbl);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_vio.c560 ++i, pgoff += IOMMU_PAGE_SIZE(tbl)) {
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c1291 IOMMU_PAGE_SIZE(tbl));
1303 IOMMU_PAGE_SIZE(tbl));

Completed in 213 milliseconds