Lines Matching defs:baud
469 /* baud rate calculation
477 * baud clocks (and the resultant actual baud rates) and then tries to
519 unsigned int baud)
534 unsigned long div = rate / baud;
537 * get a divisor adjustment of 1/16th on the baud clock.
540 * by not multiplying the baud by 16) as it is easy enough
547 calc->quot = (rate + (8 * baud)) / (16 * baud);
558 unsigned int baud)
594 s3c24xx_serial_calcbaud(res, port, clkp, baud);
601 if (s3c24xx_serial_calcbaud(resptr, port, clkp, baud))
613 calc_deviation = baud - sptr->calc;
634 * This table takes the fractional value of the baud divisor and gives
665 unsigned int baud, quot;
680 baud = uart_get_baud_rate(port, termios, old, 0, 115200*8);
682 if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST)
685 quot = s3c24xx_serial_getclk(port, &clksrc, &clk, baud);
706 unsigned int div = ourport->baudclk_rate / baud;
774 uart_update_timeout(port, termios->c_cflag, baud);
1308 s3c24xx_serial_get_options(struct uart_port *port, int *baud,
1359 /* now calculate the baud rate */
1370 *baud = rate / (16 * (ubrdiv + 1));
1371 dbg("calculated baud %d\n", *baud);
1403 int baud = 9600;
1435 uart_parse_options(options, &baud, &parity, &bits, &flow);
1437 s3c24xx_serial_get_options(port, &baud, &parity, &bits);
1439 dbg("s3c24xx_serial_console_setup: baud %d\n", baud);
1441 return uart_set_options(port, co, baud, parity, bits, flow);