xref: /linux/arch/s390/include/uapi/asm/fs3270.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier:  GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __ASM_S390_UAPI_FS3270_H
3 #define __ASM_S390_UAPI_FS3270_H
4 
5 #include <linux/types.h>
6 #include <asm/ioctl.h>
7 
8 /* ioctls for fullscreen 3270 */
9 #define TUBICMD		_IO('3', 3)	/* set ccw command for fs reads. */
10 #define TUBOCMD		_IO('3', 4)	/* set ccw command for fs writes. */
11 #define TUBGETI		_IO('3', 7)	/* get ccw command for fs reads. */
12 #define TUBGETO		_IO('3', 8)	/* get ccw command for fs writes. */
13 #define TUBGETMOD	_IO('3', 13)	/* get characteristics like model, cols, rows */
14 
15 /* For TUBGETMOD */
16 struct raw3270_iocb {
17 	__u16 model;
18 	__u16 line_cnt;
19 	__u16 col_cnt;
20 	__u16 pf_cnt;
21 	__u16 re_cnt;
22 	__u16 map;
23 };
24 
25 #endif /* __ASM_S390_UAPI_FS3270_H */
26