Lines Matching refs:nroots
61 * @nroots: RS code generator polynomial degree (number of roots)
67 int fcr, int prim, int nroots)
83 rs->nroots = nroots;
96 rs->genpoly = kmalloc(sizeof(uint16_t) * (rs->nroots + 1), GFP_KERNEL);
132 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) {
149 for (i = 0; i <= nroots; i++)
197 * @nroots: RS code generator polynomial degree (number of roots)
201 int prim, int nroots)
213 if (nroots < 0 || nroots >= (1<<symsize))
231 if (nroots != rs->nroots)
239 rs = rs_init(symsize, gfpoly, gffunc, fcr, prim, nroots);
258 * @nroots: RS code generator polynomial degree (number of roots)
261 int nroots)
263 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots);
277 * @nroots: RS code generator polynomial degree (number of roots)
280 int fcr, int prim, int nroots)
282 return init_rs_internal(symsize, 0, gffunc, fcr, prim, nroots);