Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dio-pgtable.h214 struct io_pgtable_ops { struct
215 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
218 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
221 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
223 int (*pgtable_walk)(struct io_pgtable_ops *ops, unsigned long iova, void *wd); argument
224 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops, argument
242 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
253 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
273 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-dart.c226 static int dart_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_map_pages()
293 static size_t dart_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_unmap_pages()
336 static phys_addr_t dart_iova_to_phys(struct io_pgtable_ops *ops, in dart_iova_to_phys()
399 data->iop.ops = (struct io_pgtable_ops) { in dart_alloc_pgtable()
H A Dio-pgtable-arm-v7s.c507 static int arm_v7s_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map_pages()
622 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap_pages()
644 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops, in arm_v7s_iova_to_phys()
713 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
813 struct io_pgtable_ops *ops; in arm_v7s_do_selftests()
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 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 Dio-pgtable-arm-selftests.c61 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
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/panfrost/
H A Dpanfrost_mmu.c401 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_unmap_range()
421 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
500 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c256 struct io_pgtable_ops *pgtbl_ops;
874 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages()
930 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.c2596 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
3428 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
3441 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
3473 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
3664 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_read_and_clear_dirty()