Searched refs:bch_control (Results 1 – 11 of 11) sorted by relevance
/openbmc/u-boot/include/linux/ |
H A 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,
|
/openbmc/linux/include/linux/ |
H A D | bch.h | 38 struct bch_control { struct 58 struct bch_control *bch_init(int m, int t, unsigned int prim_poly, argument 61 void bch_free(struct bch_control *bch); 63 void bch_encode(struct bch_control *bch, const uint8_t *data, 66 int bch_decode(struct bch_control *bch, const uint8_t *data, unsigned int len,
|
/openbmc/linux/lib/ |
H A D | bch.c | 118 static u8 swap_bits(struct bch_control *bch, u8 in) in swap_bits() 129 static void bch_encode_unaligned(struct bch_control *bch, in bch_encode_unaligned() 152 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 174 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 207 void bch_encode(struct bch_control *bch, const uint8_t *data, in bch_encode() 289 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 302 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 328 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 335 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 340 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() [all …]
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 161 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned() 182 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 198 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 231 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch() 302 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 315 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 341 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 348 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 353 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() 360 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv() [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | nand-ecc-sw-bch.h | 30 struct bch_control *bch;
|
/openbmc/u-boot/tools/ |
H A D | sunxi-spl-image-builder.c | 115 struct bch_control *bch, int page) in write_page() 241 struct bch_control *bch; in create_image()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | docg3.h | 267 struct bch_control *bch;
|
/openbmc/u-boot/board/ge/common/ |
H A D | vpd_reader.c | 55 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bch.c | 29 struct bch_control *bch;
|
H A D | omap_gpmc.c | 44 struct bch_control *control;
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | arasan-nand-controller.c | 187 struct bch_control *bch;
|