Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Dradeon_pm.c853 rdev->pm.int_hwmon_dev = hwmon_device_register_with_groups(rdev->dev, in radeon_hwmon_init()
856 if (IS_ERR(rdev->pm.int_hwmon_dev)) { in radeon_hwmon_init()
857 err = PTR_ERR(rdev->pm.int_hwmon_dev); in radeon_hwmon_init()
871 if (rdev->pm.int_hwmon_dev) in radeon_hwmon_fini()
872 hwmon_device_unregister(rdev->pm.int_hwmon_dev); in radeon_hwmon_fini()
H A Dradeon.h1637 struct device *int_hwmon_dev; member
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c4522 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, in amdgpu_pm_sysfs_init()
4525 if (IS_ERR(adev->pm.int_hwmon_dev)) { in amdgpu_pm_sysfs_init()
4526 ret = PTR_ERR(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_init()
4576 if (adev->pm.int_hwmon_dev) in amdgpu_pm_sysfs_init()
4577 hwmon_device_unregister(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_init()
4586 if (adev->pm.int_hwmon_dev) in amdgpu_pm_sysfs_fini()
4587 hwmon_device_unregister(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_fini()
/linux/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h346 struct device *int_hwmon_dev; member