1
2 #ifndef _UAPI_LINUX_THERMAL_H
3 #define _UAPI_LINUX_THERMAL_H
4
5 #define THERMAL_NAME_LENGTH 20
6
7
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
13 enum events {
14 THERMAL_AUX0,
15 THERMAL_AUX1,
16 THERMAL_CRITICAL,
17 THERMAL_DEV_FAULT,
18 };
19
20
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
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