/linux-6.6.21/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_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()
|
D | sprd-iommu.c | 254 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device() 397 sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device() 404 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group() 413 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) 829 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() 847 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() 987 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() 1025 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device() 1386 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device() 1412 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_set_platform_dma() 1426 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device() 1439 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_set_platform_dma()
|
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 | apple-dart.c | 659 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev() 697 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device() 714 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device() 753 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate() 840 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group() 914 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_def_domain_type()
|
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() 1396 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_count() 1457 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_attach_dev() 1522 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in _omap_iommu_detach_dev() 1710 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_release_device() 1722 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_device_group()
|
D | mtk_iommu.c | 714 struct mtk_iommu_data *data = dev_iommu_priv_get(dev), *frstdata; in mtk_iommu_attach_device() 854 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device() 894 data = dev_iommu_priv_get(dev); in mtk_iommu_release_device() 919 struct mtk_iommu_data *c_data = dev_iommu_priv_get(dev), *data; in mtk_iommu_device_group() 955 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate() 970 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
|
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() 918 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions() 1015 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() 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()
|
D | rockchip-iommu.c | 899 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_from_dev() 1139 data = dev_iommu_priv_get(dev); in rk_iommu_probe_device() 1153 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 | ipmmu-vmsa.c | 89 return dev_iommu_priv_get(dev); in to_ipmmu()
|
D | msm_iommu.c | 590 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
|
/linux-6.6.21/drivers/iommu/intel/ |
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() 427 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
|
D | svm.c | 177 struct device_domain_info *info = dev_iommu_priv_get(sdev->dev); in __flush_svm_range_dev() 226 info = dev_iommu_priv_get(sdev->dev); in intel_flush_svm_all() 321 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_bind_mm() 490 info = dev_iommu_priv_get(dev); in intel_drain_pasid_prq() 823 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_set_dev_pasid()
|
D | iommu.c | 1381 info = dev_iommu_priv_get(dev_pasid->dev); in domain_update_iotlb() 1484 info = dev_iommu_priv_get(dev_pasid->dev); in iommu_flush_dev_iotlb() 2448 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_domain_attach_device() 3937 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_remove_one_dev_info() 3966 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_block_translation() 4113 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_attach_device() 4329 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_capable() 4421 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_release_device() 4504 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_sva() 4540 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_iopf() [all …]
|
/linux-6.6.21/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.6.21/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() 1795 dev_data = dev_iommu_priv_get(dev); in attach_device() 1867 dev_data = dev_iommu_priv_get(dev); in detach_device() 1918 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device() 2203 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device() 2405 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_is_attach_deferred() [all …]
|
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3-sva.c | 353 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind() 543 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_remove_dev_pasid()
|
D | arm-smmu-v3.c | 929 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_page_response() 2020 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_capable() 2420 master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 2664 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device() 2716 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_release_device() 2782 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_enable_feature() 2809 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_disable_feature()
|
/linux-6.6.21/drivers/iommu/arm/arm-smmu/ |
D | qcom_iommu.c | 89 return dev_iommu_priv_get(dev); in to_iommu() 551 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate() 558 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
|
D | arm-smmu.c | 1023 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_master_alloc_smes() 1131 cfg = dev_iommu_priv_get(dev); in arm_smmu_attach_dev() 1313 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_capable() 1419 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device() 1439 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize() 1448 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group() 1550 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
|
/linux-6.6.21/include/linux/ |
D | iommu.h | 693 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function
|