Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/
Dsccnxp.c310 int div_std, tmp_baud, bestbaud = INT_MAX, besterr = INT_MAX; in sccnxp_set_baud() local
317 bestbaud = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * div_std); in sccnxp_set_baud()
318 sccnxp_update_best_err(baud, bestbaud, &besterr); in sccnxp_set_baud()
336 bestbaud = tmp_baud; in sccnxp_set_baud()
351 if (baud != bestbaud) in sccnxp_set_baud()
353 baud, bestbaud); in sccnxp_set_baud()
355 return bestbaud; in sccnxp_set_baud()
Dxilinx_uartps.c409 unsigned int bestbaud = 0; in cdns_uart_calc_baud_divs() local
435 bestbaud = calc_baud; in cdns_uart_calc_baud_divs()
441 bestbaud = baud; in cdns_uart_calc_baud_divs()
443 return bestbaud; in cdns_uart_calc_baud_divs()