/linux-6.12.1/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 67 struct io_pgtable_ops *pgtbl_ops; member 222 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local 242 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain() 243 if (!pgtbl_ops) { in qcom_iommu_init_domain() 314 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain() 356 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free() 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() 476 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all() 478 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all() [all …]
|
D | arm-smmu.c | 671 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local 815 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context() 816 if (!pgtbl_ops) { in arm_smmu_init_domain_context() 867 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context() 903 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_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()
|
D | arm-smmu-qcom-debug.c | 363 struct io_pgtable *iop = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_smmu_verify_fault() 384 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in qcom_smmu_context_fault()
|
D | arm-smmu-qcom.c | 128 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg() 142 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
|
D | arm-smmu.h | 378 struct io_pgtable_ops *pgtbl_ops; member
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_iommu.c | 23 struct io_pgtable_ops *pgtbl_ops; member 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() 168 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy() 283 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create() 286 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create() 298 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
|
/linux-6.12.1/drivers/iommu/ |
D | apple-dart.c | 262 struct io_pgtable_ops *pgtbl_ops; member 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() 561 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation() 604 dart_domain->pgtbl_ops = alloc_io_pgtable_ops(dart->hw->fmt, &pgtbl_cfg, in apple_dart_finalize_domain() 606 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain() 776 if (dart_domain->pgtbl_ops) in apple_dart_domain_free() 777 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
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() 573 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx() 643 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create() 645 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
|
D | panfrost_device.h | 159 struct io_pgtable_ops *pgtbl_ops; member
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 267 struct io_pgtable_ops *pgtbl_ops; member 710 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active() 831 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size() 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() 1878 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_free() 2322 vm->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, &pgtbl_cfg, vm); in panthor_vm_create() 2323 if (!vm->pgtbl_ops) { in panthor_vm_create() 2341 mair = io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg.arm_lpae_s1_cfg.mair; in panthor_vm_create() 2365 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_create()
|
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 1357 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s1_cd() 1643 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s2_domain_ste() 2352 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free_paging() 2407 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local 2450 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise() 2451 if (!pgtbl_ops) in arm_smmu_domain_finalise() 2462 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise() 2466 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise() 3116 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 3129 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages() [all …]
|
D | arm-smmu-v3-test.c | 307 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s2_ste() 459 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s1_cd()
|
D | arm-smmu-v3.h | 800 struct io_pgtable_ops *pgtbl_ops; member
|
/linux-6.12.1/drivers/iommu/amd/ |
D | iommu.c | 2268 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local 2315 pgtbl_ops = in protection_domain_alloc() 2317 if (!pgtbl_ops) in protection_domain_alloc()
|