xref: /linux/include/linux/device-id/ssam.h (revision d2c9a99135da931377240942d44f3dea104cedb8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_SSAM_H
3 #define LINUX_DEVICE_ID_SSAM_H
4 
5 #ifdef __KERNEL__
6 #include <linux/types.h>
7 typedef unsigned long kernel_ulong_t;
8 #endif
9 
10 /* Surface System Aggregator Module */
11 
12 #define SSAM_MATCH_TARGET	0x1
13 #define SSAM_MATCH_INSTANCE	0x2
14 #define SSAM_MATCH_FUNCTION	0x4
15 
16 struct ssam_device_id {
17 	__u8 match_flags;
18 
19 	__u8 domain;
20 	__u8 category;
21 	__u8 target;
22 	__u8 instance;
23 	__u8 function;
24 
25 	kernel_ulong_t driver_data;
26 };
27 
28 #endif /* ifndef LINUX_DEVICE_ID_SSAM_H */
29