Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: mei.h
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
[0] Fix | Delete
/*
[1] Fix | Delete
* Copyright(c) 2003-2015 Intel Corporation. All rights reserved.
[2] Fix | Delete
* Intel Management Engine Interface (Intel MEI) Linux driver
[3] Fix | Delete
* Intel MEI Interface Header
[4] Fix | Delete
*/
[5] Fix | Delete
#ifndef _LINUX_MEI_H
[6] Fix | Delete
#define _LINUX_MEI_H
[7] Fix | Delete
[8] Fix | Delete
#include <linux/uuid.h>
[9] Fix | Delete
[10] Fix | Delete
/*
[11] Fix | Delete
* This IOCTL is used to associate the current file descriptor with a
[12] Fix | Delete
* FW Client (given by UUID). This opens a communication channel
[13] Fix | Delete
* between a host client and a FW client. From this point every read and write
[14] Fix | Delete
* will communicate with the associated FW client.
[15] Fix | Delete
* Only in close() (file_operation release()) the communication between
[16] Fix | Delete
* the clients is disconnected
[17] Fix | Delete
*
[18] Fix | Delete
* The IOCTL argument is a struct with a union that contains
[19] Fix | Delete
* the input parameter and the output parameter for this IOCTL.
[20] Fix | Delete
*
[21] Fix | Delete
* The input parameter is UUID of the FW Client.
[22] Fix | Delete
* The output parameter is the properties of the FW client
[23] Fix | Delete
* (FW protocol version and max message size).
[24] Fix | Delete
*
[25] Fix | Delete
*/
[26] Fix | Delete
#define IOCTL_MEI_CONNECT_CLIENT \
[27] Fix | Delete
_IOWR('H' , 0x01, struct mei_connect_client_data)
[28] Fix | Delete
[29] Fix | Delete
/*
[30] Fix | Delete
* Intel MEI client information struct
[31] Fix | Delete
*/
[32] Fix | Delete
struct mei_client {
[33] Fix | Delete
__u32 max_msg_length;
[34] Fix | Delete
__u8 protocol_version;
[35] Fix | Delete
__u8 reserved[3];
[36] Fix | Delete
};
[37] Fix | Delete
[38] Fix | Delete
/*
[39] Fix | Delete
* IOCTL Connect Client Data structure
[40] Fix | Delete
*/
[41] Fix | Delete
struct mei_connect_client_data {
[42] Fix | Delete
union {
[43] Fix | Delete
uuid_le in_client_uuid;
[44] Fix | Delete
struct mei_client out_client_properties;
[45] Fix | Delete
};
[46] Fix | Delete
};
[47] Fix | Delete
[48] Fix | Delete
/**
[49] Fix | Delete
* DOC: set and unset event notification for a connected client
[50] Fix | Delete
*
[51] Fix | Delete
* The IOCTL argument is 1 for enabling event notification and 0 for
[52] Fix | Delete
* disabling the service
[53] Fix | Delete
* Return: -EOPNOTSUPP if the devices doesn't support the feature
[54] Fix | Delete
*/
[55] Fix | Delete
#define IOCTL_MEI_NOTIFY_SET _IOW('H', 0x02, __u32)
[56] Fix | Delete
[57] Fix | Delete
/**
[58] Fix | Delete
* DOC: retrieve notification
[59] Fix | Delete
*
[60] Fix | Delete
* The IOCTL output argument is 1 if an event was is pending and 0 otherwise
[61] Fix | Delete
* the ioctl has to be called in order to acknowledge pending event
[62] Fix | Delete
*
[63] Fix | Delete
* Return: -EOPNOTSUPP if the devices doesn't support the feature
[64] Fix | Delete
*/
[65] Fix | Delete
#define IOCTL_MEI_NOTIFY_GET _IOR('H', 0x03, __u32)
[66] Fix | Delete
[67] Fix | Delete
/**
[68] Fix | Delete
* struct mei_connect_client_vtag - mei client information struct with vtag
[69] Fix | Delete
*
[70] Fix | Delete
* @in_client_uuid: UUID of client to connect
[71] Fix | Delete
* @vtag: virtual tag
[72] Fix | Delete
* @reserved: reserved for future use
[73] Fix | Delete
*/
[74] Fix | Delete
struct mei_connect_client_vtag {
[75] Fix | Delete
uuid_le in_client_uuid;
[76] Fix | Delete
__u8 vtag;
[77] Fix | Delete
__u8 reserved[3];
[78] Fix | Delete
};
[79] Fix | Delete
[80] Fix | Delete
/**
[81] Fix | Delete
* struct mei_connect_client_data_vtag - IOCTL connect data union
[82] Fix | Delete
*
[83] Fix | Delete
* @connect: input connect data
[84] Fix | Delete
* @out_client_properties: output client data
[85] Fix | Delete
*/
[86] Fix | Delete
struct mei_connect_client_data_vtag {
[87] Fix | Delete
union {
[88] Fix | Delete
struct mei_connect_client_vtag connect;
[89] Fix | Delete
struct mei_client out_client_properties;
[90] Fix | Delete
};
[91] Fix | Delete
};
[92] Fix | Delete
[93] Fix | Delete
/**
[94] Fix | Delete
* DOC:
[95] Fix | Delete
* This IOCTL is used to associate the current file descriptor with a
[96] Fix | Delete
* FW Client (given by UUID), and virtual tag (vtag).
[97] Fix | Delete
* The IOCTL opens a communication channel between a host client and
[98] Fix | Delete
* a FW client on a tagged channel. From this point on, every read
[99] Fix | Delete
* and write will communicate with the associated FW client with
[100] Fix | Delete
* on the tagged channel.
[101] Fix | Delete
* Upone close() the communication is terminated.
[102] Fix | Delete
*
[103] Fix | Delete
* The IOCTL argument is a struct with a union that contains
[104] Fix | Delete
* the input parameter and the output parameter for this IOCTL.
[105] Fix | Delete
*
[106] Fix | Delete
* The input parameter is UUID of the FW Client, a vtag [0,255]
[107] Fix | Delete
* The output parameter is the properties of the FW client
[108] Fix | Delete
* (FW protocool version and max message size).
[109] Fix | Delete
*
[110] Fix | Delete
* Clients that do not support tagged connection
[111] Fix | Delete
* will respond with -EOPNOTSUPP.
[112] Fix | Delete
*/
[113] Fix | Delete
#define IOCTL_MEI_CONNECT_CLIENT_VTAG \
[114] Fix | Delete
_IOWR('H', 0x04, struct mei_connect_client_data_vtag)
[115] Fix | Delete
[116] Fix | Delete
#endif /* _LINUX_MEI_H */
[117] Fix | Delete
[118] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function