Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dbch.c152 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 …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dbch.h38 struct bch_control { struct
57 struct bch_control *init_bch(int m, int t, unsigned int prim_poly); argument
59 void free_bch(struct bch_control *bch);
61 void encode_bch(struct bch_control *bch, const uint8_t *data,
64 int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len,
/OK3568_Linux_fs/kernel/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,
/OK3568_Linux_fs/u-boot/lib/
H A Dbch.c155 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned()
176 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8()
192 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8()
225 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch()
296 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo()
309 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s()
335 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul()
342 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr()
347 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div()
354 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv()
[all …]
/OK3568_Linux_fs/u-boot/tools/
H A Dsunxi-spl-image-builder.c115 struct bch_control *bch, int page) in write_page()
241 struct bch_control *bch; in create_image()
/OK3568_Linux_fs/kernel/drivers/mtd/devices/
H A Ddocg3.h267 struct bch_control *bch;
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_bch.c26 struct bch_control *bch;
H A Darasan-nand-controller.c170 struct bch_control *bch;
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c29 struct bch_control *bch;
H A Domap_gpmc.c45 struct bch_control *control;