fs3270.h 729 B

12345678910111213141516171819202122232425
  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. #include <linux/types.h>
  5. #include <asm/ioctl.h>
  6. /* ioctls for fullscreen 3270 */
  7. #define TUBICMD _IO('3', 3) /* set ccw command for fs reads. */
  8. #define TUBOCMD _IO('3', 4) /* set ccw command for fs writes. */
  9. #define TUBGETI _IO('3', 7) /* get ccw command for fs reads. */
  10. #define TUBGETO _IO('3', 8) /* get ccw command for fs writes. */
  11. #define TUBGETMOD _IO('3', 13) /* get characteristics like model, cols, rows */
  12. /* For TUBGETMOD */
  13. struct raw3270_iocb {
  14. __u16 model;
  15. __u16 line_cnt;
  16. __u16 col_cnt;
  17. __u16 pf_cnt;
  18. __u16 re_cnt;
  19. __u16 map;
  20. };
  21. #endif /* __ASM_S390_UAPI_FS3270_H */