Lines Matching +full:data +full:- +full:size
2 Reed-Solomon Library Programming Interface
10 The generic Reed-Solomon Library provides encoding, decoding and error
13 Reed-Solomon codes are used in communication and storage applications to
14 ensure data integrity.
30 ------------
54 --------
56 The encoder calculates the Reed-Solomon code over the given data length
60 The expanded data can be inverted on the fly by providing a non-zero
61 inversion mask. The expanded data is XOR'ed with the mask. This is used
63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before
67 The databytes are expanded to the given symbol size on the fly. There is
68 no support for encoding continuous bitstreams with a symbol size != 8 at
74 /* Parity buffer. Size = number of roots */
83 --------
85 The decoder calculates the syndrome over the given data length and the
86 received parity symbols and corrects errors in the data.
91 The correction of the data buffer can be suppressed by providing a
97 The databytes are expanded to the given symbol size on the fly. There is
102 Decoding with syndrome calculation, direct data correction
107 /* Parity buffer. Size = number of roots */
109 uint8_t data[512];
111 /* Receive data */
119 Decoding with syndrome given by hardware decoder, direct data correction
124 /* Parity buffer. Size = number of roots */
126 uint8_t data[512];
128 /* Receive data */
138 Decoding with syndrome given by hardware decoder, no direct data correction.
141 Note: It's not necessary to give data and received parity to the
146 /* Parity buffer. Size = number of roots */
148 uint8_t data[512];
150 /* Receive data */
164 -------
179 which are used in the Reed-Solomon Library and are relevant for a
182 .. kernel-doc:: include/linux/rslib.h
189 Reed-Solomon functions which are exported.
191 .. kernel-doc:: lib/reed_solomon/reed_solomon.c