Home
last modified time | relevance | path

Searched refs:baud_raw (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dfsl_lpuart.c2543 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2580 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2582 if (*baud != baud_raw) in lpuart_console_get_options()
2584 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()
2592 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2626 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()
2628 if (*baud != baud_raw) in lpuart32_console_get_options()
2630 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
H A Dimx.c2085 unsigned int baud_raw; in imx_uart_console_get_options() local
2125 baud_raw = (uartclk / div) * mul; in imx_uart_console_get_options()
2126 baud_raw += (rem * mul + div / 2) / div; in imx_uart_console_get_options()
2127 *baud = (baud_raw + 50) / 100 * 100; in imx_uart_console_get_options()
2130 if (*baud != baud_raw) in imx_uart_console_get_options()
2132 baud_raw, *baud); in imx_uart_console_get_options()