Lines Matching refs:gf_poly

104 struct gf_poly {  struct
110 #define GF_POLY_SZ(_d) (sizeof(struct gf_poly)+((_d)+1)*sizeof(unsigned int)) argument
114 struct gf_poly poly;
404 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy()
415 struct gf_poly *elp = bch->elp; in compute_error_locator_polynomial()
416 struct gf_poly *pelp = bch->poly_2t[0]; in compute_error_locator_polynomial()
417 struct gf_poly *elp_copy = bch->poly_2t[1]; in compute_error_locator_polynomial()
578 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots()
593 static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg2_roots()
635 static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg3_roots()
668 static int find_poly_deg4_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg4_roots()
733 const struct gf_poly *a, int *rep) in gf_poly_logrep()
745 static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a, in gf_poly_mod()
746 const struct gf_poly *b, int *rep) in gf_poly_mod()
781 static void gf_poly_div(struct bch_control *bch, struct gf_poly *a, in gf_poly_div()
782 const struct gf_poly *b, struct gf_poly *q) in gf_poly_div()
799 static struct gf_poly *gf_poly_gcd(struct bch_control *bch, struct gf_poly *a, in gf_poly_gcd()
800 struct gf_poly *b) in gf_poly_gcd()
802 struct gf_poly *tmp; in gf_poly_gcd()
829 const struct gf_poly *f, struct gf_poly *z, in compute_trace_bk_mod()
830 struct gf_poly *out) in compute_trace_bk_mod()
871 static void factor_polynomial(struct bch_control *bch, int k, struct gf_poly *f, in factor_polynomial()
872 struct gf_poly **g, struct gf_poly **h) in factor_polynomial()
874 struct gf_poly *f2 = bch->poly_2t[0]; in factor_polynomial()
875 struct gf_poly *q = bch->poly_2t[1]; in factor_polynomial()
876 struct gf_poly *tk = bch->poly_2t[2]; in factor_polynomial()
877 struct gf_poly *z = bch->poly_2t[3]; in factor_polynomial()
878 struct gf_poly *gcd; in factor_polynomial()
908 struct gf_poly *poly, unsigned int *roots) in find_poly_roots()
911 struct gf_poly *f1, *f2; in find_poly_roots()
948 struct gf_poly *p, unsigned int *roots) in chien_search()
1205 struct gf_poly *g; in compute_generator_polynomial()