1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * IOCTL interface for SCLP 4 * 5 * Copyright IBM Corp. 2012 6 * 7 * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com> 8 */ 9 10 #ifndef _ASM_SCLP_CTL_H 11 #define _ASM_SCLP_CTL_H 12 13 #include <linux/types.h> 14 15 struct sclp_ctl_sccb { 16 __u32 cmdw; 17 __u64 sccb; 18 } __attribute__((packed)); 19 20 #define SCLP_CTL_IOCTL_MAGIC 0x10 21 22 #define SCLP_CTL_SCCB \ 23 _IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb) 24 25 #endif