Home
last modified time | relevance | path

Searched refs:elp (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/lib/
H A Dbch.c422 struct gf_poly *elp = bch->elp; in compute_error_locator_polynomial() local
428 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
432 elp->deg = 0; in compute_error_locator_polynomial()
433 elp->c[0] = 1; in compute_error_locator_polynomial()
436 for (i = 0; (i < t) && (elp->deg <= t); i++) { in compute_error_locator_polynomial()
439 gf_poly_copy(elp_copy, elp); in compute_error_locator_polynomial()
445 elp->c[j+k] ^= a_pow(bch, tmp+l); in compute_error_locator_polynomial()
450 if (tmp > elp->deg) { in compute_error_locator_polynomial()
451 elp->deg = tmp; in compute_error_locator_polynomial()
460 for (j = 1; j <= elp->deg; j++) in compute_error_locator_polynomial()
[all …]
/rk3399_rockchip-uboot/include/linux/
H A Dbch.h53 struct gf_poly *elp; member