Lines Matching defs:symsize
59 * @symsize: symbol size, bits (1-8)
70 static struct rs_codec *codec_init(int symsize, int gfpoly, int (*gffunc)(int),
82 rs->mm = symsize;
83 rs->nn = (1 << symsize) - 1;
112 if (sr & (1 << symsize))
200 * @symsize: the symbol size (number of bits)
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly,
222 if (symsize < 1)
224 if (fcr < 0 || fcr >= (1<<symsize))
226 if (prim <= 0 || prim >= (1<<symsize))
228 if (nroots < 0 || nroots >= (1<<symsize))
247 if (symsize != cd->mm)
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp);
278 * @symsize: the symbol size (number of bits)
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);
298 * @symsize: the symbol size (number of bits)
307 struct rs_control *init_rs_non_canonical(int symsize, int (*gffunc)(int),
310 return init_rs_internal(symsize, 0, gffunc, fcr, prim, nroots,