other versions
INIT_RS(9) | Public Functions Provided | INIT_RS(9) |
NAME¶
init_rs - Find a matching or allocate a new rs control structure
SYNOPSIS¶
struct rs_control * init_rs(int symsize, int gfpoly, int fcr, int prim, int nroots);
ARGUMENTS¶
int symsize
the symbol size (number of bits)
int gfpoly
the extended Galois field generator polynomial
coefficients, with the 0th coefficient in the low order bit. The polynomial
must be primitive;
int fcr
the first consecutive root of the rs code generator
polynomial in index form
int prim
primitive element to generate polynomial roots
int nroots
RS code generator polynomial degree (number of
roots)
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |