Lines Matching refs:hwmon
12 This document does not describe what a hardware monitoring (hwmon) Driver or
15 then please read the following file: Documentation/hwmon/sysfs-interface.
17 For additional guidelines on how to write and improve hwmon drivers, please
18 also read Documentation/hwmon/submitting-patches.
22 Each hardware monitoring driver must #include <linux/hwmon.h> and, in most
23 cases, <linux/hwmon-sysfs.h>. linux/hwmon.h declares the following
49 it has additional parameters. The name parameter is a pointer to the hwmon
53 to the newly allocated hwmon device. The pointer can be retrieved by the driver
54 using dev_get_drvdata() on the hwmon device pointer. The groups parameter is
56 hwmon_device_register_with_groups creates the hwmon device with name attribute
57 as well as all sysfs attributes attached to the hwmon device.
61 hwmon device does not have to be removed explicitly by the removal function.
73 The header file linux/hwmon-sysfs.h provides a number of useful macros to