1 #ifndef __ASM_AVR32_TERMBITS_H
2 #define __ASM_AVR32_TERMBITS_H
4 #include <linux/posix_types.h>
6 typedef unsigned char cc_t;
7 typedef unsigned int speed_t;
8 typedef unsigned int tcflag_t;
12 tcflag_t c_iflag; /* input mode flags */
13 tcflag_t c_oflag; /* output mode flags */
14 tcflag_t c_cflag; /* control mode flags */
15 tcflag_t c_lflag; /* local mode flags */
16 cc_t c_line; /* line discipline */
17 cc_t c_cc[NCCS]; /* control characters */
21 tcflag_t c_iflag; /* input mode flags */
22 tcflag_t c_oflag; /* output mode flags */
23 tcflag_t c_cflag; /* control mode flags */
24 tcflag_t c_lflag; /* local mode flags */
25 cc_t c_line; /* line discipline */
26 cc_t c_cc[NCCS]; /* control characters */
27 speed_t c_ispeed; /* input speed */
28 speed_t c_ospeed; /* output speed */
51 #define IGNBRK 0000001
52 #define BRKINT 0000002
53 #define IGNPAR 0000004
54 #define PARMRK 0000010
56 #define ISTRIP 0000040
64 #define IMAXBEL 0020000
73 #define ONLRET 0000040
84 #define TABDLY 0014000
100 /* c_cflag bit meaning */
101 #define CBAUD 0010017
102 #define B0 0000000 /* hang up */
111 #define B1200 0000011
112 #define B1800 0000012
113 #define B2400 0000013
114 #define B4800 0000014
115 #define B9600 0000015
116 #define B19200 0000016
117 #define B38400 0000017
120 #define CSIZE 0000060
125 #define CSTOPB 0000100
126 #define CREAD 0000200
127 #define PARENB 0000400
128 #define PARODD 0001000
129 #define HUPCL 0002000
130 #define CLOCAL 0004000
131 #define CBAUDEX 0010000
132 #define B57600 0010001
133 #define B115200 0010002
134 #define B230400 0010003
135 #define B460800 0010004
136 #define B500000 0010005
137 #define B576000 0010006
138 #define B921600 0010007
139 #define B1000000 0010010
140 #define B1152000 0010011
141 #define B1500000 0010012
142 #define B2000000 0010013
143 #define B2500000 0010014
144 #define B3000000 0010015
145 #define B3500000 0010016
146 #define B4000000 0010017
147 #define CIBAUD 002003600000 /* input baud rate (not used) */
148 #define CMSPAR 010000000000 /* mark or space (stick) parity */
149 #define CRTSCTS 020000000000 /* flow control */
153 #define ICANON 0000002
154 #define XCASE 0000004
156 #define ECHOE 0000020
157 #define ECHOK 0000040
158 #define ECHONL 0000100
159 #define NOFLSH 0000200
160 #define TOSTOP 0000400
161 #define ECHOCTL 0001000
162 #define ECHOPRT 0002000
163 #define ECHOKE 0004000
164 #define FLUSHO 0010000
165 #define PENDIN 0040000
166 #define IEXTEN 0100000
168 /* tcflow() and TCXONC use these */
174 /* tcflush() and TCFLSH use these */
179 /* tcsetattr uses these */
184 #endif /* __ASM_AVR32_TERMBITS_H */