| /linux-6.15/include/linux/ |
| H A D | io-pgtable.h | 203 struct io_pgtable_ops { struct 204 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument 207 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument 210 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument 212 int (*pgtable_walk)(struct io_pgtable_ops *ops, unsigned long iova, void *wd); argument 213 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops, argument 229 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, 240 void free_io_pgtable_ops(struct io_pgtable_ops *ops); 260 struct io_pgtable_ops ops;
|
| /linux-6.15/drivers/iommu/ |
| H A D | io-pgtable.c | 57 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 D | io-pgtable-dart.c | 231 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 D | io-pgtable-arm.c | 555 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages() 686 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages() 736 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys() 765 static int arm_lpae_pgtable_walk(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_pgtable_walk() 847 static int arm_lpae_read_and_clear_dirty(struct io_pgtable_ops *ops, in arm_lpae_read_and_clear_dirty() 949 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable() 1298 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops() 1327 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
|
| H A D | io-pgtable-arm-v7s.c | 507 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 D | apple-dart.c | 262 struct io_pgtable_ops *pgtbl_ops; 524 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys() 538 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages() 553 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
|
| H A D | msm_iommu.c | 44 struct io_pgtable_ops *iop;
|
| H A D | ipmmu-vmsa.c | 75 struct io_pgtable_ops *iop;
|
| H A D | mtk_iommu.c | 283 struct io_pgtable_ops *iop;
|
| /linux-6.15/drivers/iommu/amd/ |
| H A D | io_pgtable_v2.c | 232 static int iommu_v2_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v2_map_pages() 284 static unsigned long iommu_v2_unmap_pages(struct io_pgtable_ops *ops, in iommu_v2_unmap_pages() 313 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 D | io_pgtable.c | 326 static int iommu_v1_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in iommu_v1_map_pages() 403 static unsigned long iommu_v1_unmap_pages(struct io_pgtable_ops *ops, in iommu_v1_unmap_pages() 437 static phys_addr_t iommu_v1_iova_to_phys(struct io_pgtable_ops *ops, unsigned long iova) in iommu_v1_iova_to_phys() 488 static int iommu_v1_read_and_clear_dirty(struct io_pgtable_ops *ops, in iommu_v1_read_and_clear_dirty()
|
| H A D | iommu.c | 2473 struct io_pgtable_ops *pgtbl_ops; in pdom_setup_pgtable() 2689 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iotlb_sync_map() 2701 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_map_pages() 2748 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_unmap_pages() 2767 struct io_pgtable_ops *ops = &domain->iop.pgtbl.ops; in amd_iommu_iova_to_phys() 2844 struct io_pgtable_ops *ops = &pdomain->iop.pgtbl.ops; in amd_iommu_read_and_clear_dirty()
|
| /linux-6.15/drivers/iommu/arm/arm-smmu/ |
| H A D | qcom_iommu.c | 67 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 D | arm-smmu.c | 675 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() 1261 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 1279 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages() 1329 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard() 1379 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
|
| H A D | arm-smmu-qcom-debug.c | 384 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in qcom_smmu_context_fault()
|
| H A D | arm-smmu.h | 380 struct io_pgtable_ops *pgtbl_ops;
|
| /linux-6.15/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 23 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-6.15/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_device.h | 159 struct io_pgtable_ops *pgtbl_ops;
|
| H A D | panfrost_mmu.c | 295 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-6.15/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 268 struct io_pgtable_ops *pgtbl_ops; 912 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages() 944 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages()
|
| /linux-6.15/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.h | 854 struct io_pgtable_ops *pgtbl_ops;
|
| H A D | arm-smmu-v3.c | 2536 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() 3291 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 3304 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages() 3336 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys() 3535 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_read_and_clear_dirty()
|