Lines Matching refs:prim
71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init() argument
85 rs->prim = prim; in codec_init()
129 for(iprim = 1; (iprim % prim) != 0; iprim += rs->nn); in codec_init()
131 rs->iprim = iprim / prim; in codec_init()
135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) { in codec_init()
215 int prim, int nroots, gfp_t gfp) in init_rs_internal() argument
226 if (prim <= 0 || prim >= (1<<symsize)) in init_rs_internal()
255 if (prim != cd->prim) in init_rs_internal()
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp); in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp() argument
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp); in init_rs_gfp()
308 int fcr, int prim, int nroots) in init_rs_non_canonical() argument
310 return init_rs_internal(symsize, 0, gffunc, fcr, prim, nroots, in init_rs_non_canonical()