Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hwmon/
Dhwmon.c42 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) macro
72 return sprintf(buf, "%s\n", to_hwmon_device(dev)->name); in name_show()
79 return sysfs_emit(buf, "%s\n", to_hwmon_device(dev)->label); in label_show()
93 struct hwmon_device *hdev = to_hwmon_device(dev); in hwmon_dev_attr_is_visible()
129 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()