1DECODE_RS16(9)             Public Functions Provided            DECODE_RS16(9)
2
3
4

NAME

6       decode_rs16 - Decode codeword (16bit data width)
7

SYNOPSIS

9       int decode_rs16(struct rs_control * rs, uint16_t * data,
10                       uint16_t * par, int len, uint16_t * s, int no_eras,
11                       int * eras_pos, uint16_t invmsk, uint16_t * corr);
12

ARGUMENTS

14       rs
15           the rs control structure
16
17       data
18           data field of a given type
19
20       par
21           received parity data field
22
23       len
24           data length
25
26       s
27           syndrome data field (if NULL, syndrome is calculated)
28
29       no_eras
30           number of erasures
31
32       eras_pos
33           position of erasures, can be NULL
34
35       invmsk
36           invert data mask (will be xored on data, not on parity!)
37
38       corr
39           buffer to store correction bitmask on eras_pos
40

DESCRIPTION

42       Each field in the data array contains up to symbol size bits of valid
43       data. Returns the number of corrected bits or -EBADMSG for
44       uncorrectable errors.
45

AUTHOR

47       Thomas Gleixner <tglx@linutronix.de>
48           Author.
49
51Kernel Hackers Manual 3.10         June 2019                    DECODE_RS16(9)
Impressum