Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
bch_control Struct Reference

#include <bch.h>

Data Fields

unsigned int m
 
unsigned int n
 
unsigned int t
 
unsigned int ecc_bits
 
unsigned int ecc_bytes
 
uint16_ta_pow_tab
 
uint16_ta_log_tab
 
uint32_tmod8_tab
 
uint32_tecc_buf
 
uint32_tecc_buf2
 
unsigned intxi_tab
 
unsigned intsyn
 
intcache
 
struct gf_polyelp
 
struct gf_polypoly_2t [4]
 

Detailed Description

struct bch_control - BCH control structure : Galois field order
: maximum codeword size in bits (= 2^m-1) : error correction capability in bits : ecc exact size in bits, i.e. generator polynomial degree (<=m*t) : ecc max size (m*t bits) in bytes : Galois field GF(2^m) exponentiation lookup table : Galois field GF(2^m) log lookup table : remainder generator polynomial lookup tables : ecc parity words buffer : ecc parity words buffer : GF(2^m) base for solving degree 2 polynomial roots : syndrome buffer : log-based polynomial representation buffer : error locator polynomial : temporary polynomials of degree 2t

Definition at line 49 of file bch.h.

Field Documentation

uint16_t* a_log_tab

Definition at line 57 of file bch.h.

uint16_t* a_pow_tab

Definition at line 56 of file bch.h.

Definition at line 63 of file bch.h.

unsigned int ecc_bits

Definition at line 53 of file bch.h.

uint32_t* ecc_buf

Definition at line 59 of file bch.h.

uint32_t* ecc_buf2

Definition at line 60 of file bch.h.

unsigned int ecc_bytes

Definition at line 54 of file bch.h.

Definition at line 64 of file bch.h.

unsigned int m

Definition at line 50 of file bch.h.

uint32_t* mod8_tab

Definition at line 58 of file bch.h.

unsigned int n

Definition at line 51 of file bch.h.

struct gf_poly* poly_2t[4]

Definition at line 65 of file bch.h.

unsigned int* syn

Definition at line 62 of file bch.h.

unsigned int t

Definition at line 52 of file bch.h.

unsigned int* xi_tab

Definition at line 61 of file bch.h.


The documentation for this struct was generated from the following file: