Searched refs:int_hwmon_dev (Results 1 – 4 of 4) sorted by relevance
827 rdev->pm.int_hwmon_dev = hwmon_device_register_with_groups(rdev->dev, in radeon_hwmon_init()830 if (IS_ERR(rdev->pm.int_hwmon_dev)) { in radeon_hwmon_init()831 err = PTR_ERR(rdev->pm.int_hwmon_dev); in radeon_hwmon_init()845 if (rdev->pm.int_hwmon_dev) in radeon_hwmon_fini()846 hwmon_device_unregister(rdev->pm.int_hwmon_dev); in radeon_hwmon_fini()
1646 struct device *int_hwmon_dev; member
3421 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, in amdgpu_pm_sysfs_init()3424 if (IS_ERR(adev->pm.int_hwmon_dev)) { in amdgpu_pm_sysfs_init()3425 ret = PTR_ERR(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_init()3462 if (adev->pm.int_hwmon_dev) in amdgpu_pm_sysfs_fini()3463 hwmon_device_unregister(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_fini()
430 struct device *int_hwmon_dev; member