Searched refs:pgsizes (Results 1 – 4 of 4) sorted by relevance
49 unsigned long pgsizes; in calc_pgsize() local54 pgsizes = pagetable->pgsize_bitmap & GENMASK(__fls(size), 0); in calc_pgsize()58 pgsizes &= GENMASK(__ffs(addr_merge), 0); in calc_pgsize()61 BUG_ON(!pgsizes); in calc_pgsize()64 pgsize_idx = __fls(pgsizes); in calc_pgsize()70 pgsizes = pagetable->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in calc_pgsize()71 if (!pgsizes) in calc_pgsize()74 pgsize_idx_next = __ffs(pgsizes); in calc_pgsize()
426 u32 pgsizes; in malidp_mmu_prefetch_select_mode() local429 pgsizes = *pgsize_bitmap & MALIDP_MMU_PREFETCH_FULL_PGSIZES; in malidp_mmu_prefetch_select_mode()431 while (pgsizes) { in malidp_mmu_prefetch_select_mode()432 u32 largest_pgsize = 1 << __fls(pgsizes); in malidp_mmu_prefetch_select_mode()439 pgsizes -= largest_pgsize; in malidp_mmu_prefetch_select_mode()443 pgsizes = *pgsize_bitmap & MALIDP_MMU_PREFETCH_PARTIAL_PGSIZES; in malidp_mmu_prefetch_select_mode()449 *pgsize_bitmap = 1 << __ffs(pgsizes); in malidp_mmu_prefetch_select_mode()
2407 unsigned long pgsizes; in iommu_pgsize() local2413 pgsizes = domain->pgsize_bitmap & GENMASK(__fls(size), 0); in iommu_pgsize()2417 pgsizes &= GENMASK(__ffs(addr_merge), 0); in iommu_pgsize()2420 BUG_ON(!pgsizes); in iommu_pgsize()2423 pgsize_idx = __fls(pgsizes); in iommu_pgsize()2429 pgsizes = domain->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in iommu_pgsize()2430 if (!pgsizes) in iommu_pgsize()2433 pgsize_idx_next = __ffs(pgsizes); in iommu_pgsize()
663 if (!(table_group->pgsizes & (1ULL << page_shift))) in tce_iommu_create_window()889 info.ddw.pgsizes = table_group->pgsizes; in tce_iommu_ioctl()
Completed in 19 milliseconds