Searched refs:pgtbl_ops (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/msm/ |
D | msm_iommu.c | 23 struct io_pgtable_ops *pgtbl_ops; member 93 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap() 117 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map() 166 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy() 254 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create() 257 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create() 272 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
|
/Linux-v6.1/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 | 617 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local 767 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context() 768 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() 1186 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 1204 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages() 1254 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard() 1304 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
|
D | arm-smmu-qcom.c | 126 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg() 140 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-v6.1/drivers/iommu/ |
D | apple-dart.c | 160 struct io_pgtable_ops *pgtbl_ops; member 357 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys() 371 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages() 386 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages() 397 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation() 437 dart_domain->pgtbl_ops = in apple_dart_finalize_domain() 439 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain() 604 if (dart_domain->pgtbl_ops) in apple_dart_domain_free() 605 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
|
/Linux-v6.1/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 293 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg() 352 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap() 563 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx() 633 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create() 635 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
|
D | panfrost_device.h | 129 struct io_pgtable_ops *pgtbl_ops; member
|
/Linux-v6.1/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 2058 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free() 2171 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local 2217 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise() 2218 if (!pgtbl_ops) in arm_smmu_domain_finalise() 2227 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise() 2231 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise() 2476 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 2489 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages() 2521 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()
|
D | arm-smmu-v3.h | 713 struct io_pgtable_ops *pgtbl_ops; member
|
/Linux-v6.1/drivers/iommu/amd/ |
D | iommu.c | 2041 struct io_pgtable_ops *pgtbl_ops; in protection_domain_alloc() local 2076 pgtbl_ops = alloc_io_pgtable_ops(pgtable, &domain->iop.pgtbl_cfg, domain); in protection_domain_alloc() 2077 if (!pgtbl_ops) { in protection_domain_alloc()
|