/Linux-v5.15/drivers/iommu/ |
D | mtk_iommu_v1.c | 265 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_attach_device() 291 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_detach_device() 388 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_create_mapping() 401 data = dev_iommu_priv_get(dev); in mtk_iommu_create_mapping() 445 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device() 456 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_finalize()
|
D | apple-dart.c | 488 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev() 530 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_detach_dev() 543 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device() 560 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device() 603 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate() 667 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group() 728 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_def_domain_type()
|
D | sprd-iommu.c | 236 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device() 381 sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device() 398 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group() 407 if (!dev_iommu_priv_get(dev)) { in sprd_iommu_of_xlate()
|
D | exynos-iommu.c | 174 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL) 668 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() 686 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() 826 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() 864 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device() 1225 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device() 1251 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device() 1276 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_of_xlate()
|
D | tegra-gart.c | 116 } else if (dev_iommu_priv_get(dev) != domain) { in gart_iommu_attach_dev() 134 if (dev_iommu_priv_get(dev) == domain) { in gart_iommu_detach_dev()
|
D | omap-iommu.c | 73 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_save_ctx() 103 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_restore_ctx() 1397 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_count() 1458 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_attach_dev() 1523 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in _omap_iommu_detach_dev() 1711 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_release_device() 1723 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_device_group()
|
D | mtk_iommu.c | 454 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_attach_device() 493 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_detach_device() 567 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device() 616 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate() 631 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
|
D | fsl_pamu_domain.c | 147 old_domain_info = dev_iommu_priv_get(dev); in attach_device() 166 if (!dev_iommu_priv_get(dev)) in attach_device()
|
D | virtio-iommu.c | 469 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_probe_endpoint() 655 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_attach_dev() 814 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions() 916 vdev = dev_iommu_priv_get(dev); in viommu_release_device()
|
D | tegra-smmu.c | 489 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev() 863 smmu = dev_iommu_priv_get(dev); in tegra_smmu_probe_device() 898 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group()
|
D | rockchip-iommu.c | 928 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_from_dev() 1140 data = dev_iommu_priv_get(dev); in rk_iommu_probe_device() 1154 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_release_device()
|
D | sun50i-iommu.c | 131 return dev_iommu_priv_get(dev); in sun50i_iommu_from_dev() 694 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev); in sun50i_iommu_detach_device()
|
D | ipmmu-vmsa.c | 89 return dev_iommu_priv_get(dev); in to_ipmmu()
|
D | msm_iommu.c | 595 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
|
/Linux-v5.15/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_iommu.h | 16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
|
/Linux-v5.15/drivers/iommu/amd/ |
D | iommu.c | 322 if (dev_iommu_priv_get(dev)) in iommu_init_device() 372 dev_data = dev_iommu_priv_get(dev); in amd_iommu_uninit_device() 426 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_hw_error() 459 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_fault() 485 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_page_fault() 1622 dev_data = dev_iommu_priv_get(dev); in attach_device() 1686 dev_data = dev_iommu_priv_get(dev); in detach_device() 1732 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device() 1985 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_detach_device() 2019 dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device() [all …]
|
/Linux-v5.15/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 89 return dev_iommu_priv_get(dev); in to_iommu() 574 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate() 581 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
|
D | arm-smmu.c | 1042 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_master_alloc_smes() 1150 cfg = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 1442 cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device() 1463 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize() 1472 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group() 1574 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
|
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 907 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_page_response() 2390 master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 2634 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device() 2692 master = dev_iommu_priv_get(dev); in arm_smmu_release_device() 2758 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_has_feature() 2776 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_feature_enabled() 2794 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_enable_feature() 2816 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_disable_feature()
|
D | arm-smmu-v3-sva.c | 312 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind()
|
/Linux-v5.15/include/linux/ |
D | iommu.h | 655 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function
|
/Linux-v5.15/drivers/iommu/intel/ |
D | iommu.c | 356 info = dev_iommu_priv_get(dev); in get_domain_info() 798 return dev_iommu_priv_get(dev) == DEFER_DEVICE_DOMAIN_INFO; in attach_deferred()
|