Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A 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()
174 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create()
177 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create()
189 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c69 struct io_pgtable_ops *pgtbl_ops; member
234 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local
254 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain()
255 if (!pgtbl_ops) { in qcom_iommu_init_domain()
313 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
365 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
433 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
450 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
472 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
474 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
H A Darm-smmu.c620 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
770 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
771 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
814 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
851 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1206 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1224 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1274 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1324 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-qcom.c82 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg()
96 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
H A Darm-smmu.h365 struct io_pgtable_ops *pgtbl_ops; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c247 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
301 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
510 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
580 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create()
582 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
H A Dpanfrost_device.h126 struct io_pgtable_ops *pgtbl_ops; member
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1819 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
1930 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
1979 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
1980 if (!pgtbl_ops) in arm_smmu_domain_finalise()
1989 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
1993 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
2231 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
2243 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap()
2271 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-v3.h667 struct io_pgtable_ops *pgtbl_ops; member