Lines Matching defs:nroots
64 * @nroots: RS code generator polynomial degree (number of roots)
71 int fcr, int prim, int nroots, gfp_t gfp)
86 rs->nroots = nroots;
99 rs->genpoly = kmalloc_array(rs->nroots + 1, sizeof(uint16_t), gfp);
135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) {
152 for (i = 0; i <= nroots; i++)
210 * @nroots: RS code generator polynomial degree (number of roots)
215 int prim, int nroots, gfp_t gfp)
228 if (nroots < 0 || nroots >= (1<<symsize))
234 * stack. Size the buffers to arrays of [nroots + 1].
236 bsize = sizeof(uint16_t) * RS_DECODE_NUM_BUFFERS * (nroots + 1);
257 if (nroots != cd->nroots)
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp);
285 * @nroots: RS code generator polynomial degree (number of roots)
289 int nroots, gfp_t gfp)
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp);
305 * @nroots: RS code generator polynomial degree (number of roots)
308 int fcr, int prim, int nroots)
310 return init_rs_internal(symsize, 0, gffunc, fcr, prim, nroots,