Lines Matching refs:it_page_shift
180 unsigned int it_page_shift) in tce_page_is_contained() argument
185 if (mm_iommu_is_devmem(mm, hpa, it_page_shift, &size)) in tce_page_is_contained()
186 return size == (1UL << it_page_shift); in tce_page_is_contained()
194 return page_shift(compound_head(page)) >= it_page_shift; in tce_page_is_contained()
211 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()
421 tbl->it_page_shift, &hpa, &mem); in tce_iommu_unuse_page_v2()
516 tbl->it_page_shift)) { in tce_iommu_build()
528 __func__, entry << tbl->it_page_shift, in tce_iommu_build()
561 tce, tbl->it_page_shift, &hpa, &mem); in tce_iommu_build_v2()
566 tbl->it_page_shift)) { in tce_iommu_build_v2()
585 __func__, entry << tbl->it_page_shift, in tce_iommu_build_v2()
694 *start_addr = tbl->it_offset << tbl->it_page_shift; in tce_iommu_create_window()
907 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
909 param.size >> tbl->it_page_shift, in tce_iommu_ioctl()
913 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
915 param.size >> tbl->it_page_shift, in tce_iommu_ioctl()
955 param.size >> tbl->it_page_shift); in tce_iommu_ioctl()
960 param.iova >> tbl->it_page_shift, in tce_iommu_ioctl()
961 param.size >> tbl->it_page_shift); in tce_iommu_ioctl()