Searched refs:pgsizes (Results 1 – 6 of 6) sorted by relevance
438 u32 pgsizes; in malidp_mmu_prefetch_select_mode() local441 pgsizes = *pgsize_bitmap & MALIDP_MMU_PREFETCH_FULL_PGSIZES; in malidp_mmu_prefetch_select_mode()443 while (pgsizes) { in malidp_mmu_prefetch_select_mode()444 u32 largest_pgsize = 1 << __fls(pgsizes); in malidp_mmu_prefetch_select_mode()451 pgsizes -= largest_pgsize; in malidp_mmu_prefetch_select_mode()455 pgsizes = *pgsize_bitmap & MALIDP_MMU_PREFETCH_PARTIAL_PGSIZES; in malidp_mmu_prefetch_select_mode()461 *pgsize_bitmap = 1 << __ffs(pgsizes); in malidp_mmu_prefetch_select_mode()
2402 unsigned long pgsizes; in iommu_pgsize() local2407 pgsizes = domain->pgsize_bitmap & GENMASK(__fls(size), 0); in iommu_pgsize()2411 pgsizes &= GENMASK(__ffs(addr_merge), 0); in iommu_pgsize()2414 BUG_ON(!pgsizes); in iommu_pgsize()2417 pgsize_idx = __fls(pgsizes); in iommu_pgsize()2423 pgsizes = domain->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in iommu_pgsize()2424 if (!pgsizes) in iommu_pgsize()2427 pgsize_idx_next = __ffs(pgsizes); in iommu_pgsize()
195 __u64 pgsizes; /* Bitmap of supported page sizes */ member
664 if (!(table_group->pgsizes & (1ULL << page_shift))) in tce_iommu_create_window()840 info.ddw.pgsizes = table_group->pgsizes; in tce_iommu_ioctl()
1233 __u64 pgsizes; /* Bitmap of supported page sizes */ member
1952 pe->table_group.pgsizes = pnv_ioda_parse_tce_sizes(phb); in pnv_pci_ioda2_setup_dma_pe()
Completed in 25 milliseconds