xref: /linux/arch/s390/include/uapi/asm/schid.h (revision 34bbeed07494cc0d64d0c7a953230883a4d78f6f)
16f52b16cSGreg 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 
7*34bbeed0SSven Schnelle #ifndef __ASSEMBLY__
8*34bbeed0SSven Schnelle 
99807f759SDavid Howells struct subchannel_id {
109807f759SDavid Howells 	__u32 cssid : 8;
119807f759SDavid Howells 	__u32 : 4;
129807f759SDavid Howells 	__u32 m : 1;
139807f759SDavid Howells 	__u32 ssid : 2;
149807f759SDavid Howells 	__u32 one : 1;
159807f759SDavid Howells 	__u32 sch_no : 16;
169807f759SDavid Howells } __attribute__ ((packed, aligned(4)));
179807f759SDavid Howells 
18*34bbeed0SSven Schnelle #endif /* __ASSEMBLY__ */
199807f759SDavid Howells 
209807f759SDavid Howells #endif /* _UAPIASM_SCHID_H */
21