Searched refs:pgtbl_ops (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.15/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() 184 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create() 187 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create() 202 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
|
| /Linux-v5.15/drivers/iommu/arm/arm-smmu/ |
| D | qcom_iommu.c | 67 struct io_pgtable_ops *pgtbl_ops; member 232 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local 252 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain() 253 if (!pgtbl_ops) { in qcom_iommu_init_domain() 311 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain() 355 free_io_pgtable_ops(qcom_domain->pgtbl_ops); in qcom_iommu_domain_free() 423 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map() 440 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap() 462 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all() 464 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all() [all …]
|
| D | arm-smmu.c | 634 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local 784 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context() 785 if (!pgtbl_ops) { in arm_smmu_init_domain_context() 828 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context() 865 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context() 1203 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 1221 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages() 1271 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard() 1321 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
|
| D | arm-smmu-qcom.c | 109 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg() 123 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
|
| D | arm-smmu.h | 369 struct io_pgtable_ops *pgtbl_ops; member
|
| /Linux-v5.15/drivers/iommu/ |
| D | apple-dart.c | 150 struct io_pgtable_ops *pgtbl_ops; member 344 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys() 358 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages() 373 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages() 384 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation() 424 dart_domain->pgtbl_ops = in apple_dart_finalize_domain() 426 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain() 595 if (dart_domain->pgtbl_ops) in apple_dart_domain_free() 596 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
|
| /Linux-v5.15/drivers/gpu/drm/panfrost/ |
| D | panfrost_mmu.c | 264 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg() 318 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap() 527 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx() 597 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create() 599 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
|
| D | panfrost_device.h | 129 struct io_pgtable_ops *pgtbl_ops; member
|
| /Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/ |
| D | arm-smmu-v3.c | 2040 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free() 2153 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local 2199 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise() 2200 if (!pgtbl_ops) in arm_smmu_domain_finalise() 2209 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise() 2213 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise() 2458 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 2471 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages() 2503 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
|
| D | arm-smmu-v3.h | 714 struct io_pgtable_ops *pgtbl_ops; member
|
| /Linux-v5.15/drivers/iommu/amd/ |
| D | iommu.c | 1905 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local 1937 pgtbl_ops = alloc_io_pgtable_ops(pgtable, &domain->iop.pgtbl_cfg, domain); in protection_domain_alloc() 1938 if (!pgtbl_ops) in protection_domain_alloc()
|