Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * IOCTL interface for SCLP
0004  *
0005  * Copyright IBM Corp. 2012
0006  *
0007  * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com>
0008  */
0009 
0010 #ifndef _ASM_SCLP_CTL_H
0011 #define _ASM_SCLP_CTL_H
0012 
0013 #include <linux/types.h>
0014 
0015 struct sclp_ctl_sccb {
0016     __u32   cmdw;
0017     __u64   sccb;
0018 } __attribute__((packed));
0019 
0020 #define SCLP_CTL_IOCTL_MAGIC 0x10
0021 
0022 #define SCLP_CTL_SCCB \
0023     _IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb)
0024 
0025 #endif