blob: ed37abdc0257c6741082bdcc4834cbdf7567f709 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _LINUX_MEI_H
20#define _LINUX_MEI_H
21#include <linux/uuid.h>
Tao Baod7db5942015-01-28 10:07:51 -080022#define IOCTL_MEI_CONNECT_CLIENT _IOWR('H', 0x01, struct mei_connect_client_data)
Ben Cheng655a7c02013-10-16 16:09:24 -070023struct mei_client {
Tao Baod7db5942015-01-28 10:07:51 -080024 __u32 max_msg_length;
25 __u8 protocol_version;
26 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -070027};
28struct mei_connect_client_data {
Tao Baod7db5942015-01-28 10:07:51 -080029 union {
30 uuid_le in_client_uuid;
Tao Baod7db5942015-01-28 10:07:51 -080031 struct mei_client out_client_properties;
32 };
Ben Cheng655a7c02013-10-16 16:09:24 -070033};
Christopher Ferris05d08e92016-02-04 13:16:38 -080034#define IOCTL_MEI_NOTIFY_SET _IOW('H', 0x02, __u32)
Christopher Ferris05d08e92016-02-04 13:16:38 -080035#define IOCTL_MEI_NOTIFY_GET _IOR('H', 0x03, __u32)
Christopher Ferris32ff3f82020-12-14 13:10:04 -080036struct mei_connect_client_vtag {
37 uuid_le in_client_uuid;
38 __u8 vtag;
39 __u8 reserved[3];
40};
41struct mei_connect_client_data_vtag {
42 union {
43 struct mei_connect_client_vtag connect;
44 struct mei_client out_client_properties;
45 };
46};
47#define IOCTL_MEI_CONNECT_CLIENT_VTAG _IOWR('H', 0x04, struct mei_connect_client_data_vtag)
Christopher Ferris05d08e92016-02-04 13:16:38 -080048#endif