Home
last modified time | relevance | path

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

/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()
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 …]
Ds390-iommu.c181 return &zdev->iommu_dev; in s390_iommu_probe_device()
339 rc = iommu_device_sysfs_add(&zdev->iommu_dev, NULL, NULL, in zpci_init_iommu()
344 rc = iommu_device_register(&zdev->iommu_dev, &s390_iommu_ops, NULL); in zpci_init_iommu()
351 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_init_iommu()
359 iommu_device_unregister(&zdev->iommu_dev); in zpci_destroy_iommu()
360 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.c224 struct iommu_device *iommu_dev; in __iommu_probe_device() local
248 iommu_dev = ops->probe_device(dev); in __iommu_probe_device()
249 if (IS_ERR(iommu_dev)) { in __iommu_probe_device()
250 ret = PTR_ERR(iommu_dev); in __iommu_probe_device()
254 dev->iommu->iommu_dev = iommu_dev; in __iommu_probe_device()
268 iommu_device_link(iommu_dev, dev); in __iommu_probe_device()
346 iommu_device_unlink(dev->iommu->iommu_dev, dev); in iommu_release_device()
2984 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_enable_feature()
2985 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; in iommu_dev_enable_feature()
3002 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_disable_feature()
[all …]
Drockchip-iommu.c1140 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1147 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1149 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1152 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()
Dio-pgtable-arm.c200 struct device *dev = cfg->iommu_dev; in __arm_lpae_alloc_pages()
240 dma_unmap_single(cfg->iommu_dev, __arm_lpae_dma_addr(pages), in __arm_lpae_free_pages()
248 dma_sync_single_for_device(cfg->iommu_dev, __arm_lpae_dma_addr(ptep), in __arm_lpae_sync_pte()
Dapple-dart.c426 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
Dmsm_iommu.c349 .iommu_dev = priv->dev, in msm_iommu_domain_config()
Dipmmu-vmsa.c445 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
Dmtk_iommu.c409 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c584 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/iommu/amd/
Diommu.c1731 struct iommu_device *iommu_dev; in amd_iommu_probe_device() local
1748 iommu_dev = ERR_PTR(ret); in amd_iommu_probe_device()
1752 iommu_dev = &iommu->iommu; in amd_iommu_probe_device()
1757 return iommu_dev; in amd_iommu_probe_device()
/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c246 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
Darm-smmu.c772 .iommu_dev = smmu->dev, in arm_smmu_init_domain_context()
/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c595 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/drivers/iommu/intel/
Diommu.c4155 struct iommu_device *iommu_dev = dev_to_iommu_device(dev); in dev_to_intel_iommu() local
4157 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2222 .iommu_dev = smmu->dev, in arm_smmu_domain_finalise()