Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_TERMIOS_H |
| 3 | #define _LINUX_TERMIOS_H |
| 4 | |
| 5 | #include <linux/types.h> |
| 6 | #include <asm/termios.h> |
| 7 | |
Greg Kroah-Hartman | 8a365a2 | 2021-09-12 10:59:38 +0200 | [diff] [blame] | 8 | #define NFF 5 |
| 9 | |
| 10 | struct termiox |
| 11 | { |
| 12 | __u16 x_hflag; |
| 13 | __u16 x_cflag; |
| 14 | __u16 x_rflag[NFF]; |
| 15 | __u16 x_sflag; |
| 16 | }; |
| 17 | |
| 18 | #define RTSXOFF 0x0001 /* RTS flow control on input */ |
| 19 | #define CTSXON 0x0002 /* CTS flow control on output */ |
| 20 | #define DTRXOFF 0x0004 /* DTR flow control on input */ |
| 21 | #define DSRXON 0x0008 /* DCD flow control on output */ |
| 22 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #endif |