Searched refs:baud_raw (Results 1 – 2 of 2) sorted by relevance
1605 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local1642 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()1644 if (*baud != baud_raw) in lpuart_console_get_options()1646 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()1654 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local1685 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()1687 if (*baud != baud_raw) in lpuart32_console_get_options()1689 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
1689 unsigned int baud_raw; in imx_console_get_options() local1729 baud_raw = (uartclk / div) * mul; in imx_console_get_options()1730 baud_raw += (rem * mul + div / 2) / div; in imx_console_get_options()1731 *baud = (baud_raw + 50) / 100 * 100; in imx_console_get_options()1734 if (*baud != baud_raw) in imx_console_get_options()1736 baud_raw, *baud); in imx_console_get_options()