Searched refs:pgtbl_ops (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 23 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 D | qcom_iommu.c | 69 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 D | arm-smmu.c | 620 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 D | arm-smmu-qcom.c | 82 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 D | arm-smmu.h | 365 struct io_pgtable_ops *pgtbl_ops; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 247 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 D | panfrost_device.h | 126 struct io_pgtable_ops *pgtbl_ops; member
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 1819 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 D | arm-smmu-v3.h | 667 struct io_pgtable_ops *pgtbl_ops; member
|