/linux-6.6.21/lib/reed_solomon/ |
D | test_rslib.c | 80 uint16_t *corr; /* correction buffer */ member 125 ws->corr = ws->s + nroots; in alloc_ws() 221 static void fix_err(uint16_t *data, int nerrs, uint16_t *corr, int *errlocs) in fix_err() argument 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() 287 fix_err(r, derrs, corr, derrlocs); in test_uc() 373 uint16_t *corr = ws->corr; in test_bc() local [all …]
|
D | reed_solomon.c | 363 uint16_t *corr) in decode_rs8() argument 414 uint16_t *corr) in decode_rs16() argument
|
D | decode_rs.c | 307 if (corr && eras_pos) { 311 corr[j] = b[i];
|
/linux-6.6.21/drivers/input/ |
D | joydev.c | 46 struct js_corr corr[ABS_CNT]; member 68 static int joydev_correct(int value, struct js_corr *corr) in joydev_correct() argument 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() 192 joydev->abs[i] = joydev_correct(val, &joydev->corr[i]); in joydev_refresh_state() 545 if (copy_from_user(joydev->corr, argp, in joydev_ioctl_common() 546 sizeof(joydev->corr[0]) * joydev->nabs)) in joydev_ioctl_common() [all …]
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac5.c | 21 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() 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() [all …]
|
D | dwxgmac2_core.c | 679 static void dwxgmac3_log_error(struct net_device *ndev, u32 value, bool corr, in dwxgmac3_log_error() argument 693 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ? in dwxgmac3_log_error() 943 bool err, corr; in dwxgmac3_safety_feat_irq_status() local 954 corr = false; in dwxgmac3_safety_feat_irq_status() 956 dwxgmac3_handle_mac_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status() 957 ret |= !corr; in dwxgmac3_safety_feat_irq_status() 962 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS); in dwxgmac3_safety_feat_irq_status() 964 dwxgmac3_handle_mtl_err(ndev, ioaddr, corr, stats); in dwxgmac3_safety_feat_irq_status() 965 ret |= !corr; in dwxgmac3_safety_feat_irq_status() 973 corr = dma & XGMAC_DECIS; in dwxgmac3_safety_feat_irq_status() [all …]
|
/linux-6.6.21/Documentation/mm/damon/ |
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
|
/linux-6.6.21/drivers/iio/proximity/ |
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-6.6.21/include/linux/ |
D | rslib.h | 68 uint16_t *corr); 79 uint16_t *corr);
|
/linux-6.6.21/drivers/rtc/ |
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()
|
/linux-6.6.21/net/ethtool/ |
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-6.6.21/Documentation/core-api/ |
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-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_rps_types.h | 22 u8 corr; member
|
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()
|
/linux-6.6.21/drivers/mtd/nand/ |
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()
|
/linux-6.6.21/drivers/mtd/ubi/ |
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()
|
D | ubi.h | 761 struct list_head corr; member
|
/linux-6.6.21/tools/perf/ |
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()
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ |
D | st,sta32x.txt | 66 - st,max-power-corr:
|
D | st,sta350.txt | 70 - st,max-power-corr:
|
/linux-6.6.21/Documentation/input/joydev/ |
D | joystick-api.rst | 280 information for all axes. That is, struct js_corr corr[MAX_AXIS];
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | nand_base.c | 6119 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local 6148 corr = strength * nsteps; in nand_maximize_ecc() 6154 if (corr > best_corr || in nand_maximize_ecc() 6155 (corr == best_corr && step_size > best_step)) { in nand_maximize_ecc() 6156 best_corr = corr; in nand_maximize_ecc()
|
/linux-6.6.21/Documentation/netlink/specs/ |
D | ethtool.yaml | 733 name: corr-bits
|