Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/
Dfsl_lpuart.c2134 u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; in __lpuart32_serial_setbrg() local
2152 tmp_sbr = (clk / (baudrate * tmp_osr)); in __lpuart32_serial_setbrg()
2153 if (tmp_sbr == 0) in __lpuart32_serial_setbrg()
2154 tmp_sbr = 1; in __lpuart32_serial_setbrg()
2160 tmp_diff = clk / (tmp_osr * tmp_sbr) - baudrate; in __lpuart32_serial_setbrg()
2163 tmp = clk / (tmp_osr * (tmp_sbr + 1)); in __lpuart32_serial_setbrg()
2166 tmp_sbr++; in __lpuart32_serial_setbrg()
2169 if (tmp_sbr > UARTBAUD_SBR_MASK) in __lpuart32_serial_setbrg()
2175 sbr = tmp_sbr; in __lpuart32_serial_setbrg()