Home
last modified time | relevance | path

Searched refs:iommu_dev (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_iommu.c25 struct device *iommu_dev; member
209 if (!pm_runtime_get_if_in_use(pagetable->iommu_dev)) in msm_iommu_tlb_flush_all()
216 pm_runtime_put_autosuspend(pagetable->iommu_dev); in msm_iommu_tlb_flush_all()
225 if (!pm_runtime_get_if_in_use(pagetable->iommu_dev)) in msm_iommu_tlb_flush_walk()
232 pm_runtime_put_autosuspend(pagetable->iommu_dev); in msm_iommu_tlb_flush_walk()
307 pagetable->iommu_dev = ttbr1_cfg->iommu_dev; in msm_iommu_pagetable_create()
Dmsm_kms.c173 struct device *iommu_dev; in msm_kms_init_aspace() local
180 iommu_dev = mdp_dev; in msm_kms_init_aspace()
182 iommu_dev = mdss_dev; in msm_kms_init_aspace()
184 mmu = msm_iommu_new(iommu_dev, 0); in msm_kms_init_aspace()
/linux-6.12.1/drivers/iommu/
Domap-iommu.c81 while (arch_data->iommu_dev) { in omap_iommu_save_ctx()
82 obj = arch_data->iommu_dev; in omap_iommu_save_ctx()
111 while (arch_data->iommu_dev) { in omap_iommu_restore_ctx()
112 obj = arch_data->iommu_dev; in omap_iommu_restore_ctx()
962 oiommu = iommu->iommu_dev; in omap_iommu_domain_deactivate()
990 oiommu = iommu->iommu_dev; in omap_iommu_domain_activate()
1337 oiommu = iommu->iommu_dev; in omap_iommu_map()
1349 oiommu = iommu->iommu_dev; in omap_iommu_map()
1374 oiommu = iommu->iommu_dev; in omap_iommu_unmap()
1394 while (arch_data->iommu_dev) { in omap_iommu_count()
[all …]
Ds390-iommu.c469 return &zdev->iommu_dev; in s390_iommu_probe_device()
710 rc = iommu_device_sysfs_add(&zdev->iommu_dev, NULL, NULL, in zpci_init_iommu()
715 rc = iommu_device_register(&zdev->iommu_dev, &s390_iommu_ops, NULL); in zpci_init_iommu()
728 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_init_iommu()
736 iommu_device_unregister(&zdev->iommu_dev); in zpci_destroy_iommu()
737 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_destroy_iommu()
Domap-iommu.h35 struct omap_iommu *iommu_dev; member
99 struct omap_iommu *iommu_dev; member
Diommu.c236 if (dev->iommu && dev->iommu->iommu_dev == data) in remove_iommu_group()
368 return dev->iommu && dev->iommu->iommu_dev; in dev_has_iommu()
386 return min_t(u32, max_pasids, dev->iommu->iommu_dev->max_pasids); in dev_iommu_get_max_pasids()
404 struct iommu_device *iommu_dev; in iommu_init_device() local
416 iommu_dev = ops->probe_device(dev); in iommu_init_device()
417 if (IS_ERR(iommu_dev)) { in iommu_init_device()
418 ret = PTR_ERR(iommu_dev); in iommu_init_device()
421 dev->iommu->iommu_dev = iommu_dev; in iommu_init_device()
423 ret = iommu_device_link(iommu_dev, dev); in iommu_init_device()
442 iommu_device_unlink(iommu_dev, dev); in iommu_init_device()
[all …]
Diommu-priv.h17 return dev->iommu->iommu_dev->ops; in dev_iommu_ops()
Drockchip-iommu.c1147 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1154 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1156 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1160 platform_device_put(iommu_dev); in rk_iommu_of_xlate()
Dio-pgtable-arm.c213 struct device *dev = cfg->iommu_dev; in __arm_lpae_alloc_pages()
261 dma_unmap_single(cfg->iommu_dev, __arm_lpae_dma_addr(pages), in __arm_lpae_free_pages()
273 dma_sync_single_for_device(cfg->iommu_dev, __arm_lpae_dma_addr(ptep), in __arm_lpae_sync_pte()
1410 .iommu_dev = &dev, in arm_lpae_do_selftests()
Dio-pgtable-arm-v7s.c243 struct device *dev = cfg->iommu_dev; in __arm_v7s_alloc_table()
303 struct device *dev = cfg->iommu_dev; in __arm_v7s_free_table()
321 dma_sync_single_for_device(cfg->iommu_dev, __arm_v7s_dma_addr(ptep), in __arm_v7s_pte_sync()
Dipmmu-vmsa.c444 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
Dmsm_iommu.c346 .iommu_dev = priv->dev, in msm_iommu_domain_config()
Dapple-dart.c601 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
Dmtk_iommu.c660 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c96 private->iommu_dev = ERR_PTR(-ENODEV); in rockchip_drm_dma_init_device()
97 else if (!private->iommu_dev) in rockchip_drm_dma_init_device()
98 private->iommu_dev = dev; in rockchip_drm_dma_init_device()
108 if (IS_ERR_OR_NULL(private->iommu_dev)) in rockchip_drm_init_iommu()
111 private->domain = iommu_paging_domain_alloc(private->iommu_dev); in rockchip_drm_init_iommu()
Drockchip_drm_drv.h69 struct device *iommu_dev; member
/linux-6.12.1/drivers/gpu/host1x/
Dcontext.c135 if (cd->dev.iommu->iommu_dev != dev->iommu->iommu_dev) in host1x_memory_context_alloc()
/linux-6.12.1/include/linux/
Dio-pgtable.h104 struct device *iommu_dev; member
Diommu.h736 struct iommu_device *iommu_dev; member
773 return dev->iommu->iommu_dev; in __iommu_get_iommu_dev()
/linux-6.12.1/arch/s390/include/asm/
Dpci.h162 struct iommu_device iommu_dev; /* IOMMU core handle */ member
/linux-6.12.1/drivers/iommu/amd/
Diommu.c2156 struct iommu_device *iommu_dev; in amd_iommu_probe_device() local
2178 iommu_dev = ERR_PTR(ret); in amd_iommu_probe_device()
2184 iommu_dev = &iommu->iommu; in amd_iommu_probe_device()
2203 return iommu_dev; in amd_iommu_probe_device()
/linux-6.12.1/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c236 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c640 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/linux-6.12.1/drivers/iommu/intel/
Diommu.c3037 struct iommu_device *iommu_dev = dev_to_iommu_device(dev); in dev_to_intel_iommu() local
3039 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()
/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_mmu.c2317 .iommu_dev = ptdev->base.dev, in panthor_vm_create()

12