Lines Matching refs:uartclk
1273 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); in lpuart_set_termios()
1319 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios()
1320 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios()
1408 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); in lpuart32_set_termios()
1443 sbr = sport->port.uartclk / (16 * baud); in lpuart32_set_termios()
1488 if (port->uartclk / 16 != ser->baud_base) in lpuart_verify_port()
1605 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
1638 uartclk = clk_get_rate(sport->clk); in lpuart_console_get_options()
1642 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
1654 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
1681 uartclk = clk_get_rate(sport->clk); in lpuart32_console_get_options()
1685 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()
1853 sport->port.uartclk = clk_get_rate(sport->clk); in lpuart_probe()