1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_THERMAL_H
3 #define _UAPI_LINUX_THERMAL_H
5 #define THERMAL_NAME_LENGTH 20
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"
12 /* Events supported by Thermal Netlink */
20 /* attributes of thermal_genl_family */
22 THERMAL_GENL_ATTR_UNSPEC
,
23 THERMAL_GENL_ATTR_EVENT
,
24 __THERMAL_GENL_ATTR_MAX
,
26 #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1)
28 /* commands supported by the thermal_genl_family */
30 THERMAL_GENL_CMD_UNSPEC
,
31 THERMAL_GENL_CMD_EVENT
,
32 __THERMAL_GENL_CMD_MAX
,
34 #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1)
36 #endif /* _UAPI_LINUX_THERMAL_H */