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.h193 struct io_pgtable_ops { struct
194 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
197 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
200 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
202 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops, argument
218 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
229 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
249 struct io_pgtable_ops ops;
/linux/drivers/iommu/
H A Dio-pgtable.c57 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
90 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
H A Dio-pgtable-dart.c231 static int dart_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_map_pages()
292 static size_t dart_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in dart_unmap_pages()
335 static phys_addr_t dart_iova_to_phys(struct io_pgtable_ops *ops, in dart_iova_to_phys()
382 data->iop.ops = (struct io_pgtable_ops) { in dart_alloc_pgtable()
H A Dapple-dart.c262 struct io_pgtable_ops *pgtbl_ops;
521 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
535 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
550 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.c282 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.c671 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1259 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1277 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1327 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1377 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu.h378 struct io_pgtable_ops *pgtbl_ops;
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.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()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h159 struct io_pgtable_ops *pgtbl_ops;
H A Dpanfrost_mmu.c295 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
354 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/linux/drivers/iommu/amd/
H A Diommu.c2312 struct io_pgtable_ops *pgtbl_ops; in pdom_setup_pgtable()
2557 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iotlb_sync_map()
2569 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_map_pages()
2616 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_unmap_pages()
2635 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iova_to_phys()
2713 struct io_pgtable_ops *ops = &pdomain->iop.pgtbl.ops; in amd_iommu_read_and_clear_dirty()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c267 struct io_pgtable_ops *pgtbl_ops;
911 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.c2449 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
3182 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
3195 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
3227 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
3415 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_read_and_clear_dirty()