Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/msm/
H A 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()
H A 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/drivers/iommu/
H A 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 …]
H A 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()
H A Domap-iommu.h35 struct omap_iommu *iommu_dev; member
99 struct omap_iommu *iommu_dev; member
H A 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 …]
H A Diommu-priv.h17 return dev->iommu->iommu_dev->ops; in dev_iommu_ops()
H A 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()
H A 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()
H A 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()
H A Dmsm_iommu.c346 .iommu_dev = priv->dev, in msm_iommu_domain_config()
H A Dipmmu-vmsa.c444 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
H A Dapple-dart.c601 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
H A Dmtk_iommu.c660 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
/linux/drivers/gpu/drm/rockchip/
H A 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()
H A Drockchip_drm_drv.h69 struct device *iommu_dev; member
/linux/drivers/gpu/host1x/
H A Dcontext.c135 if (cd->dev.iommu->iommu_dev != dev->iommu->iommu_dev) in host1x_memory_context_alloc()
/linux/include/linux/
H A Dio-pgtable.h104 struct device *iommu_dev; member
H A Diommu.h736 struct iommu_device *iommu_dev; member
773 return dev->iommu->iommu_dev; in __iommu_get_iommu_dev()
/linux/arch/s390/include/asm/
H A Dpci.h162 struct iommu_device iommu_dev; /* IOMMU core handle */ member
/linux/drivers/iommu/amd/
H A 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/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c640 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/linux/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c236 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
H A Darm-smmu.c803 .iommu_dev = smmu->dev, in arm_smmu_init_domain_context()
/linux/drivers/iommu/intel/
H A 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()

12