thermal.h revision 05d08e9716b5974d6ed08973f44930804890b902
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_THERMAL_H
20#define _UAPI_LINUX_THERMAL_H
21#define THERMAL_NAME_LENGTH 20
22#define THERMAL_GENL_FAMILY_NAME "thermal_event"
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define THERMAL_GENL_VERSION 0x01
25#define THERMAL_GENL_MCAST_GROUP_NAME "thermal_mc_grp"
26enum events {
27  THERMAL_AUX0,
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  THERMAL_AUX1,
30  THERMAL_CRITICAL,
31  THERMAL_DEV_FAULT,
32};
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34enum {
35  THERMAL_GENL_ATTR_UNSPEC,
36  THERMAL_GENL_ATTR_EVENT,
37  __THERMAL_GENL_ATTR_MAX,
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40#define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1)
41enum {
42  THERMAL_GENL_CMD_UNSPEC,
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  THERMAL_GENL_CMD_EVENT,
45  __THERMAL_GENL_CMD_MAX,
46};
47#define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1)
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#endif
50