Home
last modified time | relevance | path

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

/linux/lib/reed_solomon/
A Dtest_rslib.c125 ws->corr = ws->s + nroots; in alloc_ws()
226 data[errlocs[i]] ^= corr[i]; in fix_err()
267 uint16_t *corr = ws->corr; in test_uc() local
280 NULL, eras, derrlocs, 0, corr); in test_uc()
281 fix_err(r, derrs, corr, derrlocs); in test_uc()
286 s, eras, derrlocs, 0, corr); in test_uc()
373 uint16_t *corr = ws->corr; in test_bc() local
380 NULL, eras, derrlocs, 0, corr); in test_bc()
381 fix_err(r, derrs, corr, derrlocs); in test_bc()
395 memset(corr, 0, nroots * sizeof(*corr)); in test_bc()
[all …]
A Dreed_solomon.c363 uint16_t *corr) in decode_rs8() argument
414 uint16_t *corr) in decode_rs16() argument
A Ddecode_rs.c307 if (corr && eras_pos) {
311 corr[j] = b[i];
/linux/drivers/input/
A Djoydev.c46 struct js_corr corr[ABS_CNT]; member
70 switch (corr->type) { in joydev_correct()
76 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct()
77 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct()
78 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct()
133 &joydev->corr[event.number]); in joydev_event()
545 if (copy_from_user(joydev->corr, argp, in joydev_ioctl_common()
556 return copy_to_user(argp, joydev->corr, in joydev_ioctl_common()
971 joydev->corr[i].type = JS_CORR_NONE; in joydev_connect()
974 joydev->corr[i].type = JS_CORR_BROKEN; in joydev_connect()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac5.c33 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwmac5_log_error()
257 bool err, corr; in dwmac5_safety_feat_irq_status() local
268 corr = false; in dwmac5_safety_feat_irq_status()
270 dwmac5_handle_mac_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status()
271 ret |= !corr; in dwmac5_safety_feat_irq_status()
275 corr = (mtl & MECIS) || (dma & MSCIS); in dwmac5_safety_feat_irq_status()
277 dwmac5_handle_mtl_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status()
278 ret |= !corr; in dwmac5_safety_feat_irq_status()
282 corr = dma & DECIS; in dwmac5_safety_feat_irq_status()
284 dwmac5_handle_dma_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status()
[all …]
A Ddwxgmac2_core.c652 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwxgmac3_log_error()
849 bool err, corr; in dwxgmac3_safety_feat_irq_status() local
860 corr = false; in dwxgmac3_safety_feat_irq_status()
862 dwxgmac3_handle_mac_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status()
863 ret |= !corr; in dwxgmac3_safety_feat_irq_status()
868 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status()
870 dwxgmac3_handle_mtl_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status()
871 ret |= !corr; in dwxgmac3_safety_feat_irq_status()
875 corr = dma & XGMAC_DECIS; in dwxgmac3_safety_feat_irq_status()
877 dwxgmac3_handle_dma_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status()
[all …]
/linux/drivers/iio/proximity/
A Disl29501.c424 int corr; in isl29501_write_ext() local
427 corr = isl29501->shadow_coeffs[i]; in isl29501_write_ext()
428 corr_exp = isl29501_find_corr_exp(corr, in isl29501_write_ext()
432 "found exp of corr(%d) = %d\n", corr, corr_exp); in isl29501_write_ext()
443 int corr; in isl29501_write_ext() local
446 corr = isl29501->shadow_coeffs[i]; in isl29501_write_ext()
447 if (!corr) in isl29501_write_ext()
450 mantissa = corr >> max_exp; in isl29501_write_ext()
/linux/drivers/rtc/
A Drtc-at91rm9200.c329 long corr; in at91_rtc_setoffset() local
357 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset * AT91_RTC_CORR_LOW_RATIO); in at91_rtc_setoffset()
359 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset); in at91_rtc_setoffset()
363 if (corr > 128) in at91_rtc_setoffset()
364 corr = 128; in at91_rtc_setoffset()
366 mr |= FIELD_PREP(AT91_RTC_CORRECTION, corr - 1); in at91_rtc_setoffset()
/linux/net/ethtool/
A Dfec.c19 } corr, uncorr, corr_bits; member
118 fec_stats_recalc(&data->corr, &stats.corrected_blocks); in fec_prepare_data()
176 sizeof(u64) * data->corr.cnt, in fec_put_stats()
177 data->corr.stats, ETHTOOL_A_FEC_STAT_PAD) || in fec_put_stats()
/linux/include/linux/
A Drslib.h68 uint16_t *corr);
79 uint16_t *corr);
/linux/drivers/gpu/drm/amd/amdgpu/
A Dnbio_v7_4.c597 uint32_t corr, fatal, non_fatal; in nbio_v7_4_query_ras_error_count() local
605 corr = REG_GET_FIELD(global_sts, RAS_GLOBAL_STATUS_LO, ParityErrCorr); in nbio_v7_4_query_ras_error_count()
615 if (corr) in nbio_v7_4_query_ras_error_count()
620 if (corr || fatal || non_fatal) { in nbio_v7_4_query_ras_error_count()
/linux/drivers/mtd/nand/
A Decc.c466 int corr, ds_corr; in nand_ecc_is_strong_enough() local
476 corr = (mtd->writesize * conf->strength) / conf->step_size; in nand_ecc_is_strong_enough()
479 return corr >= ds_corr && conf->strength >= reqs->strength; in nand_ecc_is_strong_enough()
/linux/Documentation/core-api/
A 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/drivers/gpu/drm/i915/gt/
A Dintel_rps_types.h22 u8 corr; member
A Dintel_rps.c603 rps->ips.corr = init_emon(uncore); in gen5_rps_enable()
1321 u64 corr, corr2; in __ips_gfx_val() local
1336 corr = t * 2349 + 135940; in __ips_gfx_val()
1338 corr = t * 964 + 29317; in __ips_gfx_val()
1340 corr = t * 301 + 1004; in __ips_gfx_val()
1342 corr = div_u64(corr * 150142 * state1, 10000) - 78642; in __ips_gfx_val()
1343 corr2 = div_u64(corr, 100000) * ips->corr; in __ips_gfx_val()
/linux/drivers/mtd/ubi/
A Dattach.c279 list_add(&aeb->u.list, &ai->corr); in add_corrupted()
1224 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis()
1325 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { in destroy_ai()
1426 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all()
1458 INIT_LIST_HEAD(&ai->corr); in alloc_ai()
1883 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
A Dubi.h763 struct list_head corr; member
/linux/Documentation/devicetree/bindings/sound/
A Dst,sta32x.txt66 - st,max-power-corr:
A Dst,sta350.txt70 - st,max-power-corr:
/linux/tools/perf/util/
A Dpmu.c1636 static void wordwrap(char *s, int start, int max, int corr) in wordwrap() argument
1646 column = start + corr; in wordwrap()
/linux/drivers/mtd/nand/raw/
A Dnand_base.c5840 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
5869 corr = strength * nsteps; in nand_maximize_ecc()
5875 if (corr > best_corr || in nand_maximize_ecc()
5876 (corr == best_corr && step_size > best_step)) { in nand_maximize_ecc()
5877 best_corr = corr; in nand_maximize_ecc()
/linux/Documentation/input/joydev/
A Djoystick-api.rst280 information for all axes. That is, struct js_corr corr[MAX_AXIS];

Completed in 61 milliseconds