Home
last modified time | relevance | path

Searched refs:hwmon_device (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dhwmon.c258 ctrl->hwmon_device = hwmon; in nvme_hwmon_init()
270 if (ctrl->hwmon_device) { in nvme_hwmon_exit()
272 dev_get_drvdata(ctrl->hwmon_device); in nvme_hwmon_exit()
274 hwmon_device_unregister(ctrl->hwmon_device); in nvme_hwmon_exit()
275 ctrl->hwmon_device = NULL; in nvme_hwmon_exit()
H A Dnvme.h261 struct device *hwmon_device; member
/kernel/linux/linux-6.6/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.h282 struct device *hwmon_device; member
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dhwmon.c33 struct hwmon_device { struct
43 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev)
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()
761 struct hwmon_device *hwde in __hwmon_device_register()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dhwmon.c31 struct hwmon_device { struct
40 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev)
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()
701 struct hwmon_device *hwdev; in __hwmon_device_register()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dtoshiba_acpi.c184 struct device *hwmon_device; member
3198 if (dev->hwmon_device) in toshiba_acpi_remove()
3199 hwmon_device_unregister(dev->hwmon_device); in toshiba_acpi_remove()
3434 dev->hwmon_device = hwmon_device_register_with_info( in toshiba_acpi_add()
3437 if (IS_ERR(dev->hwmon_device)) { in toshiba_acpi_add()
3438 dev->hwmon_device = NULL; in toshiba_acpi_add()
/kernel/linux/linux-6.6/include/ufs/
H A Dufshcd.h808 * @hwmon_device: device instance registered with the hwmon core.
933 struct device *hwmon_device; member

Completed in 15 milliseconds