Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Dfsl_lpuart.c2538 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2575 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2577 if (*baud != baud_raw) in lpuart_console_get_options()
2579 "from %d to %d\n", baud_raw, *baud); in lpuart_console_get_options()
2587 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2621 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()
2623 if (*baud != baud_raw) in lpuart32_console_get_options()
2625 "from %d to %d\n", baud_raw, *baud); in lpuart32_console_get_options()
Dimx.c2134 unsigned int baud_raw; in imx_uart_console_get_options() local
2174 baud_raw = (uartclk / div) * mul; in imx_uart_console_get_options()
2175 baud_raw += (rem * mul + div / 2) / div; in imx_uart_console_get_options()
2176 *baud = (baud_raw + 50) / 100 * 100; in imx_uart_console_get_options()
2179 if (*baud != baud_raw) in imx_uart_console_get_options()
2181 baud_raw, *baud); in imx_uart_console_get_options()