Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dhwmon.c43 #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(dev); in hwmon_thermal_notify()