1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef __ASM_GENERIC_TERMBITS_COMMON_H 8 #define __ASM_GENERIC_TERMBITS_COMMON_H 9 typedef unsigned char cc_t; 10 typedef unsigned int speed_t; 11 #define IGNBRK 0x001 12 #define BRKINT 0x002 13 #define IGNPAR 0x004 14 #define PARMRK 0x008 15 #define INPCK 0x010 16 #define ISTRIP 0x020 17 #define INLCR 0x040 18 #define IGNCR 0x080 19 #define ICRNL 0x100 20 #define IXANY 0x800 21 #define OPOST 0x01 22 #define OCRNL 0x08 23 #define ONOCR 0x10 24 #define ONLRET 0x20 25 #define OFILL 0x40 26 #define OFDEL 0x80 27 #define B0 0x00000000 28 #define B50 0x00000001 29 #define B75 0x00000002 30 #define B110 0x00000003 31 #define B134 0x00000004 32 #define B150 0x00000005 33 #define B200 0x00000006 34 #define B300 0x00000007 35 #define B600 0x00000008 36 #define B1200 0x00000009 37 #define B1800 0x0000000a 38 #define B2400 0x0000000b 39 #define B4800 0x0000000c 40 #define B9600 0x0000000d 41 #define B19200 0x0000000e 42 #define B38400 0x0000000f 43 #define EXTA B19200 44 #define EXTB B38400 45 #define ADDRB 0x20000000 46 #define CMSPAR 0x40000000 47 #define CRTSCTS 0x80000000 48 #define IBSHIFT 16 49 #define TCOOFF 0 50 #define TCOON 1 51 #define TCIOFF 2 52 #define TCION 3 53 #define TCIFLUSH 0 54 #define TCOFLUSH 1 55 #define TCIOFLUSH 2 56 #endif 57