Christopher Ferris | 80ae69d | 2022-08-02 16:32:21 -0700 | [diff] [blame^] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef __ASM_GENERIC_TERMBITS_COMMON_H |
| 20 | #define __ASM_GENERIC_TERMBITS_COMMON_H |
| 21 | typedef unsigned char cc_t; |
| 22 | typedef unsigned int speed_t; |
| 23 | #define IGNBRK 0x001 |
| 24 | #define BRKINT 0x002 |
| 25 | #define IGNPAR 0x004 |
| 26 | #define PARMRK 0x008 |
| 27 | #define INPCK 0x010 |
| 28 | #define ISTRIP 0x020 |
| 29 | #define INLCR 0x040 |
| 30 | #define IGNCR 0x080 |
| 31 | #define ICRNL 0x100 |
| 32 | #define IXANY 0x800 |
| 33 | #define OPOST 0x01 |
| 34 | #define OCRNL 0x08 |
| 35 | #define ONOCR 0x10 |
| 36 | #define ONLRET 0x20 |
| 37 | #define OFILL 0x40 |
| 38 | #define OFDEL 0x80 |
| 39 | #define B0 0x00000000 |
| 40 | #define B50 0x00000001 |
| 41 | #define B75 0x00000002 |
| 42 | #define B110 0x00000003 |
| 43 | #define B134 0x00000004 |
| 44 | #define B150 0x00000005 |
| 45 | #define B200 0x00000006 |
| 46 | #define B300 0x00000007 |
| 47 | #define B600 0x00000008 |
| 48 | #define B1200 0x00000009 |
| 49 | #define B1800 0x0000000a |
| 50 | #define B2400 0x0000000b |
| 51 | #define B4800 0x0000000c |
| 52 | #define B9600 0x0000000d |
| 53 | #define B19200 0x0000000e |
| 54 | #define B38400 0x0000000f |
| 55 | #define EXTA B19200 |
| 56 | #define EXTB B38400 |
| 57 | #define CMSPAR 0x40000000 |
| 58 | #define CRTSCTS 0x80000000 |
| 59 | #define IBSHIFT 16 |
| 60 | #define TCOOFF 0 |
| 61 | #define TCOON 1 |
| 62 | #define TCIOFF 2 |
| 63 | #define TCION 3 |
| 64 | #define TCIFLUSH 0 |
| 65 | #define TCOFLUSH 1 |
| 66 | #define TCIOFLUSH 2 |
| 67 | #endif |