Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A 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()
324 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
368 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
410 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
428 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
450 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
452 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
H A Darm-smmu.c616 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
766 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
767 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
810 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
847 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1181 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1199 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1249 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1299 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-qcom.c126 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg()
140 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
H A Darm-smmu.h369 struct io_pgtable_ops *pgtbl_ops; member
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c23 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()
/openbmc/linux/drivers/iommu/
H A Dapple-dart.c263 struct io_pgtable_ops *pgtbl_ops; member
519 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
533 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
548 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
559 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation()
600 dart_domain->pgtbl_ops = in apple_dart_finalize_domain()
602 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain()
745 if (dart_domain->pgtbl_ops) in apple_dart_domain_free()
746 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c293 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
352 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
570 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
640 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create()
642 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
H A Dpanfrost_device.h130 struct io_pgtable_ops *pgtbl_ops; member
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c2068 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
2183 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
2229 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
2230 if (!pgtbl_ops) in arm_smmu_domain_finalise()
2239 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
2243 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
2486 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2499 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2531 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-v3.h721 struct io_pgtable_ops *pgtbl_ops; member
/openbmc/linux/drivers/iommu/amd/
H A Diommu.c2092 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local
2137 pgtbl_ops = alloc_io_pgtable_ops(pgtable, &domain->iop.pgtbl_cfg, domain); in protection_domain_alloc()
2138 if (!pgtbl_ops) { in protection_domain_alloc()