Searched refs:baud_raw (Results 1 – 2 of 2) sorted by relevance
2562 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local2599 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()2601 if (*baud != baud_raw) in lpuart_console_get_options()2603 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()2611 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local2645 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()2647 if (*baud != baud_raw) in lpuart32_console_get_options()2649 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
2221 unsigned int baud_raw; in imx_uart_console_get_options() local2261 baud_raw = (uartclk / div) * mul; in imx_uart_console_get_options()2262 baud_raw += (rem * mul + div / 2) / div; in imx_uart_console_get_options()2263 *baud = (baud_raw + 50) / 100 * 100; in imx_uart_console_get_options()2266 if (*baud != baud_raw) in imx_uart_console_get_options()2268 baud_raw, *baud); in imx_uart_console_get_options()