1ENCODE_RS16(9) Public Functions Provided ENCODE_RS16(9)
2
3
4
6 encode_rs16 - Calculate the parity for data values (16bit data width)
7
9 int encode_rs16(struct rs_control * rs, uint16_t * data, int len,
10 uint16_t * par, uint16_t invmsk);
11
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, not on parity!)
27
29 Each field in the data array contains up to symbol size bits of valid
30 data.
31
33 Thomas Gleixner <tglx@linutronix.de>
34 Author.
35
37Kernel Hackers Manual 2.6. June 2019 ENCODE_RS16(9)