Provided by:

linux-doc-2.6.15_2.6.15-23.39_all **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**

__symsize__
the symbol size (number of bits)
__gfpoly__ the extended Galois field generator polynomial coefficients,
with the 0th coefficient in the low order bit. The polynomial
must be primitive;
__fcr__ the first consecutive root of the rs code generator polynomial
in index form
__prim__ primitive element to generate polynomial roots
__nroots__ RS code generator polynomial degree (number of roots)

**DESCRIPTION**

**AUTHOR**

Thomas Gleixner <tglx@linutronix.de>.