xref: /openbmc/linux/arch/s390/include/uapi/asm/schid.h (revision 0c6dfa75)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPIASM_SCHID_H
3 #define _UAPIASM_SCHID_H
4 
5 #include <linux/types.h>
6 
7 #ifndef __ASSEMBLY__
8 
9 struct subchannel_id {
10 	__u32 cssid : 8;
11 	__u32 : 4;
12 	__u32 m : 1;
13 	__u32 ssid : 2;
14 	__u32 one : 1;
15 	__u32 sch_no : 16;
16 } __attribute__ ((packed, aligned(4)));
17 
18 #endif /* __ASSEMBLY__ */
19 
20 #endif /* _UAPIASM_SCHID_H */
21