Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
1344 oiommu = iommu->iommu_dev; in omap_iommu_map()
1356 oiommu = iommu->iommu_dev; in omap_iommu_map()
1379 oiommu = iommu->iommu_dev; in omap_iommu_unmap()
1399 while (arch_data->iommu_dev) { in omap_iommu_count()
[all …]
Ds390-iommu.c193 return &zdev->iommu_dev; in s390_iommu_probe_device()
406 rc = iommu_device_sysfs_add(&zdev->iommu_dev, NULL, NULL, in zpci_init_iommu()
411 rc = iommu_device_register(&zdev->iommu_dev, &s390_iommu_ops, NULL); in zpci_init_iommu()
418 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_init_iommu()
426 iommu_device_unregister(&zdev->iommu_dev); in zpci_destroy_iommu()
427 iommu_device_sysfs_remove(&zdev->iommu_dev); in zpci_destroy_iommu()
Diommu.c237 if (dev->iommu && dev->iommu->iommu_dev == data) in remove_iommu_group()
381 return min_t(u32, max_pasids, dev->iommu->iommu_dev->max_pasids); in dev_iommu_get_max_pasids()
390 struct iommu_device *iommu_dev; in iommu_init_device() local
402 iommu_dev = ops->probe_device(dev); in iommu_init_device()
403 if (IS_ERR(iommu_dev)) { in iommu_init_device()
404 ret = PTR_ERR(iommu_dev); in iommu_init_device()
408 ret = iommu_device_link(iommu_dev, dev); in iommu_init_device()
421 dev->iommu->iommu_dev = iommu_dev; in iommu_init_device()
428 iommu_device_unlink(iommu_dev, dev); in iommu_init_device()
446 iommu_device_unlink(dev->iommu->iommu_dev, dev); in iommu_deinit_device()
[all …]
Domap-iommu.h35 struct omap_iommu *iommu_dev; member
99 struct omap_iommu *iommu_dev; member
Diommu-priv.h17 return dev->iommu->iommu_dev->ops; in dev_iommu_ops()
Drockchip-iommu.c1170 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1177 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1179 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1183 platform_device_put(iommu_dev); in rk_iommu_of_xlate()
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()
1275 .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.c433 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
Dmsm_iommu.c349 .iommu_dev = priv->dev, in msm_iommu_domain_config()
Dapple-dart.c597 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
Dmtk_iommu.c660 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/linux-6.6.21/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_drv.c274 struct device *iommu_dev; in msm_kms_init_aspace() local
281 iommu_dev = mdp_dev; in msm_kms_init_aspace()
283 iommu_dev = mdss_dev; in msm_kms_init_aspace()
285 mmu = msm_iommu_new(iommu_dev, 0); in msm_kms_init_aspace()
/linux-6.6.21/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()
107 if (IS_ERR_OR_NULL(private->iommu_dev)) in rockchip_drm_init_iommu()
110 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.6.21/drivers/gpu/host1x/
Dcontext.c134 if (cd->dev.iommu->iommu_dev != dev->iommu->iommu_dev) in host1x_memory_context_alloc()
/linux-6.6.21/include/linux/
Dio-pgtable.h101 struct device *iommu_dev; member
Diommu.h430 struct iommu_device *iommu_dev; member
/linux-6.6.21/arch/s390/include/asm/
Dpci.h169 struct iommu_device iommu_dev; /* IOMMU core handle */ member
/linux-6.6.21/drivers/iommu/amd/
Diommu.c1903 struct iommu_device *iommu_dev; in amd_iommu_probe_device() local
1925 iommu_dev = ERR_PTR(ret); in amd_iommu_probe_device()
1929 iommu_dev = &iommu->iommu; in amd_iommu_probe_device()
1934 return iommu_dev; in amd_iommu_probe_device()
/linux-6.6.21/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c632 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/linux-6.6.21/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c246 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
Darm-smmu.c754 .iommu_dev = smmu->dev, in arm_smmu_init_domain_context()
/linux-6.6.21/drivers/iommu/intel/
Diommu.c3617 struct iommu_device *iommu_dev = dev_to_iommu_device(dev); in dev_to_intel_iommu() local
3619 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()

12