Lines Matching +full:use +full:- +full:parity
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
27 This chapter provides examples of how to use the library.
30 ------------
54 --------
56 The encoder calculates the Reed-Solomon code over the given data length
57 and stores the result in the parity buffer. Note that the parity buffer
60 The expanded data can be inverted on the fly by providing a non-zero
63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before
74 /* Parity buffer. Size = number of roots */
76 /* Initialize the parity buffer */
78 /* Encode 512 byte in data8. Store parity in buffer par */
83 --------
86 received parity symbols and corrects errors in the data.
95 use a weird bit ordering scheme.
107 /* Parity buffer. Size = number of roots */
113 /* Receive parity */
124 /* Parity buffer. Size = number of roots */
130 /* Receive parity */
141 Note: It's not necessary to give data and received parity to the
146 /* Parity buffer. Size = number of roots */
152 /* Receive parity */
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