/linux-6.1.9/drivers/iommu/ |
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_detach_device() 418 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_v1_create_mapping() 431 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_create_mapping() 486 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_device() 520 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_finalize() 535 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_release_device()
|
D | apple-dart.c | 501 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev() 543 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_detach_dev() 556 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device() 573 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device() 612 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate() 676 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group() 736 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() 388 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group() 397 if (!dev_iommu_priv_get(dev)) { in sprd_iommu_of_xlate()
|
D | exynos-iommu.c | 170 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL) 761 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() 779 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() 919 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() 957 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device() 1318 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device() 1344 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device() 1366 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 | mtk_iommu.c | 650 struct mtk_iommu_data *data = dev_iommu_priv_get(dev), *frstdata; in mtk_iommu_attach_device() 708 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_detach_device() 786 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device() 826 data = dev_iommu_priv_get(dev); in mtk_iommu_release_device() 851 struct mtk_iommu_data *c_data = dev_iommu_priv_get(dev), *data; in mtk_iommu_device_group() 887 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate() 902 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
|
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 | 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()
|
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() 895 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions() 992 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_release_device()
|
D | tegra-smmu.c | 484 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev() 860 smmu = dev_iommu_priv_get(dev); in tegra_smmu_probe_device() 893 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group()
|
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()
|
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()
|
D | msm_iommu.c | 586 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
|
D | ipmmu-vmsa.c | 89 return dev_iommu_priv_get(dev); in to_ipmmu()
|
/linux-6.1.9/drivers/iommu/intel/ |
D | pasid.c | 103 info = dev_iommu_priv_get(dev); in intel_pasid_alloc_table() 140 info = dev_iommu_priv_get(dev); in intel_pasid_free_table() 163 info = dev_iommu_priv_get(dev); in intel_pasid_get_table() 174 info = dev_iommu_priv_get(dev); in intel_pasid_get_dev_max_id() 194 info = dev_iommu_priv_get(dev); in intel_pasid_get_entry() 417 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
|
D | svm.c | 181 struct device_domain_info *info = dev_iommu_priv_get(sdev->dev); in __flush_svm_range_dev() 316 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_bind_mm() 519 info = dev_iommu_priv_get(dev); in intel_svm_drain_prq()
|
D | iommu.c | 2477 struct device_domain_info *info = dev_iommu_priv_get(dev); in domain_add_dev_info() 4118 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_remove_one_dev_info() 4261 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_attach_device() 4539 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_release_device() 4621 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_sva() 4647 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_disable_sva() 4660 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_iopf() 4700 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_is_attach_deferred()
|
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_iommu.h | 16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
|
/linux-6.1.9/drivers/iommu/amd/ |
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() 1746 dev_data = dev_iommu_priv_get(dev); in attach_device() 1818 dev_data = dev_iommu_priv_get(dev); in detach_device() 1869 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device() 2133 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_detach_device() 2166 dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device() [all …]
|
/linux-6.1.9/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 89 return dev_iommu_priv_get(dev); in to_iommu() 564 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate() 571 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
|
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() 1318 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_capable() 1423 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device() 1443 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize() 1452 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group() 1554 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
|
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/ |
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() 2408 master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 2654 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device() 2706 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_release_device() 2772 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_enable_feature() 2799 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_disable_feature()
|
D | arm-smmu-v3-sva.c | 328 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind()
|
/linux-6.1.9/include/linux/ |
D | iommu.h | 647 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function
|