Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Dqcom_iommu.c63 struct io_pgtable_ops *pgtbl_ops; member
228 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local
246 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, fwspec); in qcom_iommu_init_domain()
247 if (!pgtbl_ops) { in qcom_iommu_init_domain()
306 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
360 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
431 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
448 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
470 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
472 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
Darm-smmu.c633 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
780 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
781 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()
1165 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
1182 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap()
1227 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1272 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu-v3.c655 struct io_pgtable_ops *pgtbl_ops; member
2128 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
2206 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
2254 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
2255 if (!pgtbl_ops) in arm_smmu_domain_finalise()
2264 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
2268 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
2453 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
2465 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap()
2493 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu.h316 struct io_pgtable_ops *pgtbl_ops; member
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c248 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
299 struct io_pgtable_ops *ops = bo->mmu->pgtbl_ops; in panfrost_mmu_unmap()
368 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_pgtable_alloc()
370 if (!mmu->pgtbl_ops) in panfrost_mmu_pgtable_alloc()
394 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_pgtable_free()
Dpanfrost_device.h104 struct io_pgtable_ops *pgtbl_ops; member