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 _LINUX_MEI_H 20 #define _LINUX_MEI_H 21 #include <linux/uuid.h> 22 #define IOCTL_MEI_CONNECT_CLIENT _IOWR('H', 0x01, struct mei_connect_client_data) 23 struct mei_client { 24 __u32 max_msg_length; 25 __u8 protocol_version; 26 __u8 reserved[3]; 27 }; 28 struct mei_connect_client_data { 29 union { 30 uuid_le in_client_uuid; 31 struct mei_client out_client_properties; 32 }; 33 }; 34 #define IOCTL_MEI_NOTIFY_SET _IOW('H', 0x02, __u32) 35 #define IOCTL_MEI_NOTIFY_GET _IOR('H', 0x03, __u32) 36 #endif 37