Lines Matching refs:baud
196 unsigned int baud, in ar933x_uart_get_scale_step() argument
206 min_diff = baud; in ar933x_uart_get_scale_step()
211 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()
218 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()
235 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
257 baud = uart_get_baud_rate(port, new, old, up->min_baud, up->max_baud); in ar933x_uart_set_termios()
258 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios()
271 uart_update_timeout(port, new->c_cflag, baud); in ar933x_uart_set_termios()
297 tty_termios_encode_baud_rate(new, baud, baud); in ar933x_uart_set_termios()
576 int baud = 115200; in ar933x_uart_console_setup() local
589 uart_parse_options(options, &baud, &parity, &bits, &flow); in ar933x_uart_console_setup()
591 return uart_set_options(&up->port, co, baud, parity, bits, flow); in ar933x_uart_console_setup()
620 unsigned int baud; in ar933x_uart_probe() local
686 baud = ar933x_uart_get_baud(port->uartclk, AR933X_UART_MAX_SCALE, 1); in ar933x_uart_probe()
687 up->min_baud = max_t(unsigned int, baud, AR933X_UART_MIN_BAUD); in ar933x_uart_probe()
689 baud = ar933x_uart_get_baud(port->uartclk, 0, AR933X_UART_MAX_STEP); in ar933x_uart_probe()
690 up->max_baud = min_t(unsigned int, baud, AR933X_UART_MAX_BAUD); in ar933x_uart_probe()