/linux-6.3-rc2/drivers/iommu/ |
A D | mtk_iommu_v1.c | 299 struct mtk_iommu_v1_data *data = dev_iommu_priv_get(dev); in mtk_iommu_v1_attach_device() 324 struct mtk_iommu_v1_data *data = dev_iommu_priv_get(dev); in mtk_iommu_v1_set_platform_dma() 416 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_v1_create_mapping() 429 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_create_mapping() 484 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_device() 518 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_finalize() 533 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_release_device()
|
A D | sprd-iommu.c | 236 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device() 367 sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device() 374 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group() 383 if (!dev_iommu_priv_get(dev)) { in sprd_iommu_of_xlate()
|
A D | exynos-iommu.c | 170 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL) 837 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() 855 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() 995 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() 1033 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device() 1394 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device() 1420 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device() 1444 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_of_xlate()
|
A 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_set_platform_dma()
|
A D | apple-dart.c | 659 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev() 698 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device() 715 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device() 754 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate() 841 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group() 915 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_def_domain_type()
|
A 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()
|
A D | fsl_pamu_domain.c | 148 old_domain_info = dev_iommu_priv_get(dev); in attach_device() 167 if (!dev_iommu_priv_get(dev)) in attach_device()
|
A D | virtio-iommu.c | 523 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_probe_endpoint() 726 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_attach_dev() 894 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions() 991 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_release_device()
|
A D | mtk_iommu.c | 658 struct mtk_iommu_data *data = dev_iommu_priv_get(dev), *frstdata; in mtk_iommu_attach_device() 787 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device() 827 data = dev_iommu_priv_get(dev); in mtk_iommu_release_device() 852 struct mtk_iommu_data *c_data = dev_iommu_priv_get(dev), *data; in mtk_iommu_device_group() 888 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate() 903 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
|
A D | tegra-smmu.c | 484 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev() 861 smmu = dev_iommu_priv_get(dev); in tegra_smmu_probe_device() 894 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group()
|
A D | rockchip-iommu.c | 926 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_from_dev() 1138 data = dev_iommu_priv_get(dev); in rk_iommu_probe_device() 1152 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_release_device()
|
A D | sun50i-iommu.c | 134 return dev_iommu_priv_get(dev); in sun50i_iommu_from_dev() 764 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev); in sun50i_iommu_detach_device()
|
A D | ipmmu-vmsa.c | 89 return dev_iommu_priv_get(dev); in to_ipmmu()
|
A D | msm_iommu.c | 590 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
|
/linux-6.3-rc2/drivers/iommu/intel/ |
A D | pasid.c | 103 info = dev_iommu_priv_get(dev); in intel_pasid_alloc_table() 145 info = dev_iommu_priv_get(dev); in intel_pasid_free_table() 168 info = dev_iommu_priv_get(dev); in intel_pasid_get_table() 179 info = dev_iommu_priv_get(dev); in intel_pasid_get_dev_max_id() 199 info = dev_iommu_priv_get(dev); in intel_pasid_get_entry() 436 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
|
A D | svm.c | 180 struct device_domain_info *info = dev_iommu_priv_get(sdev->dev); in __flush_svm_range_dev() 304 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_bind_mm() 489 info = dev_iommu_priv_get(dev); in intel_svm_drain_prq() 841 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_set_dev_pasid()
|
A D | iommu.c | 2440 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_domain_attach_device() 4079 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_remove_one_dev_info() 4108 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_block_translation() 4256 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_attach_device() 4476 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_capable() 4556 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_release_device() 4639 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_sva() 4669 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_disable_sva() 4686 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_iopf() 4726 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_is_attach_deferred()
|
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/ |
A D | s5p_mfc_iommu.h | 16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
|
/linux-6.3-rc2/drivers/iommu/amd/ |
A D | iommu.c | 380 if (dev_iommu_priv_get(dev)) in iommu_init_device() 432 dev_data = dev_iommu_priv_get(dev); in amd_iommu_uninit_device() 486 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_hw_error() 519 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_fault() 552 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_page_fault() 1766 dev_data = dev_iommu_priv_get(dev); in attach_device() 1838 dev_data = dev_iommu_priv_get(dev); in detach_device() 1889 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device() 2157 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device() 2390 dev_data = dev_iommu_priv_get(dev); in amd_iommu_def_domain_type() [all …]
|
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/ |
A D | arm-smmu-v3-sva.c | 328 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind() 518 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_remove_dev_pasid()
|
A D | arm-smmu-v3.c | 911 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_page_response() 1995 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_capable() 2411 master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 2648 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device() 2700 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_release_device() 2766 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_enable_feature() 2793 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_disable_feature()
|
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/ |
A D | qcom_iommu.c | 89 return dev_iommu_priv_get(dev); in to_iommu() 539 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate() 546 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
|
A D | arm-smmu.c | 1025 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_master_alloc_smes() 1133 cfg = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 1315 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_capable() 1420 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device() 1440 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize() 1449 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group() 1551 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
|
/linux-6.3-rc2/include/linux/ |
A D | iommu.h | 688 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function
|