Lines Matching defs:rate
137 * Baud rate table. Indexed by #defines found in sys/termios.h
140 0, /* 0 baud rate */
141 0x900, /* 50 baud rate */
142 0x600, /* 75 baud rate */
143 0x417, /* 110 baud rate (%0.026) */
144 0x359, /* 134 baud rate (%0.058) */
145 0x300, /* 150 baud rate */
146 0x240, /* 200 baud rate */
147 0x180, /* 300 baud rate */
148 0x0c0, /* 600 baud rate */
149 0x060, /* 1200 baud rate */
150 0x040, /* 1800 baud rate */
151 0x030, /* 2400 baud rate */
152 0x018, /* 4800 baud rate */
153 0x00c, /* 9600 baud rate */
154 0x006, /* 19200 baud rate */
155 0x003, /* 38400 baud rate */
156 0x002, /* 57600 baud rate */
157 0, /* 76800 baud rate - not supported */
158 0x001, /* 115200 baud rate */
159 0, /* 153600 baud rate - not supported */
160 0x8002, /* 230400 baud rate - supported on specific platforms */
161 0, /* 307200 baud rate - not supported */
162 0x8001 /* 460800 baud rate - supported on specific platforms */
172 * Human-readable baud rate table.
176 0, /* 0 baud rate */
177 50, /* 50 baud rate */
178 75, /* 75 baud rate */
179 110, /* 110 baud rate */
180 134, /* 134 baud rate */
181 150, /* 150 baud rate */
182 200, /* 200 baud rate */
183 300, /* 300 baud rate */
184 600, /* 600 baud rate */
185 1200, /* 1200 baud rate */
186 1800, /* 1800 baud rate */
187 2400, /* 2400 baud rate */
188 4800, /* 4800 baud rate */
189 9600, /* 9600 baud rate */
190 19200, /* 19200 baud rate */
191 38400, /* 38400 baud rate */
192 57600, /* 57600 baud rate */
193 76800, /* 76800 baud rate */
194 115200, /* 115200 baud rate */
195 153600, /* 153600 baud rate */
196 230400, /* 230400 baud rate */
197 307200, /* 307200 baud rate */
198 460800 /* 460800 baud rate */
621 OUTB(LCR, DLAB); /* select baud rate generator */
622 /* Set the baud rate to 9600 */
1355 * If baud rate requested is greater than the speed cap
1356 * or is an unsupported baud rate then reset t_cflag baud
1357 * to the last valid baud rate. If this is the initial
1453 /* set the baud rate when the rate is NOT B0 */
2436 unsigned int rate;
2447 * 2 clock cycles * (1 MICROSEC / baud rate)
2449 rate = async->async_ttycommon.t_cflag & CBAUD;
2451 rate += 16;
2452 if (rate >= N_SU_SPEEDS || rate == B0) {
2453 rate = B9600;
2458 drv_usecwait(2 * MICROSEC / baudtable[rate]);
2606 * Get the divisor by calculating the rate
2608 unsigned int rate;
2611 rate = async->async_ttycommon.t_cflag & CBAUD;
2613 rate += 16;
2614 if (rate >= N_SU_SPEEDS || rate == B0) {
2615 rate = B9600;
2635 * 2 chars at the current baud rate in
2641 * 1 MICROSEC / baud rate
2645 baudtable[rate]));
2898 * input baud rate to the output baud rate.
3026 * Get the divisor by calculating the rate
3028 unsigned int rate, divisor;
3029 rate = async->async_ttycommon.t_cflag & CBAUD;
3031 rate += 16;
3032 if (rate >= N_SU_SPEEDS) rate = B9600;
3033 divisor = asyspdtab[rate] & 0xfff;