Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/staging/android/trace/
H A Dion.h66 unsigned int size, const char* iommu_dev, in trace_ion_iommu_map() argument
71 client,buf, size, iommu_dev, iommu_addr, in trace_ion_iommu_map()
76 unsigned int size, const char* iommu_dev, in trace_ion_iommu_unmap() argument
81 client,buf, size, iommu_dev, iommu_addr, in trace_ion_iommu_unmap()
86 unsigned int size, const char* iommu_dev, in trace_ion_iommu_release() argument
91 client,buf, size, iommu_dev, iommu_addr, in trace_ion_iommu_release()
204 const char* iommu_dev, unsigned int iommu_addr,
206 TP_ARGS(client, buf, size, iommu_dev, iommu_addr, iommu_size, map_cnt),
211 __string(iommu_dev, iommu_dev)
220 __assign_str(iommu_dev, iommu_dev);
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/
H A 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()
H A 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 …]
H A Domap-iommu.h35 struct omap_iommu *iommu_dev; member
99 struct omap_iommu *iommu_dev; member
H A Diommu.c202 struct iommu_device *iommu_dev; in __iommu_probe_device() local
217 iommu_dev = ops->probe_device(dev); in __iommu_probe_device()
218 if (IS_ERR(iommu_dev)) { in __iommu_probe_device()
219 ret = PTR_ERR(iommu_dev); in __iommu_probe_device()
223 dev->iommu->iommu_dev = iommu_dev; in __iommu_probe_device()
235 iommu_device_link(iommu_dev, dev); in __iommu_probe_device()
308 iommu_device_unlink(dev->iommu->iommu_dev, dev); in iommu_release_device()
2965 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_enable_feature()
2966 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; in iommu_dev_enable_feature()
2983 if (dev->iommu && dev->iommu->iommu_dev) { in iommu_dev_disable_feature()
[all …]
H A 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()
H A Drockchip-iommu.c1450 struct platform_device *iommu_dev; in rk_iommu_of_xlate() local
1457 iommu_dev = of_find_device_by_node(args->np); in rk_iommu_of_xlate()
1459 data->iommu = platform_get_drvdata(iommu_dev); in rk_iommu_of_xlate()
1466 platform_device_put(iommu_dev); in rk_iommu_of_xlate()
H A 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()
H A Dipmmu-vmsa.c447 domain->cfg.iommu_dev = domain->mmu->root->dev; in ipmmu_domain_init_context()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/iep/
H A Diep_drv.c90 if (iep_service.iommu_dev) { in iep_reg_deinit()
260 if (iep_service.iommu_dev) { in iep_power_off()
741 iommu_enable = iep_service.iommu_dev ? 1 : 0; in iep_ioctl()
831 iommu_enable = iep_service.iommu_dev ? 1 : 0; in compat_iep_ioctl()
875 struct device *iommu_dev, in iep_sysmmu_fault_handler() argument
1043 iep_service.iommu_dev = NULL; in iep_drv_probe()
1047 iep_service.iommu_dev = &sub_dev->dev; in iep_drv_probe()
1055 iep_service.iommu_dev, in iep_drv_probe()
H A Diep_drv.h128 struct device *iommu_dev; member
H A Dhw_iep_reg.c921 if (iep_service.iommu_dev == NULL) { in iep_config_src_addr()
1154 if (iep_service.iommu_dev == NULL) { in iep_config_dst_addr()
1384 dev_err(pservice->iommu_dev, "input arguments invalidate\n"); in iep_bufid_to_iova()
1403 dev_err(pservice->iommu_dev, in iep_bufid_to_iova()
1417 dev_err(pservice->iommu_dev, in iep_bufid_to_iova()
1505 if (iep_service.iommu_dev) { in iep_config()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/
H A 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()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c444 struct device *iommu_dev, in mpp_iommu_handle() argument
450 dev_err(iommu_dev, "fault addr 0x%08lx status %x arg %p\n", in mpp_iommu_handle()
454 dev_err(iommu_dev, "pagefault without device to handle\n"); in mpp_iommu_handle()
H A Dmpp_iommu_av1d.c777 struct platform_device *iommu_dev; in av1_iommu_of_xlate() local
785 iommu_dev = of_find_device_by_node(args->np); in av1_iommu_of_xlate()
787 data->iommu = platform_get_drvdata(iommu_dev); in av1_iommu_of_xlate()
791 platform_device_put(iommu_dev); in av1_iommu_of_xlate()
H A Dmpp_rkvdec2_link.h225 struct device *iommu_dev,
H A Dmpp_rkvdec2_link.c205 struct device *iommu_dev,
848 struct device *iommu_dev, in rkvdec2_link_iommu_fault_handle() argument
857 dev_err(iommu_dev, "fault addr 0x%08lx status %x arg %p\n", in rkvdec2_link_iommu_fault_handle()
861 dev_err(iommu_dev, "pagefault without device to handle\n"); in rkvdec2_link_iommu_fault_handle()
1675 struct device *iommu_dev, in rkvdec2_ccu_iommu_fault_handle() argument
H A Dmpp_common.h349 int (*fault_handler)(struct iommu_domain *iommu, struct device *iommu_dev,
/OK3568_Linux_fs/kernel/include/linux/
H A Dio-pgtable.h93 struct device *iommu_dev; member
H A Diommu.h391 struct iommu_device *iommu_dev; member
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dpci.h164 struct iommu_device iommu_dev; /* IOMMU core handle */ member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga_iommu.c236 static int rga_iommu_intr_fault_handler(struct iommu_domain *iommu, struct device *iommu_dev, in rga_iommu_intr_fault_handler() argument
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c577 .iommu_dev = pfdev->dev, in panfrost_mmu_ctx_create()
/OK3568_Linux_fs/kernel/drivers/iommu/amd/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c248 .iommu_dev = qcom_iommu->dev, in qcom_iommu_init_domain()

12