Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbch.h38 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-6.15/lib/
H A Dbch.c118 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()
302 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s()
352 static inline unsigned int a_pow(struct bch_control *bch, int i) in a_pow()
729 static void gf_poly_logrep(struct bch_control *bch, in gf_poly_logrep()
1138 static int build_deg2_base(struct bch_control *bch) in build_deg2_base()
1281 struct bch_control *bch = NULL; in bch_init()
[all …]
/linux-6.15/include/linux/mtd/
H A Dnand-ecc-sw-bch.h30 struct bch_control *bch;
/linux-6.15/drivers/mtd/devices/
H A Ddocg3.h267 struct bch_control *bch;
/linux-6.15/drivers/mtd/nand/raw/
H A Darasan-nand-controller.c187 struct bch_control *bch;