Lines Matching refs:baud
204 unsigned int baud, in ar933x_uart_get_scale_step() argument
214 min_diff = baud; in ar933x_uart_get_scale_step()
219 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()
226 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()
243 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
265 baud = uart_get_baud_rate(port, new, old, up->min_baud, up->max_baud); in ar933x_uart_set_termios()
266 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios()
279 uart_update_timeout(port, new->c_cflag, baud); in ar933x_uart_set_termios()
305 tty_termios_encode_baud_rate(new, baud, baud); in ar933x_uart_set_termios()
583 int baud = 115200; in ar933x_uart_console_setup() local
596 uart_parse_options(options, &baud, &parity, &bits, &flow); in ar933x_uart_console_setup()
598 return uart_set_options(&up->port, co, baud, parity, bits, flow); in ar933x_uart_console_setup()
634 unsigned int baud; in ar933x_uart_probe() local
700 baud = ar933x_uart_get_baud(port->uartclk, AR933X_UART_MAX_SCALE, 1); in ar933x_uart_probe()
701 up->min_baud = max_t(unsigned int, baud, AR933X_UART_MIN_BAUD); in ar933x_uart_probe()
703 baud = ar933x_uart_get_baud(port->uartclk, 0, AR933X_UART_MAX_STEP); in ar933x_uart_probe()
704 up->max_baud = min_t(unsigned int, baud, AR933X_UART_MAX_BAUD); in ar933x_uart_probe()