Searched refs:pgtbl_ops (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/msm/ |
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() 175 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create() 178 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create() 190 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
|
/Linux-v5.10/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 69 struct io_pgtable_ops *pgtbl_ops; member 242 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local 262 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain() 263 if (!pgtbl_ops) { in qcom_iommu_init_domain() 321 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain() 373 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free() 441 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map() 458 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap() 480 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all() 482 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all() [all …]
|
D | arm-smmu.c | 639 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local 789 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context() 790 if (!pgtbl_ops) { in arm_smmu_init_domain_context() 833 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context() 870 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() 1223 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap() 1273 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard() 1319 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
|
D | arm-smmu.h | 365 struct io_pgtable_ops *pgtbl_ops; member
|
/Linux-v5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 253 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg() 307 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap() 378 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_pgtable_alloc() 380 if (!mmu->pgtbl_ops) in panfrost_mmu_pgtable_alloc() 404 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_pgtable_free()
|
D | panfrost_device.h | 119 struct io_pgtable_ops *pgtbl_ops; member
|
/Linux-v5.10/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 1825 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free() 1936 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local 1985 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise() 1986 if (!pgtbl_ops) in arm_smmu_domain_finalise() 1995 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise() 1999 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise() 2237 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map() 2249 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap() 2277 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
|
D | arm-smmu-v3.h | 667 struct io_pgtable_ops *pgtbl_ops; member
|