Home
last modified time | relevance | path

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

/linux/drivers/scsi/ufs/
A Dufs-hwmon.c184 hba->hwmon_device = hwmon; in ufs_hwmon_probe()
191 if (!hba->hwmon_device) in ufs_hwmon_remove()
194 data = dev_get_drvdata(hba->hwmon_device); in ufs_hwmon_remove()
195 hwmon_device_unregister(hba->hwmon_device); in ufs_hwmon_remove()
196 hba->hwmon_device = NULL; in ufs_hwmon_remove()
202 if (!hba->hwmon_device) in ufs_hwmon_notify_event()
206 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_max_alarm, 0); in ufs_hwmon_notify_event()
209 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_min_alarm, 0); in ufs_hwmon_notify_event()
A Dufshcd.h814 struct device *hwmon_device; member
/linux/drivers/nvme/host/
A Dhwmon.c253 ctrl->hwmon_device = hwmon; in nvme_hwmon_init()
259 if (ctrl->hwmon_device) { in nvme_hwmon_exit()
261 dev_get_drvdata(ctrl->hwmon_device); in nvme_hwmon_exit()
263 hwmon_device_unregister(ctrl->hwmon_device); in nvme_hwmon_exit()
264 ctrl->hwmon_device = NULL; in nvme_hwmon_exit()
A Dnvme.h251 struct device *hwmon_device; member
/linux/drivers/hwmon/
A Dhwmon.c31 struct hwmon_device { struct
40 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) argument
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()
159 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_set_trips()
203 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_add_sensor()
236 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_register_sensors()
267 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_notify()
735 struct hwmon_device *hwdev; in __hwmon_device_register()

Completed in 19 milliseconds