Home
last modified time | relevance | path

Searched refs:io_pgtable_ops (Results 1 – 22 of 22) sorted by relevance

/linux-6.15/include/linux/
H A Dio-pgtable.h203 struct io_pgtable_ops { struct
204 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
207 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
210 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
212 int (*pgtable_walk)(struct io_pgtable_ops *ops, unsigned long iova, void *wd); argument
213 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops, argument
229 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
240 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
260 struct io_pgtable_ops ops;
/linux-6.15/drivers/iommu/
H A Dio-pgtable.c57 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
90 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
H A Dio-pgtable-dart.c231 static int dart_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_map_pages()
292 static size_t dart_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_unmap_pages()
335 static phys_addr_t dart_iova_to_phys(struct io_pgtable_ops *ops, in dart_iova_to_phys()
382 data->iop.ops = (struct io_pgtable_ops) { in dart_alloc_pgtable()
H A Dio-pgtable-arm.c555 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages()
686 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
736 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
765 static int arm_lpae_pgtable_walk(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_pgtable_walk()
847 static int arm_lpae_read_and_clear_dirty(struct io_pgtable_ops *ops, in arm_lpae_read_and_clear_dirty()
949 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
1298 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops()
1327 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
H A Dio-pgtable-arm-v7s.c507 static int arm_v7s_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map_pages()
622 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap_pages()
644 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops, in arm_v7s_iova_to_phys()
713 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
813 struct io_pgtable_ops *ops; in arm_v7s_do_selftests()
H A Dapple-dart.c262 struct io_pgtable_ops *pgtbl_ops;
524 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
538 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
553 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
H A Dmsm_iommu.c44 struct io_pgtable_ops *iop;
H A Dipmmu-vmsa.c75 struct io_pgtable_ops *iop;
H A Dmtk_iommu.c283 struct io_pgtable_ops *iop;
/linux-6.15/drivers/iommu/amd/
H A Dio_pgtable_v2.c232 static int iommu_v2_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v2_map_pages()
284 static unsigned long iommu_v2_unmap_pages(struct io_pgtable_ops *ops, in iommu_v2_unmap_pages()
313 static phys_addr_t iommu_v2_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v2_iova_to_phys()
H A Dio_pgtable.c326 static int iommu_v1_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v1_map_pages()
403 static unsigned long iommu_v1_unmap_pages(struct io_pgtable_ops *ops, in iommu_v1_unmap_pages()
437 static phys_addr_t iommu_v1_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v1_iova_to_phys()
488 static int iommu_v1_read_and_clear_dirty(struct io_pgtable_ops *ops, in iommu_v1_read_and_clear_dirty()
H A Diommu.c2473 struct io_pgtable_ops *pgtbl_ops; in pdom_setup_pgtable()
2689 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iotlb_sync_map()
2701 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_map_pages()
2748 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_unmap_pages()
2767 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iova_to_phys()
2844 struct io_pgtable_ops *ops = &pdomain->iop.pgtbl.ops; in amd_iommu_read_and_clear_dirty()
/linux-6.15/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c67 struct io_pgtable_ops *pgtbl_ops;
222 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain()
436 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
454 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
498 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_iova_to_phys()
H A Darm-smmu.c675 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1261 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1279 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1329 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1379 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-qcom-debug.c384 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in qcom_smmu_context_fault()
H A Darm-smmu.h380 struct io_pgtable_ops *pgtbl_ops;
/linux-6.15/drivers/gpu/drm/msm/
H A Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops;
95 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
119 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h159 struct io_pgtable_ops *pgtbl_ops;
H A Dpanfrost_mmu.c295 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
354 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c268 struct io_pgtable_ops *pgtbl_ops;
912 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages()
944 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages()
/linux-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h854 struct io_pgtable_ops *pgtbl_ops;
H A Darm-smmu-v3.c2536 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
3291 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
3304 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
3336 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
3535 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_read_and_clear_dirty()