Home
last modified time | relevance | path

Searched refs:pgtbl_ops (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/msm/
Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops; member
36 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
55 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
96 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy()
189 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create()
192 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create()
207 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c67 struct io_pgtable_ops *pgtbl_ops; member
232 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local
252 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain()
253 if (!pgtbl_ops) { in qcom_iommu_init_domain()
318 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
362 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
430 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
447 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
469 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
471 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
Darm-smmu.c634 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
784 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
785 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
828 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
865 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1203 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1221 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1271 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1321 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu-qcom.c109 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg()
123 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
Darm-smmu.h369 struct io_pgtable_ops *pgtbl_ops; member
/drivers/iommu/
Dapple-dart.c152 struct io_pgtable_ops *pgtbl_ops; member
349 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
363 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
378 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
389 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation()
429 dart_domain->pgtbl_ops = in apple_dart_finalize_domain()
431 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain()
600 if (dart_domain->pgtbl_ops) in apple_dart_domain_free()
601 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c264 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
319 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
529 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
599 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create()
601 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
Dpanfrost_device.h129 struct io_pgtable_ops *pgtbl_ops; member
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2066 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
2179 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
2225 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
2226 if (!pgtbl_ops) in arm_smmu_domain_finalise()
2235 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
2239 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
2484 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2497 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2529 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu-v3.h722 struct io_pgtable_ops *pgtbl_ops; member
/drivers/iommu/amd/
Diommu.c1907 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local
1939 pgtbl_ops = alloc_io_pgtable_ops(pgtable, &domain->iop.pgtbl_cfg, domain); in protection_domain_alloc()
1940 if (!pgtbl_ops) in protection_domain_alloc()