Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.c21 static void dwmac5_log_error(struct net_device *ndev, u32 value, bool corr, in dwmac5_log_error() argument
33 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwmac5_log_error()
246 bool err, corr; in dwmac5_safety_feat_irq_status() local
257 corr = false; in dwmac5_safety_feat_irq_status()
259 dwmac5_handle_mac_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status()
260 ret |= !corr; in dwmac5_safety_feat_irq_status()
264 corr = (mtl & MECIS) || (dma & MSCIS); in dwmac5_safety_feat_irq_status()
266 dwmac5_handle_mtl_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status()
267 ret |= !corr; in dwmac5_safety_feat_irq_status()
271 corr = dma & DECIS; in dwmac5_safety_feat_irq_status()
[all …]
/Linux-v4.19/drivers/input/
Djoydev.c51 struct js_corr corr[ABS_CNT]; member
73 static int joydev_correct(int value, struct js_corr *corr) in joydev_correct() argument
75 switch (corr->type) { in joydev_correct()
81 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct()
82 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct()
83 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct()
138 &joydev->corr[event.number]); in joydev_event()
197 joydev->abs[i] = joydev_correct(val, &joydev->corr[i]); in joydev_refresh_state()
547 if (copy_from_user(joydev->corr, argp, in joydev_ioctl_common()
548 sizeof(joydev->corr[0]) * joydev->nabs)) in joydev_ioctl_common()
[all …]
/Linux-v4.19/include/linux/
Drslib.h68 uint16_t *corr);
79 uint16_t *corr);
/Linux-v4.19/drivers/iio/proximity/
Disl29501.c432 int corr; in isl29501_write_ext() local
435 corr = isl29501->shadow_coeffs[i]; in isl29501_write_ext()
436 corr_exp = isl29501_find_corr_exp(corr, in isl29501_write_ext()
440 "found exp of corr(%d) = %d\n", corr, corr_exp); in isl29501_write_ext()
451 int corr; in isl29501_write_ext() local
454 corr = isl29501->shadow_coeffs[i]; in isl29501_write_ext()
455 if (!corr) in isl29501_write_ext()
458 mantissa = corr >> max_exp; in isl29501_write_ext()
/Linux-v4.19/Documentation/core-api/
Dlibrs.rst147 uint16_t par[6], syn[6], corr[8];
157 numerr = decode_rs8 (rs_decoder, NULL, NULL, 512, syn, 0, errpos, 0, corr);
159 do_error_correction_in_your_buffer(errpos[i], corr[i]);
/Linux-v4.19/lib/reed_solomon/
Dreed_solomon.c361 uint16_t *corr) in decode_rs8() argument
410 uint16_t *corr) in decode_rs16() argument
Ddecode_rs.c252 if (corr) {
253 corr[j] = cor;
/Linux-v4.19/drivers/mtd/ubi/
Dattach.c292 list_add(&aeb->u.list, &ai->corr); in add_corrupted()
1236 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis()
1337 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { in destroy_ai()
1438 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all()
1470 INIT_LIST_HEAD(&ai->corr); in alloc_ai()
1895 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
Dubi.h772 struct list_head corr; member
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dst,sta32x.txt59 - st,max-power-corr:
Dst,sta350.txt70 - st,max-power-corr:
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_base.c6297 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
6326 corr = strength * nsteps; in nand_maximize_ecc()
6332 if (corr > best_corr || in nand_maximize_ecc()
6333 (corr == best_corr && step_size > best_step)) { in nand_maximize_ecc()
6334 best_corr = corr; in nand_maximize_ecc()
6408 int corr, ds_corr; in nand_ecc_strength_good() local
6418 corr = (mtd->writesize * ecc->strength) / ecc->size; in nand_ecc_strength_good()
6421 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
/Linux-v4.19/tools/perf/util/
Dpmu.c1346 static void wordwrap(char *s, int start, int max, int corr) in wordwrap() argument
1356 column = start + corr; in wordwrap()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_pm.c7862 unsigned long t, corr, state1, corr2, state2; in __i915_gfx_val() local
7879 corr = ((t * 2349) + 135940); in __i915_gfx_val()
7881 corr = ((t * 964) + 29317); in __i915_gfx_val()
7883 corr = ((t * 301) + 1004); in __i915_gfx_val()
7885 corr = corr * ((150142 * state1) / 10000 - 78642); in __i915_gfx_val()
7886 corr /= 100000; in __i915_gfx_val()
7887 corr2 = (corr * dev_priv->ips.corr); in __i915_gfx_val()
8149 dev_priv->ips.corr = (lcfuse & LCFUSE_HIV_MASK); in intel_init_emon()
Di915_drv.h834 u8 corr; member
/Linux-v4.19/Documentation/input/joydev/
Djoystick-api.rst280 information for all axis. That is, struct js_corr corr[MAX_AXIS];