• Home
  • Raw
  • Download

Lines Matching refs:roots

520 			      unsigned int *roots)  in find_affine4_roots()  argument
549 return solve_linear_system(bch, rows, roots, 4); in find_affine4_roots()
556 unsigned int *roots) in find_poly_deg1_roots() argument
562 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots()
571 unsigned int *roots) in find_poly_deg2_roots() argument
600 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots()
602 roots[n++] = modulo(bch, 2*GF_N(bch)-l1- in find_poly_deg2_roots()
613 unsigned int *roots) in find_poly_deg3_roots() argument
635 roots[n++] = a_ilog(bch, tmp[i]); in find_poly_deg3_roots()
646 unsigned int *roots) in find_poly_deg4_roots() argument
695 if (find_affine4_roots(bch, a2, b2, c2, roots) == 4) { in find_poly_deg4_roots()
698 f = a ? gf_inv(bch, roots[i]) : roots[i]; in find_poly_deg4_roots()
699 roots[i] = a_ilog(bch, f^e); in find_poly_deg4_roots()
885 struct gf_poly *poly, unsigned int *roots) in find_poly_roots() argument
893 cnt = find_poly_deg1_roots(bch, poly, roots); in find_poly_roots()
896 cnt = find_poly_deg2_roots(bch, poly, roots); in find_poly_roots()
899 cnt = find_poly_deg3_roots(bch, poly, roots); in find_poly_roots()
902 cnt = find_poly_deg4_roots(bch, poly, roots); in find_poly_roots()
910 cnt += find_poly_roots(bch, k+1, f1, roots); in find_poly_roots()
912 cnt += find_poly_roots(bch, k+1, f2, roots+cnt); in find_poly_roots()
925 struct gf_poly *p, unsigned int *roots) in chien_search() argument
944 roots[count++] = GF_N(bch)-i; in chien_search()
1179 unsigned int i, j, nbits, r, word, *roots; in compute_generator_polynomial() local
1184 roots = bch_alloc((bch->n+1)*sizeof(*roots), &err); in compute_generator_polynomial()
1194 memset(roots , 0, (bch->n+1)*sizeof(*roots)); in compute_generator_polynomial()
1197 roots[r] = 1; in compute_generator_polynomial()
1205 if (roots[i]) { in compute_generator_polynomial()
1233 kfree(roots); in compute_generator_polynomial()