Lines Matching refs:it_page_shift
60 debugfs_create_ulong("it_page_shift", 0400, liobn_entry, &tbl->it_page_shift); in iommu_debugfs_add()
277 dma_get_seg_boundary_nr_pages(dev, tbl->it_page_shift), in iommu_range_alloc()
349 ret = entry << tbl->it_page_shift; /* Set the return dma address */ in iommu_alloc()
381 entry = dma_addr >> tbl->it_page_shift; in iommu_free_check()
430 entry = dma_addr >> tbl->it_page_shift; in __iommu_free()
499 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg()
501 align = PAGE_SHIFT - tbl->it_page_shift; in ppc_iommu_map_sg()
503 mask >> tbl->it_page_shift, align); in ppc_iommu_map_sg()
519 dma_addr = entry << tbl->it_page_shift; in ppc_iommu_map_sg()
734 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table()
858 if (tbl->it_page_shift < PAGE_SHIFT && size >= PAGE_SIZE && in iommu_map_page()
860 align = PAGE_SHIFT - tbl->it_page_shift; in iommu_map_page()
863 mask >> tbl->it_page_shift, align, in iommu_map_page()
933 nio_pages = size >> tbl->it_page_shift; in iommu_alloc_coherent()
936 mask >> tbl->it_page_shift, io_order, 0); in iommu_alloc_coherent()
952 nio_pages = size >> tbl->it_page_shift; in iommu_free_coherent()
1073 !mm_iommu_is_devmem(mm, *hpa, tbl->it_page_shift, in iommu_tce_xchg_no_kill()