Lines Matching full:baud
33 #define VT8500_URDIV 0x0008 /* Clock/Baud rate divisor */
302 static int vt8500_set_baud_rate(struct uart_port *port, unsigned int baud) in vt8500_set_baud_rate() argument
310 div |= (uart_get_divisor(port, baud) - 1) & 0x3ff; in vt8500_set_baud_rate()
312 /* Effective baud rate */ in vt8500_set_baud_rate()
313 baud = port->uartclk / 16 / ((div & 0x3ff) + 1); in vt8500_set_baud_rate()
320 /* Break signal timing depends on baud rate, update accordingly */ in vt8500_set_baud_rate()
321 vt8500_write(port, mult_frac(baud, 4096, 1000000), VT8500_URBKR); in vt8500_set_baud_rate()
323 return baud; in vt8500_set_baud_rate()
365 unsigned int baud, lcr; in vt8500_set_termios() local
370 /* calculate and set baud rate */ in vt8500_set_termios()
371 baud = uart_get_baud_rate(port, termios, old, 900, 921600); in vt8500_set_termios()
372 baud = vt8500_set_baud_rate(port, baud); in vt8500_set_termios()
374 tty_termios_encode_baud_rate(termios, baud, baud); in vt8500_set_termios()
416 uart_update_timeout(port, termios->c_cflag, baud); in vt8500_set_termios()
520 int baud = 9600; in vt8500_console_setup() local
534 uart_parse_options(options, &baud, &parity, &bits, &flow); in vt8500_console_setup()
537 co, baud, parity, bits, flow); in vt8500_console_setup()