Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iommu/
A 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()
A Dsprd-iommu.c236 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device()
367 sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device()
374 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group()
383 if (!dev_iommu_priv_get(dev)) { in sprd_iommu_of_xlate()
A Dexynos-iommu.c170 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL)
837 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend()
855 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume()
995 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device()
1033 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device()
1394 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device()
1420 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device()
1444 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_of_xlate()
A 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()
A Dapple-dart.c659 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_attach_dev()
698 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_probe_device()
715 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_release_device()
754 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_of_xlate()
841 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_device_group()
915 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); in apple_dart_def_domain_type()
A 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()
A 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()
A 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()
894 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions()
991 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_release_device()
A Dmtk_iommu.c658 struct mtk_iommu_data *data = dev_iommu_priv_get(dev), *frstdata; in mtk_iommu_attach_device()
787 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device()
827 data = dev_iommu_priv_get(dev); in mtk_iommu_release_device()
852 struct mtk_iommu_data *c_data = dev_iommu_priv_get(dev), *data; in mtk_iommu_device_group()
888 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate()
903 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_get_resv_regions()
A 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()
A Drockchip-iommu.c926 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()
A 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()
A Dipmmu-vmsa.c89 return dev_iommu_priv_get(dev); in to_ipmmu()
A Dmsm_iommu.c590 struct msm_iommu_ctx_dev *master = dev_iommu_priv_get(dev); in insert_iommu_master()
/linux-6.3-rc2/drivers/iommu/intel/
A 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()
436 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
A Dsvm.c180 struct device_domain_info *info = dev_iommu_priv_get(sdev->dev); in __flush_svm_range_dev()
304 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_bind_mm()
489 info = dev_iommu_priv_get(dev); in intel_svm_drain_prq()
841 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_svm_set_dev_pasid()
A Diommu.c2440 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_domain_attach_device()
4079 struct device_domain_info *info = dev_iommu_priv_get(dev); in dmar_remove_one_dev_info()
4108 struct device_domain_info *info = dev_iommu_priv_get(dev); in device_block_translation()
4256 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_attach_device()
4476 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_capable()
4556 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_release_device()
4639 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_sva()
4669 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_disable_sva()
4686 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_enable_iopf()
4726 struct device_domain_info *info = dev_iommu_priv_get(dev); in intel_iommu_is_attach_deferred()
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/linux-6.3-rc2/drivers/iommu/amd/
A 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()
1766 dev_data = dev_iommu_priv_get(dev); in attach_device()
1838 dev_data = dev_iommu_priv_get(dev); in detach_device()
1889 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device()
2157 struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev); in amd_iommu_attach_device()
2390 dev_data = dev_iommu_priv_get(dev); in amd_iommu_def_domain_type()
[all …]
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3-sva.c328 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in __arm_smmu_sva_bind()
518 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_sva_remove_dev_pasid()
A Darm-smmu-v3.c911 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()
2411 master = dev_iommu_priv_get(dev); in arm_smmu_attach_dev()
2648 if (WARN_ON_ONCE(dev_iommu_priv_get(dev))) in arm_smmu_probe_device()
2700 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_release_device()
2766 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_enable_feature()
2793 struct arm_smmu_master *master = dev_iommu_priv_get(dev); in arm_smmu_dev_disable_feature()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/
A Dqcom_iommu.c89 return dev_iommu_priv_get(dev); in to_iommu()
539 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate()
546 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()
A Darm-smmu.c1025 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()
1315 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_capable()
1420 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_release_device()
1440 cfg = dev_iommu_priv_get(dev); in arm_smmu_probe_finalize()
1449 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_device_group()
1551 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); in arm_smmu_def_domain_type()
/linux-6.3-rc2/include/linux/
A Diommu.h688 static inline void *dev_iommu_priv_get(struct device *dev) in dev_iommu_priv_get() function

Completed in 75 milliseconds