STRUCT RS_CONTROL(9) | Structures | STRUCT RS_CONTROL(9) |
NAME¶
struct_rs_control - rs control structure
SYNOPSIS¶
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¶
mm
Bits per symbol
nn
Symbols per block (= (1<<mm)-1)
alpha_to
log lookup table
index_of
Antilog lookup table
genpoly
Generator polynomial
nroots
Number of generator roots = number of parity
symbols
fcr
First consecutive root, index form
prim
Primitive element, index form
iprim
prim-th root of 1, index form
gfpoly
The primitive generator polynominal
gffunc
Function to generate the field, if non-canonical
representation
users
Users of this structure
list
List entry for the rs control list
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |