Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/s390/include/uapi/asm/sclp_ctl.h
26481 views
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 <[email protected]>
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
26
27