Lines Matching defs:baud
312 * we abuse the serial ports' baud timers' interrupt lines to get the ability
320 * note that we can't just leave the line enabled as the baud rate timer *also*
600 * routines (irq is the baud timer interrupt)
884 /* disable the serial port and its baud rate timer */
906 * specified baud rate for a serial port.
915 int baud, bits, xdiv, tmp;
947 /* Determine divisor based on baud rate */
957 baud = uart_get_baud_rate(&port->uart, new, old, 0,
960 _debug("ALT %d [baud %d]", battempt, baud);
962 if (!baud)
963 baud = 9600; /* B0 transition handled in rs_set_termios */
965 if (baud == 134) {
966 baud = 269; /* 134 is really 134.5 */
970 if (baud == 38400 &&
1025 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1;
1031 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1;
1037 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1;
1045 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1;
1051 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1;
1057 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1;
1067 /* refuse to change to a baud rate we can't support */
1111 uart_update_timeout(&port->uart, new->c_cflag, baud);
1113 /* set the timer to produce the required baud rate */
1306 SC2TIM = 8; /* make the baud base of timer 2 IOCLK/8 */
1439 int i, parity = 'n', baud = 9600, bits = 8, flow = 0;
1465 uart_parse_options(options, &baud, &parity, &bits, &flow);
1467 return uart_set_options(&port->uart, co, baud, parity, bits, flow);