Lines Matching refs:baud
276 unsigned int baud) in uart_update_timeout() argument
310 port->timeout = (HZ * bits) / baud + HZ/50; in uart_update_timeout()
338 unsigned int try, baud, altbaud = 38400; in uart_get_baud_rate() local
352 baud = tty_termios_baud_rate(termios); in uart_get_baud_rate()
358 if (try == 0 && baud == 38400) in uart_get_baud_rate()
359 baud = altbaud; in uart_get_baud_rate()
364 if (baud == 0) { in uart_get_baud_rate()
366 baud = 9600; in uart_get_baud_rate()
369 if (baud >= min && baud <= max) in uart_get_baud_rate()
370 return baud; in uart_get_baud_rate()
378 baud = tty_termios_baud_rate(old); in uart_get_baud_rate()
381 baud, baud); in uart_get_baud_rate()
391 if (baud <= min) in uart_get_baud_rate()
414 uart_get_divisor(struct uart_port *port, unsigned int baud) in uart_get_divisor() argument
421 if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST) in uart_get_divisor()
424 quot = DIV_ROUND_CLOSEST(port->uartclk, 16 * baud); in uart_get_divisor()
1871 uart_parse_options(char *options, int *baud, int *parity, int *bits, int *flow) in uart_parse_options() argument
1875 *baud = simple_strtoul(s, NULL, 10); in uart_parse_options()
1918 int baud, int parity, int bits, int flow) in uart_set_options() argument
1943 if (baud_rates[i].rate <= baud) in uart_set_options()
2269 int baud = 9600; in uart_poll_init() local
2299 uart_parse_options(options, &baud, &parity, &bits, &flow); in uart_poll_init()
2300 return uart_set_options(port, NULL, baud, parity, bits, flow); in uart_poll_init()