Searched refs:pgsize_idx (Results 1 – 3 of 3) sorted by relevance
40 unsigned int pgsize_idx, pgsize_idx_next; in calc_pgsize() local56 pgsize_idx = __fls(pgsizes); in calc_pgsize()57 pgsize = BIT(pgsize_idx); in calc_pgsize()62 pgsizes = pagetable->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in calc_pgsize()87 *count = size >> pgsize_idx; in calc_pgsize()
625 unsigned int pgsize_idx; in ipu6_mmu_pgsize() local629 pgsize_idx = __fls(size); in ipu6_mmu_pgsize()635 pgsize_idx = min(pgsize_idx, align_pgsize_idx); in ipu6_mmu_pgsize()638 pgsize = (1UL << (pgsize_idx + 1)) - 1; in ipu6_mmu_pgsize()644 pgsize_idx = __fls(pgsize); in ipu6_mmu_pgsize()645 pgsize = 1UL << pgsize_idx; in ipu6_mmu_pgsize()
2391 unsigned int pgsize_idx, pgsize_idx_next; in iommu_pgsize() local2407 pgsize_idx = __fls(pgsizes); in iommu_pgsize()2408 pgsize = BIT(pgsize_idx); in iommu_pgsize()2413 pgsizes = domain->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in iommu_pgsize()2438 *count = size >> pgsize_idx; in iommu_pgsize()