Lines Matching refs:baud
279 static int vt8500_set_baud_rate(struct uart_port *port, unsigned int baud) in vt8500_set_baud_rate() argument
287 div |= (uart_get_divisor(port, baud) - 1) & 0x3ff; in vt8500_set_baud_rate()
290 baud = port->uartclk / 16 / ((div & 0x3ff) + 1); in vt8500_set_baud_rate()
298 vt8500_write(port, mult_frac(baud, 4096, 1000000), VT8500_URBKR); in vt8500_set_baud_rate()
300 return baud; in vt8500_set_baud_rate()
342 unsigned int baud, lcr; in vt8500_set_termios() local
348 baud = uart_get_baud_rate(port, termios, old, 900, 921600); in vt8500_set_termios()
349 baud = vt8500_set_baud_rate(port, baud); in vt8500_set_termios()
351 tty_termios_encode_baud_rate(termios, baud, baud); in vt8500_set_termios()
393 uart_update_timeout(port, termios->c_cflag, baud); in vt8500_set_termios()
497 int baud = 9600; in vt8500_console_setup() local
511 uart_parse_options(options, &baud, &parity, &bits, &flow); in vt8500_console_setup()
514 co, baud, parity, bits, flow); in vt8500_console_setup()