Lines Matching refs:Alpha_to
135 generate_gf(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1])
140 Alpha_to[MM] = 0;
142 Alpha_to[i] = mask;
143 Index_of[Alpha_to[i]] = i;
146 Alpha_to[MM] ^= mask; /* Bit-wise EXOR operation */
149 Index_of[Alpha_to[MM]] = MM;
157 if (Alpha_to[i - 1] >= mask)
158 Alpha_to[i] = Alpha_to[MM] ^ ((Alpha_to[i - 1] ^ mask) << 1);
160 Alpha_to[i] = Alpha_to[i - 1] << 1;
161 Index_of[Alpha_to[i]] = i;
164 Alpha_to[NN] = 0;
189 eras_dec_rs(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1],
223 s[i] ^= Alpha_to[modnn(tmp + (B0+i-1)*PRIM*j)];
241 lambda[1] = Alpha_to[modnn(PRIM * eras_pos[0])];
247 lambda[j] ^= Alpha_to[modnn(u + tmp)];
263 q ^= Alpha_to[reg[j]];
299 discr_r ^= Alpha_to[modnn(Index_of[lambda[i]] + s[r - i])];
312 t[i+1] = lambda[i+1] ^ Alpha_to[modnn(discr_r + b[i])];
351 q ^= Alpha_to[reg[j]];
383 tmp ^= Alpha_to[modnn(s[i + 1 - j] + lambda[j])];
399 num1 ^= Alpha_to[modnn(omega[i] + i * root[j])];
401 num2 = Alpha_to[modnn(root[j] * (B0 - 1) + NN)];
407 den ^= Alpha_to[modnn(lambda[i+1] + i * root[j])];
419 eras_val[j] = Alpha_to[modnn(Index_of[num1] + Index_of[num2] + NN - Index_of[den])];
449 dtype *Alpha_to, *Index_of;
452 Alpha_to = kmalloc((NN + 1) * sizeof(dtype), GFP_KERNEL);
453 if (!Alpha_to)
458 kfree(Alpha_to);
462 generate_gf(Alpha_to, Index_of);
471 nb_errors = eras_dec_rs(Alpha_to, Index_of, bb,
516 kfree(Alpha_to);