Lines Matching refs:baud
1276 unsigned int ucr2, old_ucr1, old_txrxen, baud, quot; in imx_set_termios() local
1339 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); in imx_set_termios()
1340 quot = uart_get_divisor(port, baud); in imx_set_termios()
1372 uart_update_timeout(port, termios->c_cflag, baud); in imx_set_termios()
1391 div = sport->port.uartclk / (baud * 16); in imx_set_termios()
1392 if (baud == 38400 && quot != div) in imx_set_termios()
1393 baud = sport->port.uartclk / (quot * 16); in imx_set_termios()
1395 div = sport->port.uartclk / (baud * 16); in imx_set_termios()
1401 rational_best_approximation(16 * div * baud, sport->port.uartclk, in imx_set_termios()
1682 imx_console_get_options(struct imx_port *sport, int *baud, in imx_console_get_options() argument
1731 *baud = (baud_raw + 50) / 100 * 100; in imx_console_get_options()
1734 if (*baud != baud_raw) in imx_console_get_options()
1736 baud_raw, *baud); in imx_console_get_options()
1744 int baud = 9600; in imx_console_setup() local
1767 uart_parse_options(options, &baud, &parity, &bits, &flow); in imx_console_setup()
1769 imx_console_get_options(sport, &baud, &parity, &bits); in imx_console_setup()
1773 retval = uart_set_options(&sport->port, co, baud, parity, bits, flow); in imx_console_setup()