Lines Matching refs:pageshift
32 unsigned int pageshift; member
62 unsigned int pageshift; in mm_iommu_do_alloc() local
80 mem->pageshift = __ffs(dev_hpa | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc()
91 mem->pageshift = __ffs(ua | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc()
150 pageshift = PAGE_SHIFT; in mm_iommu_do_alloc()
154 if ((mem->pageshift > PAGE_SHIFT) && PageHuge(page)) in mm_iommu_do_alloc()
155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
156 mem->pageshift = min(mem->pageshift, pageshift); in mm_iommu_do_alloc()
331 unsigned long ua, unsigned int pageshift, unsigned long *hpa) in mm_iommu_ua_to_hpa() argument
339 if (pageshift > mem->pageshift) in mm_iommu_ua_to_hpa()
355 unsigned int pageshift, unsigned long *size) in mm_iommu_is_devmem() argument
373 *size = min(1UL << pageshift, end - hpa); in mm_iommu_is_devmem()