Searched refs:discr_r (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/lib/reed_solomon/ |
D | decode_rs.c | 29 uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; variable 126 discr_r = 0; 129 discr_r ^= 135 discr_r = index_of[discr_r]; /* Index form */ 136 if (discr_r == nn) { 146 alpha_to[rs_modnn(rs, discr_r + 160 - discr_r + nn);
|
/linux-3.4.99/drivers/mtd/devices/ |
D | docecc.c | 191 gf u,q,tmp,num1,num2,den,discr_r; in eras_dec_rs() local 292 discr_r = 0; in eras_dec_rs() 295 discr_r ^= Alpha_to[modnn(Index_of[lambda[i]] + s[r - i])]; in eras_dec_rs() 298 discr_r = Index_of[discr_r]; /* Index form */ in eras_dec_rs() 299 if (discr_r == A0) { in eras_dec_rs() 308 t[i+1] = lambda[i+1] ^ Alpha_to[modnn(discr_r + b[i])]; in eras_dec_rs() 319 b[i] = (lambda[i] == 0) ? A0 : modnn(Index_of[lambda[i]] - discr_r + NN); in eras_dec_rs()
|