Searched refs:to_hwmon_device (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | hwmon.c | 43 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) macro 73 return sprintf(buf, "%s\n", to_hwmon_device(dev)->name); in name_show() 80 return sysfs_emit(buf, "%s\n", to_hwmon_device(dev)->label); in label_show() 94 struct hwmon_device *hdev = to_hwmon_device(dev); in hwmon_dev_attr_is_visible() 130 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_dev_release() 157 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp() 174 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_set_trips() 218 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_add_sensor() 253 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_register_sensors() 284 struct hwmon_device *hwdev = to_hwmon_device(de in hwmon_thermal_notify() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | hwmon.c | 40 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) macro 70 return sprintf(buf, "%s\n", to_hwmon_device(dev)->name); in name_show() 84 if (to_hwmon_device(dev)->name == NULL) in hwmon_dev_name_is_visible() 115 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_dev_release() 142 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp() 167 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_add_sensor() 202 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_register_sensors() 233 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_notify()
|
Completed in 3 milliseconds