1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 2 #ifndef __ASM_GENERIC_TERMBITS_COMMON_H 3 #define __ASM_GENERIC_TERMBITS_COMMON_H 4 5 typedef unsigned char cc_t; 6 typedef unsigned int speed_t; 7 8 /* c_iflag bits */ 9 #define IGNBRK 0x001 /* Ign 10 #define BRKINT 0x002 /* Sig 11 #define IGNPAR 0x004 /* Ign 12 #define PARMRK 0x008 /* Mar 13 #define INPCK 0x010 /* Ena 14 #define ISTRIP 0x020 /* Str 15 #define INLCR 0x040 /* Map 16 #define IGNCR 0x080 /* Ign 17 #define ICRNL 0x100 /* Map 18 #define IXANY 0x800 /* Any 19 20 /* c_oflag bits */ 21 #define OPOST 0x01 /* Per 22 #define OCRNL 0x08 23 #define ONOCR 0x10 24 #define ONLRET 0x20 25 #define OFILL 0x40 26 #define OFDEL 0x80 27 28 /* c_cflag bit meaning */ 29 /* Common CBAUD rates */ 30 #define B0 0x00000000 /* han 31 #define B50 0x00000001 32 #define B75 0x00000002 33 #define B110 0x00000003 34 #define B134 0x00000004 35 #define B150 0x00000005 36 #define B200 0x00000006 37 #define B300 0x00000007 38 #define B600 0x00000008 39 #define B1200 0x00000009 40 #define B1800 0x0000000a 41 #define B2400 0x0000000b 42 #define B4800 0x0000000c 43 #define B9600 0x0000000d 44 #define B19200 0x0000000e 45 #define B38400 0x0000000f 46 #define EXTA B19200 47 #define EXTB B38400 48 49 #define ADDRB 0x20000000 /* add 50 #define CMSPAR 0x40000000 /* mar 51 #define CRTSCTS 0x80000000 /* flo 52 53 #define IBSHIFT 16 /* Shi 54 55 /* tcflow() ACTION argument and TCXONC use the 56 #define TCOOFF 0 /* Sus 57 #define TCOON 1 /* Res 58 #define TCIOFF 2 /* Sen 59 #define TCION 3 /* Sen 60 61 /* tcflush() QUEUE_SELECTOR argument and TCFLS 62 #define TCIFLUSH 0 /* Dis 63 #define TCOFLUSH 1 /* Dis 64 #define TCIOFLUSH 2 /* Dis 65 66 #endif /* __ASM_GENERIC_TERMBITS_COMMON_H */ 67
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.