Searched refs:besterr (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/tty/serial/ |
H A D | max310x.c | 516 static int max310x_update_best_err(unsigned long f, long *besterr) max310x_update_best_err() argument 521 if ((*besterr < 0) || (*besterr > err)) { max310x_update_best_err() 522 *besterr = err; max310x_update_best_err() 533 long besterr = -1; max310x_set_ref_clk() local 537 max310x_update_best_err(freq, &besterr); max310x_set_ref_clk() 540 for (div = 1; (div <= 63) && besterr; div++) { max310x_set_ref_clk() 546 if (!max310x_update_best_err(fmul, &besterr)) { max310x_set_ref_clk() 553 if (!max310x_update_best_err(fmul, &besterr)) { max310x_set_ref_clk() 560 if (!max310x_update_best_err(fmul, &besterr)) { max310x_set_ref_clk() 567 if (!max310x_update_best_err(fmul, &besterr)) { max310x_set_ref_clk()
|
H A D | sccnxp.c | 235 static int sccnxp_update_best_err(int a, int b, int *besterr) sccnxp_update_best_err() argument 239 if ((*besterr < 0) || (*besterr > err)) { sccnxp_update_best_err() 240 *besterr = err; sccnxp_update_best_err() 287 int div_std, tmp_baud, bestbaud = baud, besterr = -1; sccnxp_set_baud() local 292 for (i = 0; baud_std[i].baud && besterr; i++) { sccnxp_set_baud() 297 if (!sccnxp_update_best_err(baud, tmp_baud, &besterr)) { sccnxp_set_baud()
|
Completed in 119 milliseconds