Home
last modified time | relevance | path

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

/linux/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c67 struct io_pgtable_ops *pgtbl_ops; member
222 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain() local
242 pgtbl_ops = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &pgtbl_cfg, qcom_domain); in qcom_iommu_init_domain()
243 if (!pgtbl_ops) { in qcom_iommu_init_domain()
312 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()
436 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
454 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
476 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()
478 if (!qcom_domain->pgtbl_ops) in qcom_iommu_flush_iotlb_all()
[all …]
H A Darm-smmu.c681 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context() local
825 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_init_domain_context()
826 if (!pgtbl_ops) { in arm_smmu_init_domain_context()
877 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_init_domain_context()
913 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_destroy_domain_context()
1273 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1291 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1341 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1391 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu-qcom-debug.c363 struct io_pgtable *iop = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_smmu_verify_fault()
384 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in qcom_smmu_context_fault()
/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c30 struct io_pgtable_ops *pgtbl_ops; member
105 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
137 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map_prr()
169 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
244 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy()
285 if (!pagetable->pgtbl_ops->pgtable_walk) in msm_iommu_pagetable_walk()
288 pagetable->pgtbl_ops->pgtable_walk(pagetable->pgtbl_ops, iova, &wd); in msm_iommu_pagetable_walk()
568 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create()
571 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create()
586 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c401 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_unmap_range()
421 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
500 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
735 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
820 mmu->pgtbl_ops = alloc_io_pgtable_ops(fmt, &mmu->pgtbl_cfg, mmu); in panfrost_mmu_ctx_create()
821 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
835 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_ctx_create()
/linux/drivers/iommu/
H A Dapple-dart.c267 struct io_pgtable_ops *pgtbl_ops; member
535 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
549 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
564 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
575 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation()
619 dart_domain->pgtbl_ops = alloc_io_pgtable_ops(dart->hw->fmt, &pgtbl_cfg, in apple_dart_finalize_domain()
621 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain()
794 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c256 struct io_pgtable_ops *pgtbl_ops; member
670 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active()
806 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()
874 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages()
930 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages()
1913 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_free()
2473 vm->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, &pgtbl_cfg, vm); in panthor_vm_create()
2474 if (!vm->pgtbl_ops) { in panthor_vm_create()
2488 mair = io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg.arm_lpae_s1_cfg.mair; in panthor_vm_create()
2513 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_create()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1440 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s1_cd()
1724 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s2_domain_ste()
2541 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free_paging()
2596 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local
2636 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise()
2637 if (!pgtbl_ops) in arm_smmu_domain_finalise()
2648 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise()
2652 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise()
3428 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
3441 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages()
[all …]