1STRUCT RS_CONTROL(9)              Structures              STRUCT RS_CONTROL(9)
2
3
4

NAME

6       struct_rs_control - rs control structure
7

SYNOPSIS

9       struct rs_control {
10         int mm;
11         int nn;
12         uint16_t * alpha_to;
13         uint16_t * index_of;
14         uint16_t * genpoly;
15         int nroots;
16         int fcr;
17         int prim;
18         int iprim;
19         int gfpoly;
20         int (* gffunc) (int);
21         int users;
22         struct list_head list;
23       };
24

MEMBERS

26       mm
27           Bits per symbol
28
29       nn
30           Symbols per block (= (1<<mm)-1)
31
32       alpha_to
33           log lookup table
34
35       index_of
36           Antilog lookup table
37
38       genpoly
39           Generator polynomial
40
41       nroots
42           Number of generator roots = number of parity symbols
43
44       fcr
45           First consecutive root, index form
46
47       prim
48           Primitive element, index form
49
50       iprim
51           prim-th root of 1, index form
52
53       gfpoly
54           The primitive generator polynominal
55
56       gffunc
57           Function to generate the field, if non-canonical representation
58
59       users
60           Users of this structure
61
62       list
63           List entry for the rs control list
64

AUTHOR

66       Thomas Gleixner <tglx@linutronix.de>
67           Author.
68
70Kernel Hackers Manual 3.10         June 2019              STRUCT RS_CONTROL(9)
Impressum