Home
last modified time | relevance | path

Searched refs:int_hwmon_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_pm.c852 rdev->pm.int_hwmon_dev = hwmon_device_register_with_groups(rdev->dev, in radeon_hwmon_init()
855 if (IS_ERR(rdev->pm.int_hwmon_dev)) { in radeon_hwmon_init()
856 err = PTR_ERR(rdev->pm.int_hwmon_dev); in radeon_hwmon_init()
870 if (rdev->pm.int_hwmon_dev) in radeon_hwmon_fini()
871 hwmon_device_unregister(rdev->pm.int_hwmon_dev); in radeon_hwmon_fini()
Dradeon.h1639 struct device *int_hwmon_dev; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c3377 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, in amdgpu_pm_sysfs_init()
3380 if (IS_ERR(adev->pm.int_hwmon_dev)) { in amdgpu_pm_sysfs_init()
3381 ret = PTR_ERR(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_init()
3415 if (adev->pm.int_hwmon_dev) in amdgpu_pm_sysfs_fini()
3416 hwmon_device_unregister(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_fini()
/linux-6.6.21/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h327 struct device *int_hwmon_dev; member