bch_control       267 drivers/mtd/devices/docg3.h 	struct bch_control *bch;
bch_control        26 drivers/mtd/nand/raw/nand_bch.c 	struct bch_control   *bch;
bch_control        56 include/linux/bch.h struct bch_control *init_bch(int m, int t, unsigned int prim_poly);
bch_control        58 include/linux/bch.h void free_bch(struct bch_control *bch);
bch_control        60 include/linux/bch.h void encode_bch(struct bch_control *bch, const uint8_t *data,
bch_control        63 include/linux/bch.h int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len,
bch_control       120 lib/bch.c      static void encode_bch_unaligned(struct bch_control *bch,
bch_control       141 lib/bch.c      static void load_ecc8(struct bch_control *bch, uint32_t *dst,
bch_control       157 lib/bch.c      static void store_ecc8(struct bch_control *bch, uint8_t *dst,
bch_control       190 lib/bch.c      void encode_bch(struct bch_control *bch, const uint8_t *data,
bch_control       266 lib/bch.c      static inline int modulo(struct bch_control *bch, unsigned int v)
bch_control       279 lib/bch.c      static inline int mod_s(struct bch_control *bch, unsigned int v)
bch_control       305 lib/bch.c      static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a,
bch_control       312 lib/bch.c      static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a)
bch_control       317 lib/bch.c      static inline unsigned int gf_div(struct bch_control *bch, unsigned int a,
bch_control       324 lib/bch.c      static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a)
bch_control       329 lib/bch.c      static inline unsigned int a_pow(struct bch_control *bch, int i)
bch_control       334 lib/bch.c      static inline int a_log(struct bch_control *bch, unsigned int x)
bch_control       339 lib/bch.c      static inline int a_ilog(struct bch_control *bch, unsigned int x)
bch_control       347 lib/bch.c      static void compute_syndromes(struct bch_control *bch, uint32_t *ecc,
bch_control       386 lib/bch.c      static int compute_error_locator_polynomial(struct bch_control *bch,
bch_control       442 lib/bch.c      static int solve_linear_system(struct bch_control *bch, unsigned int *rows,
bch_control       518 lib/bch.c      static int find_affine4_roots(struct bch_control *bch, unsigned int a,
bch_control       555 lib/bch.c      static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly,
bch_control       570 lib/bch.c      static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly,
bch_control       612 lib/bch.c      static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly,
bch_control       645 lib/bch.c      static int find_poly_deg4_roots(struct bch_control *bch, struct gf_poly *poly,
bch_control       709 lib/bch.c      static void gf_poly_logrep(struct bch_control *bch,
bch_control       722 lib/bch.c      static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a,
bch_control       758 lib/bch.c      static void gf_poly_div(struct bch_control *bch, struct gf_poly *a,
bch_control       776 lib/bch.c      static struct gf_poly *gf_poly_gcd(struct bch_control *bch, struct gf_poly *a,
bch_control       805 lib/bch.c      static void compute_trace_bk_mod(struct bch_control *bch, int k,
bch_control       848 lib/bch.c      static void factor_polynomial(struct bch_control *bch, int k, struct gf_poly *f,
bch_control       884 lib/bch.c      static int find_poly_roots(struct bch_control *bch, unsigned int k,
bch_control       924 lib/bch.c      static int chien_search(struct bch_control *bch, unsigned int len,
bch_control       996 lib/bch.c      int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len,
bch_control      1061 lib/bch.c      static int build_gf_tables(struct bch_control *bch, unsigned int poly)
bch_control      1089 lib/bch.c      static void build_mod8_tables(struct bch_control *bch, const uint32_t *g)
bch_control      1123 lib/bch.c      static int build_deg2_base(struct bch_control *bch)
bch_control      1174 lib/bch.c      static uint32_t *compute_generator_polynomial(struct bch_control *bch)
bch_control      1259 lib/bch.c      struct bch_control *init_bch(int m, int t, unsigned int prim_poly)
bch_control      1264 lib/bch.c      	struct bch_control *bch = NULL;
bch_control      1359 lib/bch.c      void free_bch(struct bch_control *bch)