Linux Kernel
3.7.1
|
#include <bch.h>
Data Fields | |
unsigned int | m |
unsigned int | n |
unsigned int | t |
unsigned int | ecc_bits |
unsigned int | ecc_bytes |
uint16_t * | a_pow_tab |
uint16_t * | a_log_tab |
uint32_t * | mod8_tab |
uint32_t * | ecc_buf |
uint32_t * | ecc_buf2 |
unsigned int * | xi_tab |
unsigned int * | syn |
int * | cache |
struct gf_poly * | elp |
struct gf_poly * | poly_2t [4] |
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