Home
last modified time | relevance | path

Searched refs:bch_control (Results 1 – 7 of 7) sorted by relevance

/u-boot/include/linux/
A Dbch.h37 struct bch_control { struct
56 struct bch_control *init_bch(int m, int t, unsigned int prim_poly); argument
58 void free_bch(struct bch_control *bch);
60 void encode_bch(struct bch_control *bch, const uint8_t *data,
63 int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len,
/u-boot/lib/
A Dbch.c164 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned()
185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8()
201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8()
234 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch()
318 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s()
368 static inline unsigned int a_pow(struct bch_control *bch, int i) in a_pow()
373 static inline int a_log(struct bch_control *bch, unsigned int x) in a_log()
748 static void gf_poly_logrep(struct bch_control *bch, in gf_poly_logrep()
1161 static int build_deg2_base(struct bch_control *bch) in build_deg2_base()
1302 struct bch_control *bch = NULL; in init_bch()
[all …]
/u-boot/tools/
A Dsunxi-spl-image-builder.c115 struct bch_control *bch, int page) in write_page()
241 struct bch_control *bch; in create_image()
/u-boot/board/ge/common/
A Dvpd_reader.c59 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
/u-boot/drivers/mtd/nand/raw/
A Dnand_bch.c31 struct bch_control *bch;
A Domap_gpmc.c45 struct bch_control *control;
/u-boot/arch/arm/mach-imx/
A Dcmd_nandbcb.c341 struct bch_control *bch = init_bch(m, eccbits, 0); in encode_bch_ecc()

Completed in 21 milliseconds