other versions
STRUCT RS_CONTROL(9) | Structures | STRUCT RS_CONTROL(9) |
NAME¶
struct_rs_control - rs control structureSYNOPSIS¶
struct rs_control { int mm; int nn; uint16_t * alpha_to; uint16_t * index_of; uint16_t * genpoly; int nroots; int fcr; int prim; int iprim; int gfpoly; int (* gffunc) (int); int users; struct list_head list; };
MEMBERS¶
int mmBits per symbol
int nn
Symbols per block (= (1<<mm)-1)
uint16_t * alpha_to
log lookup table
uint16_t * index_of
Antilog lookup table
uint16_t * genpoly
Generator polynomial
int nroots
Number of generator roots = number of parity
symbols
int fcr
First consecutive root, index form
int prim
Primitive element, index form
int iprim
prim-th root of 1, index form
int gfpoly
The primitive generator polynominal
int (*)(int) gffunc
Function to generate the field, if non-canonical
representation
int users
Users of this structure
struct list_head list
List entry for the rs control list
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>Author.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |