Searched refs:a_log (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/lib/ |
H A D | bch.c | 370 static inline int a_log(struct bch_control *bch, unsigned int x) in a_log() function 447 tmp = a_log(bch, d)+n-a_log(bch, pd); in compute_error_locator_polynomial() 450 l = a_log(bch, pelp->c[j]); in compute_error_locator_polynomial() 562 j = a_log(bch, b); in find_affine4_roots() 563 k = a_log(bch, a); in find_affine4_roots() 703 l = a_log(bch, f); in find_poly_deg4_roots() 748 int i, d = a->deg, l = GF_N(bch)-a_log(bch, a->c[a->deg]); in gf_poly_logrep() 752 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep() 776 la = a_log(bch, c[j]); in gf_poly_mod() 1181 r = a_log(bch, y); in build_deg2_base()
|
/openbmc/linux/lib/ |
H A D | bch.c | 357 static inline int a_log(struct bch_control *bch, unsigned int x) in a_log() function 434 tmp = a_log(bch, d)+n-a_log(bch, pd); in compute_error_locator_polynomial() 437 l = a_log(bch, pelp->c[j]); in compute_error_locator_polynomial() 549 j = a_log(bch, b); in find_affine4_roots() 550 k = a_log(bch, a); in find_affine4_roots() 690 l = a_log(bch, f); in find_poly_deg4_roots() 735 int i, d = a->deg, l = GF_N(bch)-a_log(bch, a->c[a->deg]); in gf_poly_logrep() 739 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep() 763 la = a_log(bch, c[j]); in gf_poly_mod() 1171 r = a_log(bch, y); in build_deg2_base()
|