Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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;
/openbmc/linux/drivers/iommu/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dipmmu-vmsa.c76 struct io_pgtable_ops *iop;
H A Dmsm_iommu.c44 struct io_pgtable_ops *iop;
H A Dmtk_iommu.c282 struct io_pgtable_ops *iop;
/openbmc/linux/drivers/iommu/amd/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A 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()
H A 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()
H A Darm-smmu.h369 struct io_pgtable_ops *pgtbl_ops;
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h130 struct io_pgtable_ops *pgtbl_ops;
H A 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()
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h721 struct io_pgtable_ops *pgtbl_ops;
H A 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()