Lines Matching refs:gfpoly
60 * @gfpoly: Field generator polynomial coefficients
70 static struct rs_codec *codec_init(int symsize, int gfpoly, int (*gffunc)(int),
87 rs->gfpoly = gfpoly;
106 if (gfpoly) {
113 sr ^= gfpoly;
201 * @gfpoly: the extended Galois field generator polynomial coefficients,
206 * instead of gfpoly if gfpoly is 0
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly,
249 if (gfpoly != cd->gfpoly)
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp);
279 * @gfpoly: the extended Galois field generator polynomial coefficients,
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp);
301 * instead of gfpoly if gfpoly is 0