/openbmc/linux/lib/reed_solomon/ |
H 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 …]
|
H A D | reed_solomon.c | 363 uint16_t *corr) in decode_rs8() argument 414 uint16_t *corr) in decode_rs16() argument
|
H A D | decode_rs.c | 307 if (corr && eras_pos) { 311 corr[j] = b[i];
|
/openbmc/linux/drivers/input/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.c | 33 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwmac5_log_error() 271 bool err, corr; in dwmac5_safety_feat_irq_status() local 282 corr = false; in dwmac5_safety_feat_irq_status() 284 dwmac5_handle_mac_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status() 285 ret |= !corr; in dwmac5_safety_feat_irq_status() 289 corr = (mtl & MECIS) || (dma & MSCIS); in dwmac5_safety_feat_irq_status() 291 dwmac5_handle_mtl_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status() 292 ret |= !corr; in dwmac5_safety_feat_irq_status() 296 corr = dma & DECIS; in dwmac5_safety_feat_irq_status() 298 dwmac5_handle_dma_err(ndev, ioaddr, corr, stats); in dwmac5_safety_feat_irq_status() [all …]
|
H A D | dwxgmac2_core.c | 709 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwxgmac3_log_error() 959 bool err, corr; in dwxgmac3_safety_feat_irq_status() local 970 corr = false; in dwxgmac3_safety_feat_irq_status() 972 dwxgmac3_handle_mac_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status() 973 ret |= !corr; in dwxgmac3_safety_feat_irq_status() 978 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status() 980 dwxgmac3_handle_mtl_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status() 981 ret |= !corr; in dwxgmac3_safety_feat_irq_status() 989 corr = dma & XGMAC_DECIS; in dwxgmac3_safety_feat_irq_status() 991 dwxgmac3_handle_dma_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status() [all …]
|
/openbmc/linux/Documentation/mm/damon/ |
H A D | maintainer-profile.rst | 38 - Run damon-tests/corr [6]_ for normal changes. 59 .. [4] https://github.com/awslabs/damon-tests/blob/master/corr/run.sh#L49 60 .. [5] https://github.com/awslabs/damon-tests/blob/master/corr/tests/kunit.sh 61 .. [6] https://github.com/awslabs/damon-tests/tree/master/corr
|
/openbmc/linux/include/linux/ |
H A D | rslib.h | 68 uint16_t *corr); 79 uint16_t *corr);
|
/openbmc/linux/drivers/iio/proximity/ |
H 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()
|
/openbmc/linux/net/ethtool/ |
H 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()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-at91rm9200.c | 328 long corr; in at91_rtc_setoffset() local 356 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset * AT91_RTC_CORR_LOW_RATIO); in at91_rtc_setoffset() 358 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset); in at91_rtc_setoffset() 362 if (corr > 128) in at91_rtc_setoffset() 363 corr = 128; in at91_rtc_setoffset() 365 mr |= FIELD_PREP(AT91_RTC_CORRECTION, corr - 1); in at91_rtc_setoffset()
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/devtool/ |
H A D | devtool-test-long-filename.bb | 5 file://0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch"
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps_types.h | 22 u8 corr; member
|
H A D | intel_rps.c | 615 rps->ips.corr = init_emon(uncore); in gen5_rps_enable() 1482 u64 corr, corr2; in __ips_gfx_val() local 1497 corr = t * 2349 + 135940; in __ips_gfx_val() 1499 corr = t * 964 + 29317; in __ips_gfx_val() 1501 corr = t * 301 + 1004; in __ips_gfx_val() 1503 corr = div_u64(corr * 150142 * state1, 10000) - 78642; in __ips_gfx_val() 1504 corr2 = div_u64(corr, 100000) * ips->corr; in __ips_gfx_val()
|
/openbmc/linux/Documentation/core-api/ |
H 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]);
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | nbio_v7_4.c | 591 uint32_t corr, fatal, non_fatal; in nbio_v7_4_query_ras_error_count() local 599 corr = REG_GET_FIELD(global_sts, RAS_GLOBAL_STATUS_LO, ParityErrCorr); in nbio_v7_4_query_ras_error_count() 609 if (corr) in nbio_v7_4_query_ras_error_count() 614 if (corr || fatal || non_fatal) { in nbio_v7_4_query_ras_error_count()
|
/openbmc/qemu/hw/audio/ |
H A D | hda-codec.c | 201 int64_t corr = 0; in hda_timer_sync_adjust() local 204 corr = HDA_TIMER_TICKS; in hda_timer_sync_adjust() 207 corr = -HDA_TIMER_TICKS; in hda_timer_sync_adjust() 210 corr = -(4 * HDA_TIMER_TICKS); in hda_timer_sync_adjust() 212 if (corr == 0) { in hda_timer_sync_adjust() 217 st->buft_start += corr; in hda_timer_sync_adjust()
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | ecc.c | 472 int corr, ds_corr; in nand_ecc_is_strong_enough() local 482 corr = (mtd->writesize * conf->strength) / conf->step_size; in nand_ecc_is_strong_enough() 485 return corr >= ds_corr && conf->strength >= reqs->strength; in nand_ecc_is_strong_enough()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | attach.c | 168 list_add(&aeb->u.list, &ai->corr); in add_corrupted() 1080 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis() 1176 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { in destroy_ai() 1274 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all() 1306 INIT_LIST_HEAD(&ai->corr); in alloc_ai() 1722 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
|
H A D | ubi.h | 726 struct list_head corr; member
|
/openbmc/linux/drivers/mtd/ubi/ |
H 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()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-list.c | 75 static void wordwrap(const char *s, int start, int max, int corr) in wordwrap() argument 86 column = start + corr; in wordwrap()
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | st,sta32x.txt | 66 - st,max-power-corr:
|
H A D | st,sta350.txt | 70 - st,max-power-corr:
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 4191 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local 4223 corr = strength * nsteps; in nand_maximize_ecc() 4229 if (corr > best_corr || in nand_maximize_ecc() 4230 (corr == best_corr && step_size > best_step)) { in nand_maximize_ecc() 4231 best_corr = corr; in nand_maximize_ecc() 4268 int corr, ds_corr; in nand_ecc_strength_good() local 4278 corr = (mtd->writesize * ecc->strength) / ecc->size; in nand_ecc_strength_good() 4281 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
|