1INIT_RS(9) Public Functions Provided INIT_RS(9)
2
3
4
6 init_rs - Find a matching or allocate a new rs control structure
7
9 struct rs_control * init_rs(int symsize, int gfpoly, int fcr, int prim,
10 int nroots);
11
13 symsize
14 the symbol size (number of bits)
15
16 gfpoly
17 the extended Galois field generator polynomial coefficients, with
18 the 0th coefficient in the low order bit. The polynomial must be
19 primitive;
20
21 fcr
22 the first consecutive root of the rs code generator polynomial in
23 index form
24
25 prim
26 primitive element to generate polynomial roots
27
28 nroots
29 RS code generator polynomial degree (number of roots)
30
32 Thomas Gleixner <tglx@linutronix.de>
33 Author.
34
36Kernel Hackers Manual 2.6. November 2011 INIT_RS(9)