Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/iommu/intel/
Dcache.c47 struct device_domain_info *info = dev_iommu_priv_get(dev); in cache_tag_assign()
89 struct device_domain_info *info = dev_iommu_priv_get(dev); in cache_tag_unassign()
111 struct device_domain_info *info = dev_iommu_priv_get(dev); in __cache_tag_assign_domain()
128 struct device_domain_info *info = dev_iommu_priv_get(dev); in __cache_tag_unassign_domain()
139 struct device_domain_info *info = dev_iommu_priv_get(dev); in __cache_tag_assign_parent_domain()
156 struct device_domain_info *info = dev_iommu_priv_get(dev); in __cache_tag_unassign_parent_domain()
166 struct device_domain_info *info = dev_iommu_priv_get(dev); in domain_get_id_for_dev()
377 info = dev_iommu_priv_get(tag->dev); in cache_tag_flush_devtlb_psi()
403 info = dev_iommu_priv_get(tag->dev); in cache_tag_flush_devtlb_all()
Dpasid.c47 info = dev_iommu_priv_get(dev); in intel_pasid_alloc_table()
88 info = dev_iommu_priv_get(dev); in intel_pasid_free_table()
111 info = dev_iommu_priv_get(dev); in intel_pasid_get_table()
122 info = dev_iommu_priv_get(dev); in intel_pasid_get_dev_max_id()
142 info = dev_iommu_priv_get(dev); in intel_pasid_get_entry()
216 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
677 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_pasid_table_teardown()
708 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_pasid_teardown_sm_context()
738 struct device_domain_info *info = dev_iommu_priv_get(dev); in context_entry_set_pasid_table()
763 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_pasid_table_setup()
[all …]
Dsvm.c177 info = dev_iommu_priv_get(dev_pasid->dev); in intel_mm_release()
202 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_set_dev_pasid()
306 info = dev_iommu_priv_get(dev); in intel_drain_pasid_prq()
529 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_page_response()
Diommu.c1699 struct device_domain_info *info = dev_iommu_priv_get(&pdev->dev); in domain_context_mapping_cb()
1710 struct device_domain_info *info = dev_iommu_priv_get(dev); in domain_context_mapping()
1951 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_domain_attach_device()
2022 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_def_domain_type()
3359 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_block_translation()
3432 struct device_domain_info *info = dev_iommu_priv_get(dev); in paging_domain_alloc()
3529 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_domain_alloc_user()
3589 struct device_domain_info *info = dev_iommu_priv_get(dev); in prepare_domain_attach_device()
3833 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_capable()
3957 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_release_device()
[all …]
Dnested.c24 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_nested_attach_dev()
Ddebugfs.c476 struct device_domain_info *info = dev_iommu_priv_get(dev_pasid->dev); in pasid_domain_translation_struct_show()
796 struct device_domain_info *info = dev_iommu_priv_get(dev_pasid->dev); in intel_iommu_debugfs_create_dev_pasid()
/linux-6.12.1/drivers/iommu/amd/
Dpasid.c46 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in remove_pdom_dev_pasid()
107 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in iommu_sva_set_dev_pasid()
150 if (!is_pasid_valid(dev_iommu_priv_get(dev), pasid)) in amd_iommu_remove_dev_pasid()
Diommu.c368 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_ats()
388 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_ats()
398 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_pri()
425 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_pri()
435 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_enable_cap_pasid()
453 struct iommu_dev_data *dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_disable_cap_pasid()
510 if (dev_iommu_priv_get(dev)) in iommu_init_device()
562 dev_data = dev_iommu_priv_get(dev); in amd_iommu_uninit_device()
614 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_hw_error()
647 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_fault()
[all …]
Dppr.c137 dev_data = dev_iommu_priv_get(&pdev->dev); in iommu_call_iopf_notifier()
/linux-6.12.1/drivers/iommu/
Dmtk_iommu_v1.c296 struct mtk_iommu_v1_data *data = dev_iommu_priv_get(dev); in mtk_iommu_v1_attach_device()
322 struct mtk_iommu_v1_data *data = dev_iommu_priv_get(dev); in mtk_iommu_v1_identity_attach()
419 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_v1_create_mapping()
432 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_create_mapping()
478 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_device()
512 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_probe_finalize()
527 data = dev_iommu_priv_get(dev); in mtk_iommu_v1_release_device()
Dapple-dart.c664 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev_paging()
683 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev_identity()
707 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev_blocked()
727 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device()
744 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device()
760 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_domain_alloc_paging()
785 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate()
870 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group()
944 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_def_domain_type()
Dexynos-iommu.c173 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL)
832 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend()
850 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume()
986 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_identity_attach()
1038 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device()
1400 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device()
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()
Dsprd-iommu.c250 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device()
388 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device()
398 if (!dev_iommu_priv_get(dev)) { in sprd_iommu_of_xlate()
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()
Dmtk_iommu.c711 struct mtk_iommu_data *data = dev_iommu_priv_get(dev), *frstdata; in mtk_iommu_attach_device()
780 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_identity_attach()
866 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device()
909 data = dev_iommu_priv_get(dev); in mtk_iommu_release_device()
934 struct mtk_iommu_data *c_data = dev_iommu_priv_get(dev), *data; in mtk_iommu_device_group()
971 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate()
986 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
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()
1391 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_count()
1452 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_attach_dev()
1517 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in _omap_iommu_detach_dev()
1717 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_release_device()
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()
945 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions()
1030 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_release_device()
Dtegra-smmu.c483 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev()
880 smmu = dev_iommu_priv_get(dev); in tegra_smmu_probe_device()
913 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group()
Drockchip-iommu.c903 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_from_dev()
1125 data = dev_iommu_priv_get(dev); in rk_iommu_probe_device()
1139 struct rk_iommudata *data = dev_iommu_priv_get(dev); in rk_iommu_release_device()
Dsun50i-iommu.c135 return dev_iommu_priv_get(dev); in sun50i_iommu_from_dev()
774 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev); in sun50i_iommu_identity_attach()
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/linux-6.12.1/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c365 struct qcom_iommu_dev *qcom_iommu = dev_iommu_priv_get(dev); in qcom_iommu_attach_dev()
397 struct qcom_iommu_dev *qcom_iommu = dev_iommu_priv_get(dev); in qcom_iommu_identity_attach()
528 struct qcom_iommu_dev *qcom_iommu = dev_iommu_priv_get(dev); in qcom_iommu_probe_device()
578 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate()
585 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
Darm-smmu.c1075 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_master_alloc_smes()
1170 cfg = dev_iommu_priv_get(dev); in arm_smmu_attach_dev()
1206 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_attach_dev_type()
1391 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_capable()
1495 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device()
1514 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize()
1523 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group()
1626 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c338 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_set_dev_pasid()
389 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_domain_alloc()
Darm-smmu-v3.c966 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_page_response()
2290 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_capable()
2335 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_domain_alloc_paging()
2798 state.master = master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev()
2862 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_s1_set_dev_pasid()
2969 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_remove_dev_pasid()
3000 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev_ste()
3045 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev_identity()
3086 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_domain_alloc_user()
3269 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device()
[all …]

12