/linux/lib/reed_solomon/ |
A D | test_rslib.c | 125 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 D | reed_solomon.c | 363 uint16_t *corr) in decode_rs8() argument 414 uint16_t *corr) in decode_rs16() argument
|
A D | decode_rs.c | 307 if (corr && eras_pos) { 311 corr[j] = b[i];
|
/linux/drivers/input/ |
A D | joydev.c | 46 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 D | dwmac5.c | 33 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 D | dwxgmac2_core.c | 652 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 D | isl29501.c | 424 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 D | rtc-at91rm9200.c | 329 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 D | fec.c | 19 } 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 D | rslib.h | 68 uint16_t *corr); 79 uint16_t *corr);
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | nbio_v7_4.c | 597 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 D | ecc.c | 466 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 D | librs.rst | 147 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 D | intel_rps_types.h | 22 u8 corr; member
|
A D | intel_rps.c | 603 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 D | attach.c | 279 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 D | ubi.h | 763 struct list_head corr; member
|
/linux/Documentation/devicetree/bindings/sound/ |
A D | st,sta32x.txt | 66 - st,max-power-corr:
|
A D | st,sta350.txt | 70 - st,max-power-corr:
|
/linux/tools/perf/util/ |
A D | pmu.c | 1636 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 D | nand_base.c | 5840 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 D | joystick-api.rst | 280 information for all axes. That is, struct js_corr corr[MAX_AXIS];
|