Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/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,
/rk3399_rockchip-uboot/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 …]
/rk3399_rockchip-uboot/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()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_bch.c29 struct bch_control *bch;
H A Domap_gpmc.c45 struct bch_control *control;