Lines Matching refs:baud
314 static int vt8500_set_baud_rate(struct uart_port *port, unsigned int baud) in vt8500_set_baud_rate() argument
322 div |= (uart_get_divisor(port, baud) - 1) & 0x3ff; in vt8500_set_baud_rate()
325 baud = port->uartclk / 16 / ((div & 0x3ff) + 1); in vt8500_set_baud_rate()
333 vt8500_write(port, mult_frac(baud, 4096, 1000000), VT8500_URBKR); in vt8500_set_baud_rate()
335 return baud; in vt8500_set_baud_rate()
377 unsigned int baud, lcr; in vt8500_set_termios() local
383 baud = uart_get_baud_rate(port, termios, old, 900, 921600); in vt8500_set_termios()
384 baud = vt8500_set_baud_rate(port, baud); in vt8500_set_termios()
386 tty_termios_encode_baud_rate(termios, baud, baud); in vt8500_set_termios()
428 uart_update_timeout(port, termios->c_cflag, baud); in vt8500_set_termios()
532 int baud = 9600; in vt8500_console_setup() local
546 uart_parse_options(options, &baud, &parity, &bits, &flow); in vt8500_console_setup()
549 co, baud, parity, bits, flow); in vt8500_console_setup()