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

/linux-master/include/linux/
H A Dio-pgtable.h175 * struct io_pgtable_ops - Page table manipulation API for IOMMU drivers.
184 struct io_pgtable_ops { struct
185 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova,
188 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova,
191 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops,
193 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops,
209 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
214 * free_io_pgtable_ops() - Free an io_pgtable_ops structure. The caller
220 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
240 struct io_pgtable_ops op
[all...]
/linux-master/drivers/iommu/
H A Dio-pgtable.c57 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
90 void free_io_pgtable_ops(struct io_pgtable_ops *ops)
H A Dio-pgtable-dart.c236 static int dart_map_pages(struct io_pgtable_ops *ops, unsigned long iova,
298 static size_t dart_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova,
341 static phys_addr_t dart_iova_to_phys(struct io_pgtable_ops *ops,
388 data->iop.ops = (struct io_pgtable_ops) {
H A Dio-pgtable-arm-v7s.c544 static int arm_v7s_map_pages(struct io_pgtable_ops *ops, unsigned long iova,
738 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova,
760 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops,
831 data->iop.ops = (struct io_pgtable_ops) {
931 struct io_pgtable_ops *ops;
H A Dio-pgtable-arm.c482 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova,
675 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova,
696 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops,
806 data->iop.ops = (struct io_pgtable_ops) {
1159 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops)
1188 struct io_pgtable_ops *ops;
H A Dapple-dart.c262 struct io_pgtable_ops *pgtbl_ops;
521 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops;
535 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops;
550 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops;
H A Dipmmu-vmsa.c75 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;
/linux-master/drivers/iommu/amd/
H A Dio_pgtable_v2.c236 static int iommu_v2_map_pages(struct io_pgtable_ops *ops, unsigned long iova,
282 static unsigned long iommu_v2_unmap_pages(struct io_pgtable_ops *ops,
311 static phys_addr_t iommu_v2_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova)
H A Dio_pgtable.c363 static int iommu_v1_map_pages(struct io_pgtable_ops *ops, unsigned long iova,
439 static unsigned long iommu_v1_unmap_pages(struct io_pgtable_ops *ops,
473 static phys_addr_t iommu_v1_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova)
524 static int iommu_v1_read_and_clear_dirty(struct io_pgtable_ops *ops,
H A Diommu.c2284 struct io_pgtable_ops *pgtbl_ops;
2489 struct io_pgtable_ops *ops = &domain->iop.iop.ops;
2501 struct io_pgtable_ops *ops = &domain->iop.iop.ops;
2548 struct io_pgtable_ops *ops = &domain->iop.iop.ops;
2567 struct io_pgtable_ops *ops = &domain->iop.iop.ops;
2645 struct io_pgtable_ops *ops = &pdomain->iop.iop.ops;
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops;
95 struct io_pgtable_ops *ops = pagetable->pgtbl_ops;
119 struct io_pgtable_ops *ops = pagetable->pgtbl_ops;
/linux-master/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c67 struct io_pgtable_ops *pgtbl_ops;
222 struct io_pgtable_ops *pgtbl_ops;
436 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops;
454 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops;
498 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops;
H A Darm-smmu.c632 struct io_pgtable_ops *pgtbl_ops;
1216 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
1234 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
1284 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops;
1334 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops;
H A Darm-smmu.h368 struct io_pgtable_ops *pgtbl_ops;
/linux-master/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;
354 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops;
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h723 struct io_pgtable_ops *pgtbl_ops;
H A Darm-smmu-v3.c2293 struct io_pgtable_ops *pgtbl_ops;
2685 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;
2698 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops;
2730 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops;

Completed in 451 milliseconds