Home
last modified time | relevance | path

Searched refs:hwmon_device (Results 1 – 4 of 4) 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.h356 struct device *hwmon_device; member
/linux/drivers/platform/x86/
H A Dtoshiba_acpi.c191 struct device *hwmon_device; member
3273 if (dev->hwmon_device) in toshiba_acpi_remove()
3274 hwmon_device_unregister(dev->hwmon_device); in toshiba_acpi_remove()
3527 dev->hwmon_device = hwmon_device_register_with_info( in toshiba_acpi_probe()
3530 if (IS_ERR(dev->hwmon_device)) { in toshiba_acpi_probe()
3531 dev->hwmon_device = NULL; in toshiba_acpi_probe()