Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iommu/
Dqcom_iommu.c73 struct io_pgtable_ops *pgtbl_ops; member
216 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local
234 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, fwspec); in qcom_iommu_init_domain()
235 if (!pgtbl_ops) { in qcom_iommu_init_domain()
294 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
348 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free()
418 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
435 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
457 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_iotlb_sync()
459 if (!qcom_domain->pgtbl_ops) in qcom_iommu_iotlb_sync()
[all …]
Darm-smmu.c245 struct io_pgtable_ops *pgtbl_ops; member
727 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
867 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
868 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
898 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
930 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1236 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
1247 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap()
1269 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1310 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
Darm-smmu-v3.c613 struct io_pgtable_ops *pgtbl_ops; member
1502 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free()
1580 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
1627 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
1628 if (!pgtbl_ops) in arm_smmu_domain_finalise()
1637 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
1641 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
1756 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
1767 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap()
1786 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()