| /linux/lib/reed_solomon/ |
| H A 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 …]
|
| 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];
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A 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 …]
|
| /linux/drivers/input/ |
| H A 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/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()
|
| /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()
|
| /linux/include/linux/ |
| H A D | rslib.h | 67 uint16_t *corr); 78 uint16_t *corr);
|
| /linux/Documentation/mm/damon/ |
| H A D | maintainer-profile.rst | 42 <https://github.com/damonitor/damon-tests/blob/master/corr/run.sh#L49>`_ and 44 <https://github.com/damonitor/damon-tests/blob/master/corr/tests/kunit.sh>`_. 48 - Run `damon-tests/corr 49 <https://github.com/damonitor/damon-tests/tree/master/corr>`_ for normal
|
| /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]);
|
| /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() 1885 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
|
| H A D | ubi.h | 761 struct list_head corr; member
|
| /linux/tools/perf/ |
| H A D | builtin-list.c | 90 static void wordwrap(FILE *fp, const char *s, int start, int max, int corr) in wordwrap() argument 103 column = start + corr; in wordwrap()
|
| /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:
|
| /linux/Documentation/input/joydev/ |
| H A D | joystick-api.rst | 280 information for all axes. That is, struct js_corr corr[MAX_AXIS];
|