Lines Matching refs:it_page_shift
61 debugfs_create_ulong("it_page_shift", 0400, liobn_entry, &tbl->it_page_shift); in iommu_debugfs_add()
280 dma_get_seg_boundary_nr_pages(dev, tbl->it_page_shift), in iommu_range_alloc()
352 ret = entry << tbl->it_page_shift; /* Set the return dma address */ in iommu_alloc()
384 entry = dma_addr >> tbl->it_page_shift; in iommu_free_check()
433 entry = dma_addr >> tbl->it_page_shift; in __iommu_free()
502 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg()
504 align = PAGE_SHIFT - tbl->it_page_shift; in ppc_iommu_map_sg()
506 mask >> tbl->it_page_shift, align); in ppc_iommu_map_sg()
522 dma_addr = entry << tbl->it_page_shift; in ppc_iommu_map_sg()
737 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table()
856 if (tbl->it_page_shift < PAGE_SHIFT && size >= PAGE_SIZE && in iommu_map_page()
858 align = PAGE_SHIFT - tbl->it_page_shift; in iommu_map_page()
861 mask >> tbl->it_page_shift, align, in iommu_map_page()
931 nio_pages = size >> tbl->it_page_shift; in iommu_alloc_coherent()
934 mask >> tbl->it_page_shift, io_order, 0); in iommu_alloc_coherent()
950 nio_pages = size >> tbl->it_page_shift; in iommu_free_coherent()
1071 !mm_iommu_is_devmem(mm, *hpa, tbl->it_page_shift, in iommu_tce_xchg_no_kill()