1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * Interfaces for vfio-ccw
4  *
5  * Copyright IBM Corp. 2017
6  *
7  * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
8  */
9 
10 #ifndef _VFIO_CCW_H_
11 #define _VFIO_CCW_H_
12 
13 #include <linux/types.h>
14 
15 struct ccw_io_region {
16 #define ORB_AREA_SIZE 12
17 	__u8	orb_area[ORB_AREA_SIZE];
18 #define SCSW_AREA_SIZE 12
19 	__u8	scsw_area[SCSW_AREA_SIZE];
20 #define IRB_AREA_SIZE 96
21 	__u8	irb_area[IRB_AREA_SIZE];
22 	__u32	ret_code;
23 } __attribute__((packed));
24 
25 #endif
26