Lines Matching refs:pgsize
364 phys_addr_t paddr, size_t pgsize, size_t pgcount, in iommu_v1_map_pages() argument
373 BUG_ON(!IS_ALIGNED(iova, pgsize)); in iommu_v1_map_pages()
374 BUG_ON(!IS_ALIGNED(paddr, pgsize)); in iommu_v1_map_pages()
381 count = PAGE_SIZE_PTE_COUNT(pgsize); in iommu_v1_map_pages()
382 pte = alloc_pte(dom, iova, pgsize, NULL, gfp, &updated); in iommu_v1_map_pages()
395 __pte = PAGE_SIZE_PTE(__sme_set(paddr), pgsize); in iommu_v1_map_pages()
408 iova += pgsize; in iommu_v1_map_pages()
409 paddr += pgsize; in iommu_v1_map_pages()
412 *mapped += pgsize; in iommu_v1_map_pages()
440 size_t pgsize, size_t pgcount, in iommu_v1_unmap_pages() argument
447 size_t size = pgcount << __ffs(pgsize); in iommu_v1_unmap_pages()
449 BUG_ON(!is_power_of_2(pgsize)); in iommu_v1_unmap_pages()