Searched refs:IOMMU_PAGE_SIZE (Results 1 - 7 of 7) sorted by relevance
/linux-master/arch/powerpc/include/asm/ |
H A D | iommu.h | 27 #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 D | vio.c | 524 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 D | iommu.c | 125 const unsigned long pagesize = IOMMU_PAGE_SIZE(tbl);
|
/linux-master/arch/powerpc/kernel/ |
H A D | iommu.c | 509 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 D | vfio_iommu_spapr_tce.c | 537 tce += IOMMU_PAGE_SIZE(tbl); 596 tce += IOMMU_PAGE_SIZE(tbl);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_vio.c | 560 ++i, pgoff += IOMMU_PAGE_SIZE(tbl)) {
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 1291 IOMMU_PAGE_SIZE(tbl)); 1303 IOMMU_PAGE_SIZE(tbl));
|
Completed in 213 milliseconds