1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_DEVICE_ID_MEI_CL_H 3 #define LINUX_DEVICE_ID_MEI_CL_H 4 5 #ifdef __KERNEL__ 6 #include <linux/types.h> 7 #include <linux/mei_uuid.h> 8 typedef unsigned long kernel_ulong_t; 9 #endif 10 11 #define MEI_CL_MODULE_PREFIX "mei:" 12 #define MEI_CL_NAME_SIZE 32 13 #define MEI_CL_VERSION_ANY 0xff 14 15 /** 16 * struct mei_cl_device_id - MEI client device identifier 17 * @name: helper name 18 * @uuid: client uuid 19 * @version: client protocol version 20 * @driver_info: information used by the driver. 21 * 22 * identifies mei client device by uuid and name 23 */ 24 struct mei_cl_device_id { 25 char name[MEI_CL_NAME_SIZE]; 26 uuid_le uuid; 27 __u8 version; 28 kernel_ulong_t driver_info; 29 }; 30 31 #endif /* ifndef LINUX_DEVICE_ID_MEI_CL_H */ 32