Home
last modified time | relevance | path

Searched refs:rs_control (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/linux/
H A Drslib.h55 struct rs_control { struct
62 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, argument
66 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len,
73 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par,
77 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len,
82 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
98 static inline struct rs_control *init_rs(int symsize, int gfpoly, int fcr, in init_rs()
104 struct rs_control *init_rs_non_canonical(int symsize, int (*func)(int),
108 void free_rs(struct rs_control *rs);
/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c176 void free_rs(struct rs_control *rs) in free_rs()
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly, in init_rs_internal()
218 struct rs_control *rs; in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp()
307 struct rs_control *init_rs_non_canonical(int symsize, int (*gffunc)(int), in init_rs_non_canonical()
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8()
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8()
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16()
412 int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len, in decode_rs16()
H A Dtest_rslib.c151 static int get_rcw_we(struct rs_control *rs, struct wspace *ws, in get_rcw_we()
229 static void compute_syndrome(struct rs_control *rsc, uint16_t *data, in compute_syndrome()
260 static void test_uc(struct rs_control *rs, int len, int errs, in test_uc()
313 static int ex_rs_helper(struct rs_control *rs, struct wspace *ws, in ex_rs_helper()
349 static int exercise_rs(struct rs_control *rs, struct wspace *ws, in exercise_rs()
366 static void test_bc(struct rs_control *rs, int len, int errs, in test_bc()
407 static int exercise_rs_bc(struct rs_control *rs, struct wspace *ws, in exercise_rs_bc()
446 struct rs_control *rsc; in run_exercise()
/openbmc/linux/fs/pstore/
H A Dram_internal.h73 struct rs_control *rs_decoder;
/openbmc/linux/drivers/md/
H A Ddm-verity-fec.h55 struct rs_control *rs; /* Reed-Solomon state */
H A Ddm-verity-fec.c578 struct rs_control *rs = element; in fec_rs_free()
/openbmc/linux/Documentation/core-api/
H A Dlibrs.rst42 static struct rs_control *rs_decoder;
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddiskonchip.c71 struct rs_control *rs_decoder;
135 static int doc_ecc_decode(struct rs_control *rs, uint8_t *data, uint8_t *ecc) in doc_ecc_decode()
H A Dcafe_nand.c64 struct rs_control *rs;