Searched refs:bch_control (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/include/linux/ |
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,
|
/Linux-v6.1/lib/ |
D | bch.c | 152 static u8 swap_bits(struct bch_control *bch, u8 in) in swap_bits() 163 static void bch_encode_unaligned(struct bch_control *bch, in bch_encode_unaligned() 186 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 208 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 241 void bch_encode(struct bch_control *bch, const uint8_t *data, in bch_encode() 323 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 336 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 362 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 369 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 374 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() [all …]
|
/Linux-v6.1/include/linux/mtd/ |
D | nand-ecc-sw-bch.h | 30 struct bch_control *bch;
|
/Linux-v6.1/drivers/mtd/devices/ |
D | docg3.h | 267 struct bch_control *bch;
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | arasan-nand-controller.c | 187 struct bch_control *bch;
|