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

NAME

6       encode_rs8 - Calculate the parity for data values (8bit data width)
7

SYNOPSIS

9       int encode_rs8(struct rs_control * rs, uint8_t * data, int len,
10                      uint16_t * par, uint16_t invmsk);
11

ARGUMENTS

13       rs
14           the rs control structure
15
16       data
17           data field of a given type
18
19       len
20           data length
21
22       par
23           parity data, must be initialized by caller (usually all 0)
24
25       invmsk
26           invert data mask (will be xored on data)
27

DESCRIPTION

29       The parity uses a uint16_t data type to enable symbol size > 8. The
30       calling code must take care of encoding of the syndrome result for
31       storage itself.
32

AUTHOR

34       Thomas Gleixner <tglx@linutronix.de>
35           Author.
36
38Kernel Hackers Manual 2.6.       November 2011                   ENCODE_RS8(9)
Impressum