Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Ds390-iommu.c190 return &zdev->iommu_dev; in s390_iommu_probe_device()
337 rc = iommu_device_sysfs_add(&zdev->iommu_dev, NULL, NULL, in zpci_init_iommu()
342 rc = iommu_device_register(&zdev->iommu_dev, &s390_iommu_ops, NULL); in zpci_init_iommu()
349 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_init_iommu()
357 iommu_device_unregister(&zdev->iommu_dev); in zpci_destroy_iommu()
358 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_destroy_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()
1345 oiommu = iommu->iommu_dev; in omap_iommu_map()
1357 oiommu = iommu->iommu_dev; in omap_iommu_map()
1380 oiommu = iommu->iommu_dev; in omap_iommu_unmap()
1400 while (arch_data->iommu_dev) { in omap_iommu_count()
[all …]
Domap-iommu.h35 struct omap_iommu *iommu_dev; member
99 struct omap_iommu *iommu_dev; member
Diommu.c194 if (dev->iommu && dev->iommu->iommu_dev == data) in remove_iommu_group()
284 struct iommu_device *iommu_dev; in __iommu_probe_device() local
309 iommu_dev = ops->probe_device(dev); in __iommu_probe_device()
310 if (IS_ERR(iommu_dev)) { in __iommu_probe_device()
311 ret = PTR_ERR(iommu_dev); in __iommu_probe_device()
315 dev->iommu->iommu_dev = iommu_dev; in __iommu_probe_device()
330 iommu_device_link(iommu_dev, dev); in __iommu_probe_device()
414 iommu_device_unlink(dev->iommu->iommu_dev, dev); in iommu_release_device()
1864 if (!dev->iommu || !dev->iommu->iommu_dev) in device_iommu_capable()
2718 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_enable_feature()
[all …]
Dio-pgtable-arm.c193 struct device *dev = cfg->iommu_dev; in __arm_lpae_alloc_pages()
232 dma_unmap_single(cfg->iommu_dev, __arm_lpae_dma_addr(pages), in __arm_lpae_free_pages()
240 dma_sync_single_for_device(cfg->iommu_dev, __arm_lpae_dma_addr(ptep), in __arm_lpae_sync_pte()
1287 .iommu_dev = &dev, in arm_lpae_do_selftests()
Drockchip-iommu.c1169 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1176 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1178 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1181 platform_device_put(iommu_dev); in rk_iommu_of_xlate()
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()
Dmsm_iommu.c349 .iommu_dev = priv->dev, in msm_iommu_domain_config()
Dapple-dart.c434 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
Dipmmu-vmsa.c449 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
Dmtk_iommu.c598 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c95 private->iommu_dev = ERR_PTR(-ENODEV); in rockchip_drm_dma_init_device()
96 else if (!private->iommu_dev) in rockchip_drm_dma_init_device()
97 private->iommu_dev = dev; in rockchip_drm_dma_init_device()
106 if (IS_ERR_OR_NULL(private->iommu_dev)) in rockchip_drm_init_iommu()
109 private->domain = iommu_domain_alloc(private->iommu_dev->bus); in rockchip_drm_init_iommu()
Drockchip_drm_drv.h50 struct device *iommu_dev; member
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_drv.c285 struct device *iommu_dev; in msm_kms_init_aspace() local
292 iommu_dev = mdp_dev; in msm_kms_init_aspace()
294 iommu_dev = mdss_dev; in msm_kms_init_aspace()
296 domain = iommu_domain_alloc(iommu_dev->bus); in msm_kms_init_aspace()
302 mmu = msm_iommu_new(iommu_dev, domain); in msm_kms_init_aspace()
/linux-6.1.9/include/linux/
Dio-pgtable.h101 struct device *iommu_dev; member
Diommu.h378 struct iommu_device *iommu_dev; member
416 return dev->iommu->iommu_dev->ops; in dev_iommu_ops()
/linux-6.1.9/arch/s390/include/asm/
Dpci.h168 struct iommu_device iommu_dev; /* IOMMU core handle */ member
/linux-6.1.9/drivers/iommu/amd/
Diommu.c1854 struct iommu_device *iommu_dev; in amd_iommu_probe_device() local
1876 iommu_dev = ERR_PTR(ret); in amd_iommu_probe_device()
1880 iommu_dev = &iommu->iommu; in amd_iommu_probe_device()
1885 return iommu_dev; in amd_iommu_probe_device()
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c246 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
Darm-smmu.c755 .iommu_dev = smmu->dev, in arm_smmu_init_domain_context()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c630 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c3795 struct iommu_device *iommu_dev = dev_to_iommu_device(dev); in dev_to_intel_iommu() local
3797 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2214 .iommu_dev = smmu->dev, in arm_smmu_domain_finalise()