Searched refs:rs_control (Results 1 - 8 of 8) sorted by relevance

/linux-master/include/linux/
H A Drslib.h50 * struct rs_control - rs control structure per instance
54 struct rs_control { struct
61 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par,
65 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len,
72 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par,
76 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len,
81 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
97 static inline struct rs_control *init_rs(int symsize, int gfpoly, int fcr,
103 struct rs_control *init_rs_non_canonical(int symsize, int (*func)(int),
107 void free_rs(struct rs_control *r
[all...]
/linux-master/lib/reed_solomon/
H A Dreed_solomon.c15 * Each user must call init_rs to get a pointer to a rs_control structure
21 * driver should initialize the necessary rs_control structure on module /
176 void free_rs(struct rs_control *rs)
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly,
218 struct rs_control *rs;
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
307 struct rs_control *init_rs_non_canonical(int symsize, int (*gffunc)(int),
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par,
354 * Note: The rs_control struct @rsc contains buffers which are used for
361 int decode_rs8(struct rs_control *rs
[all...]
H A Dtest_rslib.c151 static int get_rcw_we(struct rs_control *rs, struct wspace *ws,
229 static void compute_syndrome(struct rs_control *rsc, uint16_t *data,
260 static void test_uc(struct rs_control *rs, int len, int errs,
313 static int ex_rs_helper(struct rs_control *rs, struct wspace *ws,
349 static int exercise_rs(struct rs_control *rs, struct wspace *ws,
366 static void test_bc(struct rs_control *rs, int len, int errs,
407 static int exercise_rs_bc(struct rs_control *rs, struct wspace *ws,
446 struct rs_control *rsc;
/linux-master/fs/pstore/
H A Dram_internal.h73 struct rs_control *rs_decoder;
/linux-master/drivers/md/
H A Ddm-verity-fec.h55 struct rs_control *rs; /* Reed-Solomon state */
H A Ddm-verity-fec.c581 struct rs_control *rs = element;
783 /* Preallocate an rs_control structure for each worker thread */
/linux-master/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)
H A Dcafe_nand.c64 struct rs_control *rs;

Completed in 308 milliseconds