Home
last modified time | relevance | path

Searched refs:dev_iommu_priv_get (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/iommu/
H A Dmtk_iommu_v1.c266 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_attach_device()
292 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_detach_device()
389 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_create_mapping()
402 data = dev_iommu_priv_get(dev); in mtk_iommu_create_mapping()
448 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device()
459 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_finalize()
H A Dexynos-iommu.c176 #define has_sysmmu(dev) (dev_iommu_priv_get(dev) != NULL)
677 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend()
695 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume()
845 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device()
883 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_attach_device()
1244 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_probe_device()
1270 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_release_device()
1295 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_of_xlate()
H 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_detach_dev()
H A Dmtk_iommu.c388 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_attach_device()
408 struct mtk_iommu_data *data = dev_iommu_priv_get(dev); in mtk_iommu_detach_device()
479 data = dev_iommu_priv_get(dev); in mtk_iommu_probe_device()
522 if (!dev_iommu_priv_get(dev)) { in mtk_iommu_of_xlate()
H A Domap-iommu.c74 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_save_ctx()
104 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_restore_ctx()
1401 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_count()
1462 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_attach_dev()
1527 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in _omap_iommu_detach_dev()
1715 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_release_device()
1727 struct omap_iommu_arch_data *arch_data = dev_iommu_priv_get(dev); in omap_iommu_device_group()
H A Dvirtio-iommu.c469 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_probe_endpoint()
663 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_attach_dev()
822 struct viommu_endpoint *vdev = dev_iommu_priv_get(dev); in viommu_get_resv_regions()
915 vdev = dev_iommu_priv_get(dev); in viommu_release_device()
/kernel/linux/linux-6.6/drivers/iommu/intel/
H 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()
427 info = dev_iommu_priv_get(dev); in devtlb_invalidation_with_pasid()
H A 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()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_iommu.h16 return dev_iommu_priv_get(dev) != NULL; in exynos_is_iommu_available()
/kernel/linux/linux-6.6/drivers/iommu/
H 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()
H A 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()
H A 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()
H 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()
H 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()
H A 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()
H 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()
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()
H 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()
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()
H A 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()
/kernel/linux/linux-5.10/drivers/iommu/amd/
H A Diommu.c341 dev_data = dev_iommu_priv_get(&pdev->dev); in pdev_pri_erratum()
376 if (dev_iommu_priv_get(dev)) in iommu_init_device()
426 dev_data = dev_iommu_priv_get(dev); in amd_iommu_uninit_device()
503 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_hw_error()
534 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_rmp_fault()
558 dev_data = dev_iommu_priv_get(&pdev->dev); in amd_iommu_report_page_fault()
2126 dev_data = dev_iommu_priv_get(dev); in attach_device()
2190 dev_data = dev_iommu_priv_get(dev); in detach_device()
2239 if (dev_iommu_priv_get(dev)) in amd_iommu_probe_device()
2524 struct iommu_dev_data *dev_data = dev_iommu_priv_get(de in amd_iommu_detach_device()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/iommu/amd/
H 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()
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(de in amd_iommu_is_attach_deferred()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu-v3/
H A 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()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c91 return dev_iommu_priv_get(dev); in to_iommu()
599 if (!dev_iommu_priv_get(dev)) { in qcom_iommu_of_xlate()
606 if (WARN_ON(qcom_iommu != dev_iommu_priv_get(dev))) { in qcom_iommu_of_xlate()

Completed in 42 milliseconds

12