Lines Matching full:baud
362 static bool esp32_uart_set_baud(struct uart_port *port, u32 baud) in esp32_uart_set_baud() argument
365 u32 div = sclk / baud; in esp32_uart_set_baud()
372 div = sclk / baud; in esp32_uart_set_baud()
380 u32 frag = (sclk * 16) / baud - div * 16; in esp32_uart_set_baud()
396 u32 baud; in esp32_uart_set_termios() local
405 baud = uart_get_baud_rate(port, termios, old, in esp32_uart_set_termios()
449 if (baud) { in esp32_uart_set_termios()
450 esp32_uart_set_baud(port, baud); in esp32_uart_set_termios()
451 uart_update_timeout(port, termios->c_cflag, baud); in esp32_uart_set_termios()
454 baud = 115200; in esp32_uart_set_termios()
455 tty_termios_encode_baud_rate(termios, baud, baud); in esp32_uart_set_termios()
456 uart_update_timeout(port, termios->c_cflag, baud); in esp32_uart_set_termios()
459 "unable to set speed to %d baud or the default 115200\n", in esp32_uart_set_termios()
460 baud); in esp32_uart_set_termios()
555 int baud = 115200; in esp32_uart_console_setup() local
578 uart_parse_options(options, &baud, &parity, &bits, &flow); in esp32_uart_console_setup()
580 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in esp32_uart_console_setup()
644 esp32_uart_set_baud(&device->port, device->baud); in esp32xx_uart_early_console_setup()