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()
314 qcom_domain->pgtbl_ops = pgtbl_ops; in qcom_iommu_init_domain()
356 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-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()
H A Darm-smmu.h378 struct io_pgtable_ops *pgtbl_ops; member
/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops; member
95 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
119 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
168 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy()
283 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create()
286 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create()
298 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_create()
/linux/drivers/iommu/
H A Dapple-dart.c262 struct io_pgtable_ops *pgtbl_ops; member
521 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys()
535 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages()
550 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages()
561 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation()
604 dart_domain->pgtbl_ops = alloc_io_pgtable_ops(dart->hw->fmt, &pgtbl_cfg, in apple_dart_finalize_domain()
606 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain()
776 if (dart_domain->pgtbl_ops) in apple_dart_domain_free()
777 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c295 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
354 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
573 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx()
643 mmu->pgtbl_ops = alloc_io_pgtable_ops(ARM_MALI_LPAE, &mmu->pgtbl_cfg, in panfrost_mmu_ctx_create()
645 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create()
H A Dpanfrost_device.h159 struct io_pgtable_ops *pgtbl_ops; member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c266 /** @pgtbl_ops: Page table operations. */
267 struct io_pgtable_ops *pgtbl_ops; member
710 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active()
903 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages()
935 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages()
1857 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_free()
2301 vm->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, &pgtbl_cfg, vm); in panthor_vm_create()
2302 if (!vm->pgtbl_ops) { in panthor_vm_create()
2320 mair = io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg.arm_lpae_s1_cfg.mair; in panthor_vm_create()
2344 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_create()
[all...]