Searched refs:pgsize_idx (Results 1 – 2 of 2) sorted by relevance
50 unsigned int pgsize_idx, pgsize_idx_next; in calc_pgsize() local66 pgsize_idx = __fls(pgsizes); in calc_pgsize()67 pgsize = BIT(pgsize_idx); in calc_pgsize()72 pgsizes = pagetable->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in calc_pgsize()97 *count = size >> pgsize_idx; in calc_pgsize()
2523 unsigned int pgsize_idx, pgsize_idx_next; in iommu_pgsize() local2540 pgsize_idx = __fls(pgsizes); in iommu_pgsize()2541 pgsize = BIT(pgsize_idx); in iommu_pgsize()2546 pgsizes = domain->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in iommu_pgsize()2572 *count = size >> pgsize_idx; in iommu_pgsize()