xref: /linux/arch/s390/include/uapi/asm/schid.h (revision 9807f75955ea7f1877981056755284481873115c)
1*9807f759SDavid Howells #ifndef _UAPIASM_SCHID_H
2*9807f759SDavid Howells #define _UAPIASM_SCHID_H
3*9807f759SDavid Howells 
4*9807f759SDavid Howells #include <linux/types.h>
5*9807f759SDavid Howells 
6*9807f759SDavid Howells struct subchannel_id {
7*9807f759SDavid Howells 	__u32 cssid : 8;
8*9807f759SDavid Howells 	__u32 : 4;
9*9807f759SDavid Howells 	__u32 m : 1;
10*9807f759SDavid Howells 	__u32 ssid : 2;
11*9807f759SDavid Howells 	__u32 one : 1;
12*9807f759SDavid Howells 	__u32 sch_no : 16;
13*9807f759SDavid Howells } __attribute__ ((packed, aligned(4)));
14*9807f759SDavid Howells 
15*9807f759SDavid Howells 
16*9807f759SDavid Howells #endif /* _UAPIASM_SCHID_H */
17