Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dio-pgtable.h210 struct io_pgtable_ops { struct
211 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
214 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
217 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
219 int (*pgtable_walk)(struct io_pgtable_ops *ops, unsigned long iova, void *wd); argument
220 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops, argument
236 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
247 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
267 struct io_pgtable_ops ops;
/linux/drivers/iommu/
H A Dio-pgtable.c53 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
86 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
H A Dio-pgtable-arm.c549 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages()
684 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
734 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
763 static int arm_lpae_pgtable_walk(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_pgtable_walk()
845 static int arm_lpae_read_and_clear_dirty(struct io_pgtable_ops *ops, in arm_lpae_read_and_clear_dirty()
947 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
H A Dio-pgtable-arm-selftests.c61 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
H A Dapple-dart.c267 struct io_pgtable_ops *pgtbl_ops;
535 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
549 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
564 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.c286 struct io_pgtable_ops *iop;
/linux/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.c681 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1273 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1291 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1341 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1391 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()
/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c30 struct io_pgtable_ops *pgtbl_ops;
105 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
137 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map_prr()
169 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c256 struct io_pgtable_ops *pgtbl_ops;
906 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages()
943 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c2536 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
3367 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
3380 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
3412 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
3604 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_read_and_clear_dirty()