Searched refs:int_hwmon_dev (Results 1 – 4 of 4) sorted by relevance
1792 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, in amdgpu_pm_sysfs_init()1795 if (IS_ERR(adev->pm.int_hwmon_dev)) { in amdgpu_pm_sysfs_init()1796 ret = PTR_ERR(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_init()1897 if (adev->pm.int_hwmon_dev) in amdgpu_pm_sysfs_fini()1898 hwmon_device_unregister(adev->pm.int_hwmon_dev); in amdgpu_pm_sysfs_fini()
418 struct device *int_hwmon_dev; member
795 rdev->pm.int_hwmon_dev = hwmon_device_register_with_groups(rdev->dev, in radeon_hwmon_init()798 if (IS_ERR(rdev->pm.int_hwmon_dev)) { in radeon_hwmon_init()799 err = PTR_ERR(rdev->pm.int_hwmon_dev); in radeon_hwmon_init()813 if (rdev->pm.int_hwmon_dev) in radeon_hwmon_fini()814 hwmon_device_unregister(rdev->pm.int_hwmon_dev); in radeon_hwmon_fini()
1644 struct device *int_hwmon_dev; member