/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_iommu.c | 25 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()
|
D | msm_kms.c | 173 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-6.12.1/drivers/iommu/ |
D | omap-iommu.c | 81 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 …]
|
D | s390-iommu.c | 469 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()
|
D | omap-iommu.h | 35 struct omap_iommu *iommu_dev; member 99 struct omap_iommu *iommu_dev; member
|
D | iommu.c | 236 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 …]
|
D | iommu-priv.h | 17 return dev->iommu->iommu_dev->ops; in dev_iommu_ops()
|
D | rockchip-iommu.c | 1147 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()
|
D | io-pgtable-arm.c | 213 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()
|
D | io-pgtable-arm-v7s.c | 243 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()
|
D | ipmmu-vmsa.c | 444 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
|
D | msm_iommu.c | 346 .iommu_dev = priv->dev, in msm_iommu_domain_config()
|
D | apple-dart.c | 601 .iommu_dev = dart->dev, in apple_dart_finalize_domain()
|
D | mtk_iommu.c | 660 .iommu_dev = data->dev, in mtk_iommu_domain_finalise()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_drv.c | 96 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()
|
D | rockchip_drm_drv.h | 69 struct device *iommu_dev; member
|
/linux-6.12.1/drivers/gpu/host1x/ |
D | context.c | 135 if (cd->dev.iommu->iommu_dev != dev->iommu->iommu_dev) in host1x_memory_context_alloc()
|
/linux-6.12.1/include/linux/ |
D | io-pgtable.h | 104 struct device *iommu_dev; member
|
D | iommu.h | 736 struct iommu_device *iommu_dev; member 773 return dev->iommu->iommu_dev; in __iommu_get_iommu_dev()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | pci.h | 162 struct iommu_device iommu_dev; /* IOMMU core handle */ member
|
/linux-6.12.1/drivers/iommu/amd/ |
D | iommu.c | 2156 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-6.12.1/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 236 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 640 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
|
/linux-6.12.1/drivers/iommu/intel/ |
D | iommu.c | 3037 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()
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 2317 .iommu_dev = ptdev->base.dev, in panthor_vm_create()
|