Lines Matching +full:1 +full:- +full:512
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
30 ------------
45 * Primitive polynomial is x^10+x^3+1
47 * primitive element to generate roots = 1
50 rs_decoder = init_rs (10, 0x409, 0, 1, 6);
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
63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before
78 /* Encode 512 byte in data8. Store parity in buffer par */
79 encode_rs8 (rs_decoder, data8, 512, par, 0);
83 --------
109 uint8_t data[512];
115 /* Decode 512 byte in data8.*/
116 numerr = decode_rs8 (rs_decoder, data8, par, 512, NULL, 0, NULL, 0, NULL);
126 uint8_t data[512];
134 /* Decode 512 byte in data8.*/
135 numerr = decode_rs8 (rs_decoder, data8, par, 512, syn, 0, NULL, 0, NULL);
148 uint8_t data[512];
156 /* Decode 512 byte in data8.*/
157 numerr = decode_rs8 (rs_decoder, NULL, NULL, 512, syn, 0, errpos, 0, corr);
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