Lines Matching refs:it_page_shift
181 unsigned int it_page_shift) in tce_page_is_contained() argument
186 if (mm_iommu_is_devmem(mm, hpa, it_page_shift, &size)) in tce_page_is_contained()
187 return size == (1UL << it_page_shift); in tce_page_is_contained()
195 return page_shift(compound_head(page)) >= it_page_shift; in tce_page_is_contained()
212 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()
422 tbl->it_page_shift, &hpa, &mem); in tce_iommu_unuse_page_v2()
517 tbl->it_page_shift)) { in tce_iommu_build()
529 __func__, entry << tbl->it_page_shift, in tce_iommu_build()
562 tce, tbl->it_page_shift, &hpa, &mem); in tce_iommu_build_v2()
567 tbl->it_page_shift)) { in tce_iommu_build_v2()
586 __func__, entry << tbl->it_page_shift, in tce_iommu_build_v2()
695 *start_addr = tbl->it_offset << tbl->it_page_shift; in tce_iommu_create_window()
957 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
959 param.size >> tbl->it_page_shift, in tce_iommu_ioctl()
963 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
965 param.size >> tbl->it_page_shift, in tce_iommu_ioctl()
1005 param.size >> tbl->it_page_shift); in tce_iommu_ioctl()
1010 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
1011 param.size >> tbl->it_page_shift); in tce_iommu_ioctl()