Searched refs:nroots (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/lib/reed_solomon/ |
H A D | decode_rs.c | 17 int nroots = rs->nroots; variable 42 pad = nn - nroots - len; 47 for (i = 0; i < nroots; i++) { 61 for (i = 0; i < nroots; i++) 65 for (i = 0; i < nroots; i++) { 78 for (j = 0; j < nroots; j++) { 79 for (i = 0; i < nroots; i++) { 93 for (i = 0; i < nroots; i++) { 125 for (i = 0; i < nroots + 1; i++) 289 for (i = 0; i < nroots; i++) { [all …]
|
H A D | test_rslib.c | 41 int nroots; member 110 int nroots = rs->nroots; in alloc_ws() local 125 ws->corr = ws->s + nroots; in alloc_ws() 154 int nroots = rs->codec->nroots; in get_rcw_we() local 157 int dlen = len - nroots; in get_rcw_we() 235 int nroots = rs->nroots; in compute_syndrome() local 323 int nroots = rs->codec->nroots; in ex_rs_helper() local 370 int nroots = rs->codec->nroots; in test_bc() local 371 int dlen = len - nroots; in test_bc() 411 int nroots = rs->codec->nroots; in exercise_rs_bc() local [all …]
|
H A D | encode_rs.c | 16 int nroots = rs->nroots; variable 24 pad = nn - nroots - len; 32 for (j = 1; j < nroots; j++) { 34 genpoly[nroots - j])]; 38 memmove(&par[0], &par[1], sizeof(uint16_t) * (nroots - 1)); 40 par[nroots - 1] = alpha_to[rs_modnn(rs, 43 par[nroots - 1] = 0;
|
H A D | reed_solomon.c | 71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init() argument 86 rs->nroots = nroots; in codec_init() 135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) { in codec_init() 152 for (i = 0; i <= nroots; i++) in codec_init() 215 int prim, int nroots, gfp_t gfp) in init_rs_internal() argument 228 if (nroots < 0 || nroots >= (1<<symsize)) in init_rs_internal() 236 bsize = sizeof(uint16_t) * RS_DECODE_NUM_BUFFERS * (nroots + 1); in init_rs_internal() 257 if (nroots != cd->nroots) in init_rs_internal() 289 int nroots, gfp_t gfp) in init_rs_gfp() argument 308 int fcr, int prim, int nroots) in init_rs_non_canonical() argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | rslib.h | 40 int nroots; member 83 int nroots, gfp_t gfp); 99 int prim, int nroots) in init_rs() argument 101 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs() 105 int fcr, int prim, int nroots);
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 1038 int i, err, nroots; in decode_bch() local 1074 nroots = find_poly_roots(bch, 1, bch->elp, errloc); in decode_bch() 1075 if (err != nroots) in decode_bch()
|
/openbmc/linux/lib/ |
H A D | bch.c | 1025 int i, err, nroots; in bch_decode() local 1061 nroots = find_poly_roots(bch, 1, bch->elp, errloc); in bch_decode() 1062 if (err != nroots) in bch_decode()
|