root/include/uapi/linux/thermal.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _UAPI_LINUX_THERMAL_H
   3 #define _UAPI_LINUX_THERMAL_H
   4 
   5 #define THERMAL_NAME_LENGTH     20
   6 
   7 /* Adding event notification support elements */
   8 #define THERMAL_GENL_FAMILY_NAME                "thermal_event"
   9 #define THERMAL_GENL_VERSION                    0x01
  10 #define THERMAL_GENL_MCAST_GROUP_NAME           "thermal_mc_grp"
  11 
  12 /* Events supported by Thermal Netlink */
  13 enum events {
  14         THERMAL_AUX0,
  15         THERMAL_AUX1,
  16         THERMAL_CRITICAL,
  17         THERMAL_DEV_FAULT,
  18 };
  19 
  20 /* attributes of thermal_genl_family */
  21 enum {
  22         THERMAL_GENL_ATTR_UNSPEC,
  23         THERMAL_GENL_ATTR_EVENT,
  24         __THERMAL_GENL_ATTR_MAX,
  25 };
  26 #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1)
  27 
  28 /* commands supported by the thermal_genl_family */
  29 enum {
  30         THERMAL_GENL_CMD_UNSPEC,
  31         THERMAL_GENL_CMD_EVENT,
  32         __THERMAL_GENL_CMD_MAX,
  33 };
  34 #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1)
  35 
  36 #endif /* _UAPI_LINUX_THERMAL_H */

/* [<][>][^][v][top][bottom][index][help] */