1 #ifndef _ASM_M32R_TERMBITS_H
2 #define _ASM_M32R_TERMBITS_H
6 #include <linux/posix_types.h>
8 typedef unsigned char cc_t;
9 typedef unsigned int speed_t;
10 typedef unsigned int tcflag_t;
14 tcflag_t c_iflag; /* input mode flags */
15 tcflag_t c_oflag; /* output mode flags */
16 tcflag_t c_cflag; /* control mode flags */
17 tcflag_t c_lflag; /* local mode flags */
18 cc_t c_line; /* line discipline */
19 cc_t c_cc[NCCS]; /* control characters */
42 #define IGNBRK 0000001
43 #define BRKINT 0000002
44 #define IGNPAR 0000004
45 #define PARMRK 0000010
47 #define ISTRIP 0000040
55 #define IMAXBEL 0020000
64 #define ONLRET 0000040
75 #define TABDLY 0014000
91 /* c_cflag bit meaning */
93 #define B0 0000000 /* hang up */
102 #define B1200 0000011
103 #define B1800 0000012
104 #define B2400 0000013
105 #define B4800 0000014
106 #define B9600 0000015
107 #define B19200 0000016
108 #define B38400 0000017
111 #define CSIZE 0000060
116 #define CSTOPB 0000100
117 #define CREAD 0000200
118 #define PARENB 0000400
119 #define PARODD 0001000
120 #define HUPCL 0002000
121 #define CLOCAL 0004000
122 #define CBAUDEX 0010000
123 #define B57600 0010001
124 #define B115200 0010002
125 #define B230400 0010003
126 #define B460800 0010004
127 #define B500000 0010005
128 #define B576000 0010006
129 #define B921600 0010007
130 #define B1000000 0010010
131 #define B1152000 0010011
132 #define B1500000 0010012
133 #define B2000000 0010013
134 #define B2500000 0010014
135 #define B3000000 0010015
136 #define B3500000 0010016
137 #define B4000000 0010017
138 #define CIBAUD 002003600000 /* input baud rate (not used) */
139 #define CTVB 004000000000 /* VisioBraille Terminal flow control */
140 #define CMSPAR 010000000000 /* mark or space (stick) parity */
141 #define CRTSCTS 020000000000 /* flow control */
145 #define ICANON 0000002
146 #define XCASE 0000004
148 #define ECHOE 0000020
149 #define ECHOK 0000040
150 #define ECHONL 0000100
151 #define NOFLSH 0000200
152 #define TOSTOP 0000400
153 #define ECHOCTL 0001000
154 #define ECHOPRT 0002000
155 #define ECHOKE 0004000
156 #define FLUSHO 0010000
157 #define PENDIN 0040000
158 #define IEXTEN 0100000
160 /* tcflow() and TCXONC use these */
166 /* tcflush() and TCFLSH use these */
171 /* tcsetattr uses these */
176 #endif /* _ASM_M32R_TERMBITS_H */