Home
last modified time | relevance | path

Searched refs:dev_iommu_priv_get (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/iommu/
Dmtk_iommu_v1.c299 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()
Dsprd-iommu.c254 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()
Dexynos-iommu.c170 #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()
Dtegra-gart.c116 } 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()
Dfsl_pamu_domain.c148 old_domain_info = dev_iommu_priv_get(dev); in attach_device()
167 if (!dev_iommu_priv_get(dev)) in attach_device()
Dapple-dart.c659 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()
Domap-iommu.c73 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()
Dmtk_iommu.c714 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()
Dvirtio-iommu.c523 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()
Dtegra-smmu.c484 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()
Drockchip-iommu.c899 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()
Dsun50i-iommu.c134 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()
Dipmmu-vmsa.c89 return dev_iommu_priv_get(dev); in to_ipmmu()
Dmsm_iommu.c590 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
/linux-6.6.21/drivers/iommu/intel/
Dpasid.c103 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()
Dsvm.c177 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()
Diommu.c1381 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/
Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/linux-6.6.21/drivers/iommu/amd/
Diommu.c380 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/
Darm-smmu-v3-sva.c353 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()
Darm-smmu-v3.c929 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/
Dqcom_iommu.c89 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()
Darm-smmu.c1023 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/
Diommu.h693 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function