Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/
Dfsl_lpuart.c2158 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2195 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2197 if (*baud != baud_raw) in lpuart_console_get_options()
2199 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()
2207 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2238 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()
2240 if (*baud != baud_raw) in lpuart32_console_get_options()
2242 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
Dimx.c1976 unsigned int baud_raw; in imx_uart_console_get_options() local
2016 baud_raw = (uartclk / div) * mul; in imx_uart_console_get_options()
2017 baud_raw += (rem * mul + div / 2) / div; in imx_uart_console_get_options()
2018 *baud = (baud_raw + 50) / 100 * 100; in imx_uart_console_get_options()
2021 if (*baud != baud_raw) in imx_uart_console_get_options()
2023 baud_raw, *baud); in imx_uart_console_get_options()