Lines Matching full:baud
253 unsigned int baud, in ar933x_uart_get_scale_step() argument
263 min_diff = baud; in ar933x_uart_get_scale_step()
268 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()
275 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()
292 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
314 baud = uart_get_baud_rate(port, new, old, up->min_baud, up->max_baud); in ar933x_uart_set_termios()
315 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios()
328 uart_update_timeout(port, new->c_cflag, baud); in ar933x_uart_set_termios()
358 tty_termios_encode_baud_rate(new, baud, baud); in ar933x_uart_set_termios()
670 int baud = 115200; in ar933x_uart_console_setup() local
683 uart_parse_options(options, &baud, &parity, &bits, &flow); in ar933x_uart_console_setup()
685 return uart_set_options(&up->port, co, baud, parity, bits, flow); in ar933x_uart_console_setup()
714 unsigned int baud; in ar933x_uart_probe() local
781 baud = ar933x_uart_get_baud(port->uartclk, AR933X_UART_MAX_SCALE, 1); in ar933x_uart_probe()
782 up->min_baud = max_t(unsigned int, baud, AR933X_UART_MIN_BAUD); in ar933x_uart_probe()
784 baud = ar933x_uart_get_baud(port->uartclk, 0, AR933X_UART_MAX_STEP); in ar933x_uart_probe()
785 up->max_baud = min_t(unsigned int, baud, AR933X_UART_MAX_BAUD); in ar933x_uart_probe()