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

/linux-4.1.27/drivers/tty/serial/
H A Dfsl_lpuart.c1605 unsigned int sbr, uartclk, baud_raw; lpuart_console_get_options() local
1642 baud_raw = uartclk / (16 * (sbr + brfa / 32)); lpuart_console_get_options()
1644 if (*baud != baud_raw) lpuart_console_get_options()
1646 "from %d to %d\n", baud_raw, *baud); lpuart_console_get_options()
1654 unsigned int sbr, uartclk, baud_raw; lpuart32_console_get_options() local
1685 baud_raw = uartclk / (16 * sbr); lpuart32_console_get_options()
1687 if (*baud != baud_raw) lpuart32_console_get_options()
1689 "from %d to %d\n", baud_raw, *baud); lpuart32_console_get_options()
H A Dimx.c1689 unsigned int baud_raw; imx_console_get_options() local
1721 * baud_raw = round(((uartclk/16) * (ubir + 1)) / (ubmr + 1)) imx_console_get_options()
1729 baud_raw = (uartclk / div) * mul; imx_console_get_options()
1730 baud_raw += (rem * mul + div / 2) / div; imx_console_get_options()
1731 *baud = (baud_raw + 50) / 100 * 100; imx_console_get_options()
1734 if (*baud != baud_raw) imx_console_get_options()
1736 baud_raw, *baud); imx_console_get_options()

Completed in 121 milliseconds