Searched refs:bch_control (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/include/linux/ |
D | bch.h | 37 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,
|
/external/u-boot/lib/ |
D | bch.c | 154 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned() 175 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 191 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 224 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch() 295 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 308 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 334 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 341 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 346 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() 353 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv() [all …]
|
/external/u-boot/tools/ |
D | sunxi-spl-image-builder.c | 115 struct bch_control *bch, int page) in write_page() 241 struct bch_control *bch; in create_image()
|
/external/u-boot/board/ge/common/ |
D | vpd_reader.c | 54 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_bch.c | 29 struct bch_control *bch;
|
D | omap_gpmc.c | 44 struct bch_control *control;
|