Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dsh-sci.c2226 int err, min_err = INT_MAX; in sci_sck_calc() local
2234 if (abs(err) >= abs(min_err)) in sci_sck_calc()
2237 min_err = err; in sci_sck_calc()
2244 dev_dbg(s->port.dev, "SCK: %u%+d bps using SR %u\n", bps, min_err, in sci_sck_calc()
2246 return min_err; in sci_sck_calc()
2253 int err, min_err = INT_MAX; in sci_brg_calc() local
2264 if (abs(err) >= abs(min_err)) in sci_brg_calc()
2267 min_err = err; in sci_brg_calc()
2276 min_err, *dlr, *srr + 1); in sci_brg_calc()
2277 return min_err; in sci_brg_calc()
[all …]
/drivers/clk/
Dclk-vt8500.c393 unsigned long O1, min_err, rate_err; in wm8650_find_pll_bits() local
404 min_err = ULONG_MAX; in wm8650_find_pll_bits()
408 if (rate_err < min_err) { in wm8650_find_pll_bits()
413 min_err = rate_err; in wm8650_find_pll_bits()
420 pr_warn("%s: rate error is %lu\n", __func__, min_err); in wm8650_find_pll_bits()
/drivers/clk/baikal-t1/
Dccu-pll.c171 unsigned long err, freq, min_err = ULONG_MAX; in ccu_pll_calc_factors() local
222 if (err < min_err) { in ccu_pll_calc_factors()
223 min_err = err; in ccu_pll_calc_factors()
/drivers/media/i2c/
Dov9650.c1123 u64 req_int, err, min_err = ~0ULL; in __ov965x_set_frame_interval() local
1140 if (err < min_err) { in __ov965x_set_frame_interval()
1142 min_err = err; in __ov965x_set_frame_interval()
1195 unsigned int min_err = UINT_MAX; in __ov965x_try_frame_size() local
1200 if (err < min_err) { in __ov965x_try_frame_size()
1201 min_err = err; in __ov965x_try_frame_size()
Dsr030pc30.c396 unsigned int min_err = ~0; in sr030pc30_try_frame_size() local
403 if (err < min_err) { in sr030pc30_try_frame_size()
404 min_err = err; in sr030pc30_try_frame_size()
Dnoon010pc30.c361 unsigned int min_err = ~0; in noon010_try_frame_size() local
370 if (err < min_err) { in noon010_try_frame_size()
371 min_err = err; in noon010_try_frame_size()
Ds5k4ecgx.c502 unsigned int min_err = ~0; in s5k4ecgx_try_frame_size() local
510 if (err < min_err) { in s5k4ecgx_try_frame_size()
511 min_err = err; in s5k4ecgx_try_frame_size()
Dov2659.c1064 unsigned int min_err = UINT_MAX; in __ov2659_try_frame_size() local
1069 if ((err < min_err) && (fsize->regs[0].addr)) { in __ov2659_try_frame_size()
1070 min_err = err; in __ov2659_try_frame_size()
Ds5k6aa.c951 unsigned int err, min_err = UINT_MAX; in __s5k6aa_set_frame_interval() local
967 if (err < min_err) { in __s5k6aa_set_frame_interval()
969 min_err = err; in __s5k6aa_set_frame_interval()
/drivers/media/i2c/m5mols/
Dm5mols_core.c515 unsigned int min_err = ~0; in __find_resolution() local
523 if (err < min_err) { in __find_resolution()
524 min_err = err; in __find_resolution()
/drivers/gpu/drm/tegra/
Dhdmi.c371 int64_t min_err = (uint64_t)-1 >> 1; in tegra_hdmi_get_audio_config() local
400 if (err < min_err || (err == min_err && delta < min_delta)) { in tegra_hdmi_get_audio_config()
405 min_err = err; in tegra_hdmi_get_audio_config()
/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c895 unsigned int ret, min_err = UINT_MAX; in __s5c73m3_set_frame_interval() local
911 if (ret < min_err) { in __s5c73m3_set_frame_interval()
913 min_err = ret; in __s5c73m3_set_frame_interval()
/drivers/infiniband/hw/i40iw/
Di40iw_main.c561 u16 maj_err, min_err; in i40iw_create_cqp() local
601 status = dev->cqp_ops->cqp_create(dev->cqp, &maj_err, &min_err); in i40iw_create_cqp()
604 status, maj_err, min_err); in i40iw_create_cqp()
Di40iw_ctrl.c505 u16 *min_err) in i40iw_sc_cqp_create() argument
512 *min_err = 0; in i40iw_sc_cqp_create()
561 *min_err = RS_32(err_code, I40E_PFPE_CQPERRCODES_CQP_MINOR_CODE); in i40iw_sc_cqp_create()
/drivers/media/platform/stm32/
Dstm32-dcmi.c943 unsigned int min_err = UINT_MAX; in __find_outer_frame_size() local
951 if (w_err >= 0 && h_err >= 0 && err < min_err) { in __find_outer_frame_size()
952 min_err = err; in __find_outer_frame_size()
/drivers/staging/media/imx/
Dimx-media-csi.c879 u32 min_err = UINT_MAX; in csi_find_best_skip() local
900 if (err < min_err) { in csi_find_best_skip()
901 min_err = err; in csi_find_best_skip()