1INIT_RS_NON_CANONICA(9) Public Functions Provided INIT_RS_NON_CANONICA(9)
2
3
4
6 init_rs_non_canonical - Find a matching or allocate a new rs control
7 structure, for fields with non-canonical representation
8
10 struct rs_control * init_rs_non_canonical(int symsize,
11 int (*gffunc) (int), int fcr,
12 int prim, int nroots);
13
15 symsize
16 the symbol size (number of bits)
17
18 gffunc
19 pointer to function to generate the next field element, or the
20 multiplicative identity element if given 0. Used instead of gfpoly
21 if gfpoly is 0
22
23 fcr
24 the first consecutive root of the rs code generator polynomial in
25 index form
26
27 prim
28 primitive element to generate polynomial roots
29
30 nroots
31 RS code generator polynomial degree (number of roots)
32
34 Thomas Gleixner <tglx@linutronix.de>
35 Author.
36
38Kernel Hackers Manual 2.6. November 2011 INIT_RS_NON_CANONICA(9)