Lines Matching defs:gfpoly
57 * @gfpoly: Field generator polynomial coefficients
66 static struct rs_control *rs_init(int symsize, int gfpoly, int (*gffunc)(int),
84 rs->gfpoly = gfpoly;
103 if (gfpoly) {
110 sr ^= gfpoly;
188 * @gfpoly: the extended Galois field generator polynomial coefficients,
193 * instead of gfpoly if gfpoly is 0
199 static struct rs_control *init_rs_internal(int symsize, int gfpoly,
223 if (gfpoly != rs->gfpoly)
239 rs = rs_init(symsize, gfpoly, gffunc, fcr, prim, nroots);
252 * @gfpoly: the extended Galois field generator polynomial coefficients,
260 struct rs_control *init_rs(int symsize, int gfpoly, int fcr, int prim,
263 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots);
273 * instead of gfpoly if gfpoly is 0