Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dio-pgtable.h160 struct io_pgtable_ops { struct
161 int (*map)(struct io_pgtable_ops *ops, unsigned long iova, argument
163 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
166 size_t (*unmap)(struct io_pgtable_ops *ops, unsigned long iova, argument
168 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
171 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
185 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
196 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
216 struct io_pgtable_ops ops;
/linux-5.19.10/drivers/iommu/
Dio-pgtable.c33 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
63 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
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.c477 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages()
512 static int arm_lpae_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map()
677 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
698 static size_t arm_lpae_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap()
704 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
814 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
1215 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops()
1244 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
Dapple-dart.c152 struct io_pgtable_ops *pgtbl_ops;
349 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
363 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
378 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.c242 struct io_pgtable_ops *iop;
/linux-5.19.10/drivers/gpu/drm/msm/
Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops;
36 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
55 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
/linux-5.19.10/drivers/iommu/amd/
Dio_pgtable.c365 static int iommu_v1_map_page(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v1_map_page()
431 static unsigned long iommu_v1_unmap_page(struct io_pgtable_ops *ops, in iommu_v1_unmap_page()
464 static phys_addr_t iommu_v1_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v1_iova_to_phys()
Diommu.c1927 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc()
2071 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iotlb_sync_map()
2082 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_map()
2127 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_unmap()
2145 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iova_to_phys()
/linux-5.19.10/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.c634 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1203 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1221 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1271 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1321 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu.h368 struct io_pgtable_ops *pgtbl_ops;
/linux-5.19.10/drivers/gpu/drm/panfrost/
Dpanfrost_device.h129 struct io_pgtable_ops *pgtbl_ops;
Dpanfrost_mmu.c280 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
335 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/linux-5.19.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.h713 struct io_pgtable_ops *pgtbl_ops;
Darm-smmu-v3.c2161 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
2466 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2479 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2511 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()