Lines Matching refs:it_page_shift
60 debugfs_create_ulong("it_page_shift", 0400, liobn_entry, &tbl->it_page_shift); in iommu_debugfs_add()
279 dma_get_seg_boundary_nr_pages(dev, tbl->it_page_shift), in iommu_range_alloc()
351 ret = entry << tbl->it_page_shift; /* Set the return dma address */ in iommu_alloc()
383 entry = dma_addr >> tbl->it_page_shift; in iommu_free_check()
432 entry = dma_addr >> tbl->it_page_shift; in __iommu_free()
501 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg()
503 align = PAGE_SHIFT - tbl->it_page_shift; in ppc_iommu_map_sg()
505 mask >> tbl->it_page_shift, align); in ppc_iommu_map_sg()
521 dma_addr = entry << tbl->it_page_shift; in ppc_iommu_map_sg()
736 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table()
860 if (tbl->it_page_shift < PAGE_SHIFT && size >= PAGE_SIZE && in iommu_map_page()
862 align = PAGE_SHIFT - tbl->it_page_shift; in iommu_map_page()
865 mask >> tbl->it_page_shift, align, in iommu_map_page()
935 nio_pages = size >> tbl->it_page_shift; in iommu_alloc_coherent()
938 mask >> tbl->it_page_shift, io_order, 0); in iommu_alloc_coherent()
954 nio_pages = size >> tbl->it_page_shift; in iommu_free_coherent()
1075 !mm_iommu_is_devmem(mm, *hpa, tbl->it_page_shift, in iommu_tce_xchg_no_kill()