Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ufs/core/
Dufs-hwmon.c185 hba->hwmon_device = hwmon; in ufs_hwmon_probe()
192 if (!hba->hwmon_device) in ufs_hwmon_remove()
195 data = dev_get_drvdata(hba->hwmon_device); in ufs_hwmon_remove()
196 hwmon_device_unregister(hba->hwmon_device); in ufs_hwmon_remove()
197 hba->hwmon_device = NULL; in ufs_hwmon_remove()
203 if (!hba->hwmon_device) in ufs_hwmon_notify_event()
207 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_max_alarm, 0); in ufs_hwmon_notify_event()
210 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_min_alarm, 0); in ufs_hwmon_notify_event()
/linux-6.1.9/drivers/nvme/host/
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()
Dnvme.h262 struct device *hwmon_device; member
/linux-6.1.9/drivers/hwmon/
Dhwmon.c32 struct hwmon_device { struct
42 #define to_hwmon_device(d) container_of(d, struct hwmon_device, dev) argument
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()
756 struct hwmon_device *hwdev; in __hwmon_device_register()
/linux-6.1.9/drivers/platform/x86/
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()
3436 dev->hwmon_device = hwmon_device_register_with_info( in toshiba_acpi_add()
3439 if (IS_ERR(dev->hwmon_device)) { in toshiba_acpi_add()
3440 dev->hwmon_device = NULL; in toshiba_acpi_add()
/linux-6.1.9/include/ufs/
Dufshcd.h851 struct device *hwmon_device; member