Searched refs:corr (Results 1 - 18 of 18) sorted by relevance

/linux-master/lib/reed_solomon/
H A Dtest_rslib.c80 uint16_t *corr; /* correction buffer */ member in struct:wspace
125 ws->corr = ws->s + nroots;
221 static void fix_err(uint16_t *data, int nerrs, uint16_t *corr, int *errlocs) argument
226 data[errlocs[i]] ^= corr[i];
267 uint16_t *corr = ws->corr; local
280 NULL, eras, derrlocs, 0, corr);
281 fix_err(r, derrs, corr, derrlocs);
286 s, eras, derrlocs, 0, corr);
287 fix_err(r, derrs, corr, derrloc
373 uint16_t *corr = ws->corr; local
[all...]
H A Dreed_solomon.c348 * @corr: buffer to store correction bitmask on eras_pos
363 uint16_t *corr)
401 * @corr: buffer to store correction bitmask on eras_pos
414 uint16_t *corr)
361 decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, uint16_t *corr) argument
412 decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len, uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, uint16_t *corr) argument
H A Ddecode_rs.c307 if (corr && eras_pos) {
311 corr[j] = b[i];
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac5.c21 static void dwmac5_log_error(struct net_device *ndev, u32 value, bool corr, argument
33 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ?
271 bool err, corr; local
282 corr = false;
284 dwmac5_handle_mac_err(ndev, ioaddr, corr, stats);
285 ret |= !corr;
289 corr = (mtl & MECIS) || (dma & MSCIS);
291 dwmac5_handle_mtl_err(ndev, ioaddr, corr, stats);
292 ret |= !corr;
296 corr
[all...]
H A Ddwxgmac2_core.c695 static void dwxgmac3_log_error(struct net_device *ndev, u32 value, bool corr, argument
709 netdev_err(ndev, "Found %s error in %s: '%s: %s'\n", corr ?
959 bool err, corr; local
970 corr = false;
972 dwxgmac3_handle_mac_err(ndev, ioaddr, corr, stats);
973 ret |= !corr;
978 corr = (mtl & XGMAC_MECIS) || (dma & XGMAC_MSCIS);
980 dwxgmac3_handle_mtl_err(ndev, ioaddr, corr, stats);
981 ret |= !corr;
989 corr
[all...]
/linux-master/include/linux/
H A Drslib.h67 uint16_t *corr);
78 uint16_t *corr);
/linux-master/drivers/input/
H A Djoydev.c46 struct js_corr corr[ABS_CNT]; member in struct:joydev
68 static int joydev_correct(int value, struct js_corr *corr) argument
70 switch (corr->type) {
76 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 :
77 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) :
78 ((corr->coef[2] * (value - corr->coef[0])) >> 14);
133 &joydev->corr[even
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_rps_types.h22 u8 corr; member in struct:intel_ips
H A Dintel_rps.c615 rps->ips.corr = init_emon(uncore);
1482 u64 corr, corr2; local
1497 corr = t * 2349 + 135940;
1499 corr = t * 964 + 29317;
1501 corr = t * 301 + 1004;
1503 corr = div_u64(corr * 150142 * state1, 10000) - 78642;
1504 corr2 = div_u64(corr, 100000) * ips->corr;
/linux-master/drivers/iio/proximity/
H A Disl29501.c424 int corr; local
427 corr = isl29501->shadow_coeffs[i];
428 corr_exp = isl29501_find_corr_exp(corr,
432 "found exp of corr(%d) = %d\n", corr, corr_exp);
443 int corr; local
446 corr = isl29501->shadow_coeffs[i];
447 if (!corr)
450 mantissa = corr >> max_exp;
/linux-master/net/ethtool/
H A Dfec.c19 } corr, uncorr, corr_bits; member in struct:fec_reply_data
118 fec_stats_recalc(&data->corr, &stats.corrected_blocks);
176 sizeof(u64) * data->corr.cnt,
177 data->corr.stats, ETHTOOL_A_FEC_STAT_PAD) ||
/linux-master/drivers/rtc/
H A Drtc-at91rm9200.c328 long corr; local
356 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset * AT91_RTC_CORR_LOW_RATIO);
358 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset);
362 if (corr > 128)
363 corr = 128;
365 mr |= FIELD_PREP(AT91_RTC_CORRECTION, corr - 1);
/linux-master/drivers/mtd/nand/
H A Decc.c472 int corr, ds_corr; local
482 corr = (mtd->writesize * conf->strength) / conf->step_size;
485 return corr >= ds_corr && conf->strength >= reqs->strength;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dnbio_v7_4.c595 uint32_t corr, fatal, non_fatal; local
603 corr = REG_GET_FIELD(global_sts, RAS_GLOBAL_STATUS_LO, ParityErrCorr);
613 if (corr)
618 if (corr || fatal || non_fatal) {
/linux-master/drivers/mtd/ubi/
H A Dattach.c25 * Corrupted physical eraseblocks are put to the @corr list, free physical
51 * attaching, such PEBs are put to the @corr list and UBI preserves them.
264 * physical eraseblock @pnum and adds it to the 'corr' list. The corruption
279 list_add(&aeb->u.list, &ai->corr);
1224 list_for_each_entry(aeb, &ai->corr, u.list)
1325 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) {
1426 list_for_each_entry(aeb, &ai->corr, u.list)
1458 INIT_LIST_HEAD(&ai->corr);
1883 list_for_each_entry(aeb, &ai->corr, u.list)
H A Dubi.h726 * @corr: list of corrupted physical eraseblocks
733 * @corr_peb_count: count of PEBs in the @corr list
761 struct list_head corr; member in struct:ubi_attach_info
/linux-master/tools/perf/
H A Dbuiltin-list.c79 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) argument
90 column = start + corr;
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c6154 int step_size, strength, nsteps, ecc_bytes, corr; local
6183 corr = strength * nsteps;
6189 if (corr > best_corr ||
6190 (corr == best_corr && step_size > best_step)) {
6191 best_corr = corr;

Completed in 336 milliseconds