Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Dsh-sci.c2302 int err, min_err = INT_MAX; in sci_sck_calc() local
2310 if (abs(err) >= abs(min_err)) in sci_sck_calc()
2313 min_err = err; in sci_sck_calc()
2320 dev_dbg(s->port.dev, "SCK: %u%+d bps using SR %u\n", bps, min_err, in sci_sck_calc()
2322 return min_err; in sci_sck_calc()
2329 int err, min_err = INT_MAX; in sci_brg_calc() local
2340 if (abs(err) >= abs(min_err)) in sci_brg_calc()
2343 min_err = err; in sci_brg_calc()
2352 min_err, *dlr, *srr + 1); in sci_brg_calc()
2353 return min_err; in sci_brg_calc()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/media/i2c/
Dov9650.c1129 u64 req_int, err, min_err = ~0ULL; in __ov965x_set_frame_interval() local
1146 if (err < min_err) { in __ov965x_set_frame_interval()
1148 min_err = err; in __ov965x_set_frame_interval()
1209 unsigned int min_err = UINT_MAX; in __ov965x_try_frame_size() local
1214 if (err < min_err) { in __ov965x_try_frame_size()
1215 min_err = err; in __ov965x_try_frame_size()
Dov2659.c1060 unsigned int min_err = UINT_MAX; in __ov2659_try_frame_size() local
1065 if ((err < min_err) && (fsize->regs[0].addr)) { in __ov2659_try_frame_size()
1066 min_err = err; in __ov2659_try_frame_size()
/linux-6.12.1/drivers/gpu/drm/tegra/
Dhdmi.c394 int64_t min_err = (uint64_t)-1 >> 1; in tegra_hdmi_get_audio_config() local
423 if (err < min_err || (err == min_err && delta < min_delta)) { in tegra_hdmi_get_audio_config()
428 min_err = err; in tegra_hdmi_get_audio_config()
/linux-6.12.1/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c898 unsigned int ret, min_err = UINT_MAX; in __s5c73m3_set_frame_interval() local
914 if (ret < min_err) { in __s5c73m3_set_frame_interval()
916 min_err = ret; in __s5c73m3_set_frame_interval()
/linux-6.12.1/drivers/media/platform/st/stm32/
Dstm32-dcmi.c937 unsigned int min_err = UINT_MAX; in __find_outer_frame_size() local
945 if (w_err >= 0 && h_err >= 0 && err < min_err) { in __find_outer_frame_size()
946 min_err = err; in __find_outer_frame_size()
/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-csi.c868 u32 min_err = UINT_MAX; in csi_find_best_skip() local
889 if (err < min_err) { in csi_find_best_skip()
890 min_err = err; in csi_find_best_skip()
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dhw.c934 u16 maj_err, min_err; in irdma_create_cqp() local
993 status = irdma_sc_cqp_create(dev->cqp, &maj_err, &min_err); in irdma_create_cqp()
997 status, maj_err, min_err); in irdma_create_cqp()
Dtype.h1192 int irdma_sc_cqp_create(struct irdma_sc_cqp *cqp, u16 *maj_err, u16 *min_err);
Dctrl.c3146 int irdma_sc_cqp_create(struct irdma_sc_cqp *cqp, u16 *maj_err, u16 *min_err) in irdma_sc_cqp_create() argument
3235 *min_err = FIELD_GET(IRDMA_CQPERRCODES_CQP_MINOR_CODE, err_code); in irdma_sc_cqp_create()