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_ARM_TERMBITS_H 20 #define __ASM_ARM_TERMBITS_H 21 typedef unsigned char cc_t; 22 typedef unsigned int speed_t; 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 typedef unsigned int tcflag_t; 25 #define NCCS 19 26 struct termios { 27 tcflag_t c_iflag; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 tcflag_t c_oflag; 30 tcflag_t c_cflag; 31 tcflag_t c_lflag; 32 cc_t c_line; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 cc_t c_cc[NCCS]; 35 }; 36 #define VINTR 0 37 #define VQUIT 1 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define VERASE 2 40 #define VKILL 3 41 #define VEOF 4 42 #define VTIME 5 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define VMIN 6 45 #define VSWTC 7 46 #define VSTART 8 47 #define VSTOP 9 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define VSUSP 10 50 #define VEOL 11 51 #define VREPRINT 12 52 #define VDISCARD 13 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define VWERASE 14 55 #define VLNEXT 15 56 #define VEOL2 16 57 #define IGNBRK 0000001 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define BRKINT 0000002 60 #define IGNPAR 0000004 61 #define PARMRK 0000010 62 #define INPCK 0000020 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define ISTRIP 0000040 65 #define INLCR 0000100 66 #define IGNCR 0000200 67 #define ICRNL 0000400 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define IUCLC 0001000 70 #define IXON 0002000 71 #define IXANY 0004000 72 #define IXOFF 0010000 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 #define IMAXBEL 0020000 75 #define IUTF8 0040000 76 #define OPOST 0000001 77 #define OLCUC 0000002 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #define ONLCR 0000004 80 #define OCRNL 0000010 81 #define ONOCR 0000020 82 #define ONLRET 0000040 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define OFILL 0000100 85 #define OFDEL 0000200 86 #define NLDLY 0000400 87 #define NL0 0000000 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 #define NL1 0000400 90 #define CRDLY 0003000 91 #define CR0 0000000 92 #define CR1 0001000 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 #define CR2 0002000 95 #define CR3 0003000 96 #define TABDLY 0014000 97 #define TAB0 0000000 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 #define TAB1 0004000 100 #define TAB2 0010000 101 #define TAB3 0014000 102 #define XTABS 0014000 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 #define BSDLY 0020000 105 #define BS0 0000000 106 #define BS1 0020000 107 #define VTDLY 0040000 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 #define VT0 0000000 110 #define VT1 0040000 111 #define FFDLY 0100000 112 #define FF0 0000000 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 #define FF1 0100000 115 #define CBAUD 0010017 116 #define B0 0000000 117 #define B50 0000001 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 #define B75 0000002 120 #define B110 0000003 121 #define B134 0000004 122 #define B150 0000005 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 #define B200 0000006 125 #define B300 0000007 126 #define B600 0000010 127 #define B1200 0000011 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 #define B1800 0000012 130 #define B2400 0000013 131 #define B4800 0000014 132 #define B9600 0000015 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 #define B19200 0000016 135 #define B38400 0000017 136 #define EXTA B19200 137 #define EXTB B38400 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 #define CSIZE 0000060 140 #define CS5 0000000 141 #define CS6 0000020 142 #define CS7 0000040 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 #define CS8 0000060 145 #define CSTOPB 0000100 146 #define CREAD 0000200 147 #define PARENB 0000400 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 #define PARODD 0001000 150 #define HUPCL 0002000 151 #define CLOCAL 0004000 152 #define CBAUDEX 0010000 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 #define B57600 0010001 155 #define B115200 0010002 156 #define B230400 0010003 157 #define B460800 0010004 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 #define B500000 0010005 160 #define B576000 0010006 161 #define B921600 0010007 162 #define B1000000 0010010 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 #define B1152000 0010011 165 #define B1500000 0010012 166 #define B2000000 0010013 167 #define B2500000 0010014 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 #define B3000000 0010015 170 #define B3500000 0010016 171 #define B4000000 0010017 172 #define CIBAUD 002003600000 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 #define CMSPAR 010000000000 175 #define CRTSCTS 020000000000 176 #define ISIG 0000001 177 #define ICANON 0000002 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 #define XCASE 0000004 180 #define ECHO 0000010 181 #define ECHOE 0000020 182 #define ECHOK 0000040 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 #define ECHONL 0000100 185 #define NOFLSH 0000200 186 #define TOSTOP 0000400 187 #define ECHOCTL 0001000 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 #define ECHOPRT 0002000 190 #define ECHOKE 0004000 191 #define FLUSHO 0010000 192 #define PENDIN 0040000 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 #define IEXTEN 0100000 195 #define TCOOFF 0 196 #define TCOON 1 197 #define TCIOFF 2 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 #define TCION 3 200 #define TCIFLUSH 0 201 #define TCOFLUSH 1 202 #define TCIOFLUSH 2 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 #define TCSANOW 0 205 #define TCSADRAIN 1 206 #define TCSAFLUSH 2 207 #endif 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209