Home
last modified time | relevance | path

Searched refs:gf_poly (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/
H A Dbch.c104 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()
[all …]
/openbmc/u-boot/lib/
H A Dbch.c111 struct gf_poly { struct
117 #define GF_POLY_SZ(_d) (sizeof(struct gf_poly)+((_d)+1)*sizeof(unsigned int)) argument
121 struct gf_poly poly;
417 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy()
428 struct gf_poly *elp = bch->elp; in compute_error_locator_polynomial()
429 struct gf_poly *pelp = bch->poly_2t[0]; in compute_error_locator_polynomial()
430 struct gf_poly *elp_copy = bch->poly_2t[1]; in compute_error_locator_polynomial()
591 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots()
606 static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg2_roots()
648 static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg3_roots()
[all …]
/openbmc/u-boot/include/linux/
H A Dbch.h52 struct gf_poly *elp;
53 struct gf_poly *poly_2t[4];
/openbmc/linux/include/linux/
H A Dbch.h53 struct gf_poly *elp;
54 struct gf_poly *poly_2t[4];