blob: f99def1e53bad6eb0f640bcb83981f0998aeb36b [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _LINUX_MEI_H
8#define _LINUX_MEI_H
Christopher Ferris37c3f3c2023-07-10 10:59:05 -07009#include <linux/mei_uuid.h>
Tao Baod7db5942015-01-28 10:07:51 -080010#define IOCTL_MEI_CONNECT_CLIENT _IOWR('H', 0x01, struct mei_connect_client_data)
Ben Cheng655a7c02013-10-16 16:09:24 -070011struct mei_client {
Tao Baod7db5942015-01-28 10:07:51 -080012 __u32 max_msg_length;
13 __u8 protocol_version;
14 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -070015};
16struct mei_connect_client_data {
Tao Baod7db5942015-01-28 10:07:51 -080017 union {
18 uuid_le in_client_uuid;
Tao Baod7db5942015-01-28 10:07:51 -080019 struct mei_client out_client_properties;
20 };
Ben Cheng655a7c02013-10-16 16:09:24 -070021};
Christopher Ferris05d08e92016-02-04 13:16:38 -080022#define IOCTL_MEI_NOTIFY_SET _IOW('H', 0x02, __u32)
Christopher Ferris05d08e92016-02-04 13:16:38 -080023#define IOCTL_MEI_NOTIFY_GET _IOR('H', 0x03, __u32)
Christopher Ferris32ff3f82020-12-14 13:10:04 -080024struct mei_connect_client_vtag {
25 uuid_le in_client_uuid;
26 __u8 vtag;
27 __u8 reserved[3];
28};
29struct mei_connect_client_data_vtag {
30 union {
31 struct mei_connect_client_vtag connect;
32 struct mei_client out_client_properties;
33 };
34};
35#define IOCTL_MEI_CONNECT_CLIENT_VTAG _IOWR('H', 0x04, struct mei_connect_client_data_vtag)
Christopher Ferris05d08e92016-02-04 13:16:38 -080036#endif