Searched refs:pgtbl_ops (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 28 struct io_pgtable_ops *pgtbl_ops; member 103 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap() 135 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map_prr() 167 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map() 240 free_io_pgtable_ops(pagetable->pgtbl_ops); in msm_iommu_pagetable_destroy() 281 if (!pagetable->pgtbl_ops->pgtable_walk) in msm_iommu_pagetable_walk() 284 pagetable->pgtbl_ops->pgtable_walk(pagetable->pgtbl_ops, iova, &wd); in msm_iommu_pagetable_walk() 559 pagetable->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, in msm_iommu_pagetable_create() 562 if (!pagetable->pgtbl_ops) { in msm_iommu_pagetable_create() [all...] |
/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() 435 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map() 453 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap() 475 struct io_pgtable *pgtable = container_of(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() 1270 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages() 1288 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages() 1338 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard() 1388 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys() [all...] |
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()
|
H A D | arm-smmu.h | 380 struct io_pgtable_ops *pgtbl_ops; member
|
/linux/drivers/iommu/ |
H A D | apple-dart.c | 255 * @pgtbl_ops: pagetable ops allocated by io-pgtable 262 struct io_pgtable_ops *pgtbl_ops; member 524 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_iova_to_phys() 538 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_map_pages() 553 struct io_pgtable_ops *ops = dart_domain->pgtbl_ops; in apple_dart_unmap_pages() 564 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg; in apple_dart_setup_translation() 607 dart_domain->pgtbl_ops = alloc_io_pgtable_ops(dart->hw->fmt, &pgtbl_cfg, in apple_dart_finalize_domain() 609 if (!dart_domain->pgtbl_ops) { in apple_dart_finalize_domain() 779 free_io_pgtable_ops(dart_domain->pgtbl_ops); in apple_dart_domain_free()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 398 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg() 457 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap() 676 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_release_ctx() 761 mmu->pgtbl_ops = alloc_io_pgtable_ops(fmt, &mmu->pgtbl_cfg, mmu); in panfrost_mmu_ctx_create() 762 if (!mmu->pgtbl_ops) { in panfrost_mmu_ctx_create() 776 free_io_pgtable_ops(mmu->pgtbl_ops); in panfrost_mmu_ctx_create()
|
H A D | panfrost_device.h | 188 struct io_pgtable_ops *pgtbl_ops; member
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_mmu.c | 267 /** @pgtbl_ops: Page table operations. */ 268 struct io_pgtable_ops *pgtbl_ops; member 700 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active() 822 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size() 891 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_unmap_pages() 923 struct io_pgtable_ops *ops = vm->pgtbl_ops; in panthor_vm_map_pages() 1865 free_io_pgtable_ops(vm->pgtbl_ops); in panthor_vm_free() 2353 vm->pgtbl_ops = alloc_io_pgtable_ops(ARM_64_LPAE_S1, &pgtbl_cfg, vm); in panthor_vm_create() 2354 if (!vm->pgtbl_ops) { in panthor_vm_create() 2368 mair = io_pgtable_ops_to_pgtable(vm->pgtbl_ops) in panthor_vm_create() [all...] |
/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()
|