Searched refs:pgtbl_ops (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 30 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/iommu/arm/arm-smmu/ |
| H A D | qcom_iommu.c | 67 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 D | arm-smmu.c | 681 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 D | arm-smmu-qcom-debug.c | 363 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 D | arm-smmu-qcom.c | 217 io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_get_ttbr1_cfg() 231 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
|
| /linux/drivers/iommu/ |
| H A D | apple-dart.c | 267 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 D | panthor_mmu.c | 256 struct io_pgtable_ops *pgtbl_ops; member 715 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active() 837 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size() 906 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages() 943 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages() 1853 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_free() 2336 vm->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, &pgtbl_cfg, vm); in panthor_vm_create() 2337 if (!vm->pgtbl_ops) { in panthor_vm_create() 2351 mair = io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg.arm_lpae_s1_cfg.mair; in panthor_vm_create() 2376 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_create()
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3-test.c | 307 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s2_ste() 459 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s1_cd()
|
| H A D | arm-smmu-v3.c | 1380 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s1_cd() 1664 &io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops)->cfg; in arm_smmu_make_s2_domain_ste() 2481 free_io_pgtable_ops(smmu_domain->pgtbl_ops); in arm_smmu_domain_free_paging() 2536 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise() local 2576 pgtbl_ops = alloc_io_pgtable_ops(fmt, &pgtbl_cfg, smmu_domain); in arm_smmu_domain_finalise() 2577 if (!pgtbl_ops) in arm_smmu_domain_finalise() 2588 free_io_pgtable_ops(pgtbl_ops); in arm_smmu_domain_finalise() 2592 smmu_domain->pgtbl_ops = pgtbl_ops; in arm_smmu_domain_finalise() 3367 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 3380 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap_pages() [all …]
|