Home
last modified time | relevance | path

Searched refs:alpha_to (Results 1 – 4 of 4) sorted by relevance

/lib/reed_solomon/
Ddecode_rs.c21 uint16_t *alpha_to = rs->alpha_to; variable
72 alpha_to[rs_modnn(rs, index_of[syn[i]] +
84 alpha_to[rs_modnn(rs, index_of[syn[i]] +
111 lambda[1] = alpha_to[rs_modnn(rs,
119 alpha_to[rs_modnn(rs, u + tmp)];
140 alpha_to[rs_modnn(rs,
156 alpha_to[rs_modnn(rs, discr_r +
205 q ^= alpha_to[reg[j]];
242 alpha_to[rs_modnn(rs, s[i - j] + lambda[j])];
257 num1 ^= alpha_to[rs_modnn(rs, omega[i] +
[all …]
Dencode_rs.c17 uint16_t *alpha_to = rs->alpha_to; variable
33 par[j] ^= alpha_to[rs_modnn(rs, fb +
40 par[nroots - 1] = alpha_to[rs_modnn(rs,
Dreed_solomon.c91 rs->alpha_to = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); in codec_init()
92 if (rs->alpha_to == NULL) in codec_init()
105 rs->alpha_to[rs->nn] = 0; /* alpha**-inf = 0 */ in codec_init()
110 rs->alpha_to[i] = sr; in codec_init()
120 rs->alpha_to[i] = sr; in codec_init()
125 if(sr != rs->alpha_to[0]) in codec_init()
141 rs->alpha_to[rs_modnn(rs, in codec_init()
148 rs->alpha_to[rs_modnn(rs, in codec_init()
162 kfree(rs->alpha_to); in codec_init()
188 kfree(cd->alpha_to); in free_rs()
Dtest_rslib.c233 uint16_t *alpha_to = rs->alpha_to; in compute_syndrome() local
248 alpha_to[rs_modnn(rs, index_of[syn[i]] in compute_syndrome()