xref: /linux/arch/s390/include/uapi/asm/schid.h (revision 6f52b16c5b29b89d92c0e7236f4655dc8491ad70)
1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
29807f759SDavid Howells #ifndef _UAPIASM_SCHID_H
39807f759SDavid Howells #define _UAPIASM_SCHID_H
49807f759SDavid Howells 
59807f759SDavid Howells #include <linux/types.h>
69807f759SDavid Howells 
79807f759SDavid Howells struct subchannel_id {
89807f759SDavid Howells 	__u32 cssid : 8;
99807f759SDavid Howells 	__u32 : 4;
109807f759SDavid Howells 	__u32 m : 1;
119807f759SDavid Howells 	__u32 ssid : 2;
129807f759SDavid Howells 	__u32 one : 1;
139807f759SDavid Howells 	__u32 sch_no : 16;
149807f759SDavid Howells } __attribute__ ((packed, aligned(4)));
159807f759SDavid Howells 
169807f759SDavid Howells 
179807f759SDavid Howells #endif /* _UAPIASM_SCHID_H */
18