Home
last modified time | relevance | path

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

/linux/drivers/ufs/core/
H A Dufs-hwmon.c186 hba->hwmon_device = hwmon; in ufs_hwmon_probe()
193 if (!hba->hwmon_device) in ufs_hwmon_remove()
196 data = dev_get_drvdata(hba->hwmon_device); in ufs_hwmon_remove()
197 hwmon_device_unregister(hba->hwmon_device); in ufs_hwmon_remove()
198 hba->hwmon_device = NULL; in ufs_hwmon_remove()
204 if (!hba->hwmon_device) in ufs_hwmon_notify_event()
208 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_max_alarm, 0); in ufs_hwmon_notify_event()
211 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_min_alarm, 0); in ufs_hwmon_notify_event()
/linux/drivers/nvme/host/
H A Dhwmon.c260 ctrl->hwmon_device = hwmon; in nvme_hwmon_init()
272 if (ctrl->hwmon_device) { in nvme_hwmon_exit()
274 dev_get_drvdata(ctrl->hwmon_device); in nvme_hwmon_exit()
276 hwmon_device_unregister(ctrl->hwmon_device); in nvme_hwmon_exit()
277 ctrl->hwmon_device = NULL; in nvme_hwmon_exit()
H A Dnvme.h302 struct device *hwmon_device; member
/linux/drivers/hwmon/
H A Dhwmon.c34 struct hwmon_device { struct
44 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) argument
95 struct hwmon_device *hdev = to_hwmon_device(dev); in hwmon_dev_attr_is_visible()
131 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_dev_release()
164 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp()
181 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_set_trips()
225 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_add_sensor()
260 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_register_sensors()
294 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_notify()
352 struct hwmon_device *hwdev; in pec_store()
[all …]
/linux/include/ufs/
H A Dufshcd.h984 struct device *hwmon_device; member