Home
last modified time | relevance | path

Searched refs:gfpoly (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c70 static struct rs_codec *codec_init(int symsize, int gfpoly, int (*gffunc)(int), in codec_init() argument
87 rs->gfpoly = gfpoly; in codec_init()
106 if (gfpoly) { in codec_init()
113 sr ^= gfpoly; in codec_init()
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly, in init_rs_internal() argument
249 if (gfpoly != cd->gfpoly) in init_rs_internal()
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp); in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp() argument
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp); in init_rs_gfp()
/openbmc/linux/include/linux/
H A Drslib.h44 int gfpoly; member
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() argument
101 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs()