Lines Matching refs:Index_of
136 generate_gf(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1]) in generate_gf()
144 Index_of[Alpha_to[i]] = i; in generate_gf()
150 Index_of[Alpha_to[MM]] = MM; in generate_gf()
162 Index_of[Alpha_to[i]] = i; in generate_gf()
164 Index_of[0] = A0; in generate_gf()
190 eras_dec_rs(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1], in eras_dec_rs()
221 tmp = Index_of[bb[j]]; in eras_dec_rs()
231 tmp = Index_of[s[i]]; in eras_dec_rs()
246 tmp = Index_of[lambda[j - 1]]; in eras_dec_rs()
257 reg[i] = Index_of[lambda[i]]; in eras_dec_rs()
287 b[i] = Index_of[lambda[i]]; in eras_dec_rs()
300 discr_r ^= Alpha_to[modnn(Index_of[lambda[i]] + s[r - i])]; in eras_dec_rs()
303 discr_r = Index_of[discr_r]; /* Index form */ in eras_dec_rs()
324 b[i] = (lambda[i] == 0) ? A0 : modnn(Index_of[lambda[i]] - discr_r + NN); in eras_dec_rs()
337 lambda[i] = Index_of[lambda[i]]; in eras_dec_rs()
388 omega[i] = Index_of[tmp]; in eras_dec_rs()
420 eras_val[j] = Alpha_to[modnn(Index_of[num1] + Index_of[num2] + NN - Index_of[den])]; in eras_dec_rs()
450 dtype *Alpha_to, *Index_of; in doc_decode_ecc() local
457 Index_of = kmalloc((NN + 1) * sizeof(dtype), GFP_KERNEL); in doc_decode_ecc()
458 if (!Index_of) { in doc_decode_ecc()
463 generate_gf(Alpha_to, Index_of); in doc_decode_ecc()
472 nb_errors = eras_dec_rs(Alpha_to, Index_of, bb, in doc_decode_ecc()
518 kfree(Index_of); in doc_decode_ecc()