Home
last modified time | relevance | path

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

/linux/drivers/tty/serial/
H A Dsccnxp.c254 static int sccnxp_update_best_err(int a, int b, int *besterr) in sccnxp_update_best_err() argument
258 if (*besterr > err) { in sccnxp_update_best_err()
259 *besterr = err; in sccnxp_update_best_err()
306 int div_std, tmp_baud, bestbaud = INT_MAX, besterr = INT_MAX; in sccnxp_set_baud() local
314 sccnxp_update_best_err(baud, bestbaud, &besterr); in sccnxp_set_baud()
323 for (i = 0; baud_std[i].baud && besterr; i++) { in sccnxp_set_baud()
328 if (!sccnxp_update_best_err(baud, tmp_baud, &besterr)) { in sccnxp_set_baud()