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 #define THERMAL_GENL_VERSION 0x01 24 #define THERMAL_GENL_MCAST_GROUP_NAME "thermal_mc_grp" 25 enum events { 26 THERMAL_AUX0, 27 THERMAL_AUX1, 28 THERMAL_CRITICAL, 29 THERMAL_DEV_FAULT, 30 }; 31 enum { 32 THERMAL_GENL_ATTR_UNSPEC, 33 THERMAL_GENL_ATTR_EVENT, 34 __THERMAL_GENL_ATTR_MAX, 35 }; 36 #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1) 37 enum { 38 THERMAL_GENL_CMD_UNSPEC, 39 THERMAL_GENL_CMD_EVENT, 40 __THERMAL_GENL_CMD_MAX, 41 }; 42 #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1) 43 #endif 44