xref: /openbmc/linux/arch/s390/include/uapi/asm/sclp_ctl.h (revision 92a76f6d)
1 /*
2  * IOCTL interface for SCLP
3  *
4  * Copyright IBM Corp. 2012
5  *
6  * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com>
7  */
8 
9 #ifndef _ASM_SCLP_CTL_H
10 #define _ASM_SCLP_CTL_H
11 
12 #include <linux/types.h>
13 
14 struct sclp_ctl_sccb {
15 	__u32	cmdw;
16 	__u64	sccb;
17 } __attribute__((packed));
18 
19 #define SCLP_CTL_IOCTL_MAGIC 0x10
20 
21 #define SCLP_CTL_SCCB \
22 	_IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb)
23 
24 #endif
25