Searched refs:io_pgtable_ops (Results 1 – 17 of 17) sorted by relevance
/linux/include/linux/ |
H A D | io-pgtable.h | 193 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 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 | apple-dart.c | 262 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 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 | 282 struct io_pgtable_ops *iop;
|
/linux/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 | 671 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 D | arm-smmu.h | 378 struct io_pgtable_ops *pgtbl_ops;
|
H A D | arm-smmu-qcom-debug.c | 384 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in qcom_smmu_context_fault()
|
/linux/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/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/drivers/iommu/amd/ |
H A D | iommu.c | 2312 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 D | panthor_mmu.c | 267 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 D | arm-smmu-v3.c | 2449 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()
|