Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dio-pgtable.h162 struct io_pgtable_ops { struct
163 int (*map)(struct io_pgtable_ops *ops, unsigned long iova, argument
165 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
168 size_t (*unmap)(struct io_pgtable_ops *ops, unsigned long iova, argument
170 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
173 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
187 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
198 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
218 struct io_pgtable_ops ops;
/Linux-v6.1/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()
579 static int arm_v7s_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map()
745 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap_pages()
767 static size_t arm_v7s_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap()
773 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops, in arm_v7s_iova_to_phys()
844 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
946 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()
499 static int arm_lpae_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map()
664 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
685 static size_t arm_lpae_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap()
691 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
801 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
1151 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops()
1180 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
Dapple-dart.c160 struct io_pgtable_ops *pgtbl_ops;
357 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
371 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
386 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.c244 struct io_pgtable_ops *iop;
/Linux-v6.1/drivers/iommu/amd/
Dio_pgtable_v2.c242 static int iommu_v2_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v2_map_pages()
293 static unsigned long iommu_v2_unmap_pages(struct io_pgtable_ops *ops, in iommu_v2_unmap_pages()
322 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.c2041 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc()
2196 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iotlb_sync_map()
2207 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_map_pages()
2254 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_unmap_pages()
2273 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iova_to_phys()
/Linux-v6.1/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.1/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()
423 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
440 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
484 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_iova_to_phys()
Darm-smmu.c617 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1186 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1204 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1254 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1304 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.1/drivers/gpu/drm/panfrost/
Dpanfrost_device.h129 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.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.h713 struct io_pgtable_ops *pgtbl_ops;
Darm-smmu-v3.c2171 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
2476 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2489 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2521 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()