Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/iommu/
Dmtk_iommu_v1.c265 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()
Dapple-dart.c488 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()
Dsprd-iommu.c236 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()
Dexynos-iommu.c174 #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()
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_detach_dev()
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()
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()
Dmtk_iommu.c454 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()
Dfsl_pamu_domain.c147 old_domain_info = dev_iommu_priv_get(dev); in attach_device()
166 if (!dev_iommu_priv_get(dev)) in attach_device()
Dvirtio-iommu.c469 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()
Dtegra-smmu.c489 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()
Drockchip-iommu.c928 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()
Dsun50i-iommu.c131 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()
Dipmmu-vmsa.c89 return dev_iommu_priv_get(dev); in to_ipmmu()
Dmsm_iommu.c595 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
/Linux-v5.15/drivers/media/platform/s5p-mfc/
Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/Linux-v5.15/drivers/iommu/amd/
Diommu.c322 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/
Dqcom_iommu.c89 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()
Darm-smmu.c1042 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/
Darm-smmu-v3.c907 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()
Darm-smmu-v3-sva.c312 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind()
/Linux-v5.15/include/linux/
Diommu.h655 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function
/Linux-v5.15/drivers/iommu/intel/
Diommu.c356 info = dev_iommu_priv_get(dev); in get_domain_info()
798 return dev_iommu_priv_get(dev) == DEFER_DEVICE_DOMAIN_INFO; in attach_deferred()