Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dio-pgtable.h160 struct io_pgtable_ops { struct
161 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
164 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
167 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
181 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
192 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
212 struct io_pgtable_ops ops;
/Linux-v6.6/drivers/iommu/
Dio-pgtable.c37 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
67 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
Dio-pgtable-dart.c236 static int dart_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_map_pages()
298 static size_t dart_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_unmap_pages()
341 static phys_addr_t dart_iova_to_phys(struct io_pgtable_ops *ops, in dart_iova_to_phys()
388 data->iop.ops = (struct io_pgtable_ops) { in dart_alloc_pgtable()
Dio-pgtable-arm-v7s.c544 static int arm_v7s_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map_pages()
738 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap_pages()
760 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops, in arm_v7s_iova_to_phys()
831 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
931 struct io_pgtable_ops *ops; in arm_v7s_do_selftests()
Dio-pgtable-arm.c464 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages()
657 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
678 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
788 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
1136 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops()
1165 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
Dapple-dart.c263 struct io_pgtable_ops *pgtbl_ops;
519 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
533 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
548 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
Dmsm_iommu.c44 struct io_pgtable_ops *iop;
Dipmmu-vmsa.c76 struct io_pgtable_ops *iop;
Dmtk_iommu.c282 struct io_pgtable_ops *iop;
/Linux-v6.6/drivers/iommu/amd/
Dio_pgtable_v2.c236 static int iommu_v2_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v2_map_pages()
288 static unsigned long iommu_v2_unmap_pages(struct io_pgtable_ops *ops, in iommu_v2_unmap_pages()
317 static phys_addr_t iommu_v2_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v2_iova_to_phys()
Dio_pgtable.c363 static int iommu_v1_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v1_map_pages()
438 static unsigned long iommu_v1_unmap_pages(struct io_pgtable_ops *ops, in iommu_v1_unmap_pages()
472 static phys_addr_t iommu_v1_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v1_iova_to_phys()
Diommu.c2092 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc()
2240 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iotlb_sync_map()
2251 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_map_pages()
2298 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_unmap_pages()
2317 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iova_to_phys()
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops;
93 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
117 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
/Linux-v6.6/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c67 struct io_pgtable_ops *pgtbl_ops;
232 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain()
410 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
428 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
472 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_iova_to_phys()
Darm-smmu.c616 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1181 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1199 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1249 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1299 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu.h369 struct io_pgtable_ops *pgtbl_ops;
/Linux-v6.6/drivers/gpu/drm/panfrost/
Dpanfrost_device.h130 struct io_pgtable_ops *pgtbl_ops;
Dpanfrost_mmu.c293 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
352 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.h721 struct io_pgtable_ops *pgtbl_ops;
Darm-smmu-v3.c2183 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
2486 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2499 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2531 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()