Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops; member
93 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
117 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
166 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy()
261 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create()
264 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create()
279 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/
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()
311 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
355 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
397 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
415 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
437 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
439 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
A Darm-smmu.c617 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
767 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
768 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
811 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
848 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1183 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1201 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1251 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1301 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
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()
A Darm-smmu.h369 struct io_pgtable_ops *pgtbl_ops; member
/linux-6.3-rc2/drivers/iommu/
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()
746 if (dart_domain->pgtbl_ops) in apple_dart_domain_free()
747 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
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()
563 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
633 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create()
635 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
A Dpanfrost_device.h130 struct io_pgtable_ops *pgtbl_ops; member
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c2061 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
2174 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
2220 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
2221 if (!pgtbl_ops) in arm_smmu_domain_finalise()
2230 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
2234 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
2470 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
2483 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
2515 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
A Darm-smmu-v3.h713 struct io_pgtable_ops *pgtbl_ops; member
/linux-6.3-rc2/drivers/iommu/amd/
A Diommu.c2061 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local
2100 pgtbl_ops = alloc_io_pgtable_ops(pgtable, &domain->iop.pgtbl_cfg, domain); in protection_domain_alloc()
2101 if (!pgtbl_ops) { in protection_domain_alloc()

Completed in 42 milliseconds