Home
last modified time | relevance | path

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

/drivers/iommu/
Ds390-iommu.c173 return &zdev->iommu_dev; in s390_iommu_probe_device()
331 rc = iommu_device_sysfs_add(&zdev->iommu_dev, NULL, NULL, in zpci_init_iommu()
336 iommu_device_set_ops(&zdev->iommu_dev, &s390_iommu_ops); in zpci_init_iommu()
338 rc = iommu_device_register(&zdev->iommu_dev); in zpci_init_iommu()
345 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_init_iommu()
353 iommu_device_unregister(&zdev->iommu_dev); in zpci_destroy_iommu()
354 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_destroy_iommu()
Domap-iommu.c82 while (arch_data->iommu_dev) { in omap_iommu_save_ctx()
83 obj = arch_data->iommu_dev; in omap_iommu_save_ctx()
112 while (arch_data->iommu_dev) { in omap_iommu_restore_ctx()
113 obj = arch_data->iommu_dev; in omap_iommu_restore_ctx()
963 oiommu = iommu->iommu_dev; in omap_iommu_domain_deactivate()
991 oiommu = iommu->iommu_dev; in omap_iommu_domain_activate()
1349 oiommu = iommu->iommu_dev; in omap_iommu_map()
1361 oiommu = iommu->iommu_dev; in omap_iommu_map()
1384 oiommu = iommu->iommu_dev; in omap_iommu_unmap()
1404 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.c202 struct iommu_device *iommu_dev; in __iommu_probe_device() local
227 iommu_dev = ops->probe_device(dev); in __iommu_probe_device()
228 if (IS_ERR(iommu_dev)) { in __iommu_probe_device()
229 ret = PTR_ERR(iommu_dev); in __iommu_probe_device()
233 dev->iommu->iommu_dev = iommu_dev; in __iommu_probe_device()
248 iommu_device_link(iommu_dev, dev); in __iommu_probe_device()
324 iommu_device_unlink(dev->iommu->iommu_dev, dev); in iommu_release_device()
2978 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_enable_feature()
2979 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; in iommu_dev_enable_feature()
2996 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_disable_feature()
[all …]
Drockchip-iommu.c1093 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1100 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1102 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1105 platform_device_put(iommu_dev); in rk_iommu_of_xlate()
Dio-pgtable-arm-v7s.c238 struct device *dev = cfg->iommu_dev; in __arm_v7s_alloc_table()
290 struct device *dev = cfg->iommu_dev; in __arm_v7s_free_table()
308 dma_sync_single_for_device(cfg->iommu_dev, __arm_v7s_dma_addr(ptep), in __arm_v7s_pte_sync()
Dio-pgtable-arm.c197 struct device *dev = cfg->iommu_dev; in __arm_lpae_alloc_pages()
237 dma_unmap_single(cfg->iommu_dev, __arm_lpae_dma_addr(pages), in __arm_lpae_free_pages()
245 dma_sync_single_for_device(cfg->iommu_dev, __arm_lpae_dma_addr(ptep), in __arm_lpae_sync_pte()
Dmsm_iommu.c350 .iommu_dev = priv->dev, in msm_iommu_domain_config()
Dipmmu-vmsa.c447 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
Dmtk_iommu.c407 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c587 struct device *iommu_dev; in mdp5_kms_init() local
629 iommu_dev = &pdev->dev; in mdp5_kms_init()
630 if (!dev_iommu_fwspec_get(iommu_dev)) in mdp5_kms_init()
631 iommu_dev = iommu_dev->parent; in mdp5_kms_init()
633 mmu = msm_iommu_new(iommu_dev, config->platform.iommu); in mdp5_kms_init()
/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c578 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/drivers/iommu/amd/
Diommu.c2226 struct iommu_device *iommu_dev; in amd_iommu_probe_device() local
2246 iommu_dev = ERR_PTR(ret); in amd_iommu_probe_device()
2250 iommu_dev = &iommu->iommu; in amd_iommu_probe_device()
2255 return iommu_dev; in amd_iommu_probe_device()
/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c248 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
Darm-smmu.c758 .iommu_dev = smmu->dev, in arm_smmu_init_domain_context()
/drivers/iommu/intel/
Diommu.c4807 struct iommu_device *iommu_dev = dev_to_iommu_device(dev); in dev_to_intel_iommu() local
4809 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1982 .iommu_dev = smmu->dev, in arm_smmu_domain_finalise()