Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dfsl_lpuart.c1617 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
1654 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
1656 if (*baud != baud_raw) in lpuart_console_get_options()
1658 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()
1666 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
1697 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()
1699 if (*baud != baud_raw) in lpuart32_console_get_options()
1701 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
Dimx.c1666 unsigned int baud_raw; in imx_console_get_options() local
1706 baud_raw = (uartclk / div) * mul; in imx_console_get_options()
1707 baud_raw += (rem * mul + div / 2) / div; in imx_console_get_options()
1708 *baud = (baud_raw + 50) / 100 * 100; in imx_console_get_options()
1711 if (*baud != baud_raw) in imx_console_get_options()
1713 baud_raw, *baud); in imx_console_get_options()