Searched refs:a_log_tab (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/lib/ |
H A D | bch.c | 331 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul() 332 bch->a_log_tab[b])] : 0; in gf_mul() 337 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr() 343 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div() 344 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div() 349 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv() 359 return bch->a_log_tab[x]; in a_log() 364 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog() 585 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots() 586 bch->a_log_tab[poly->c[1]]); in find_poly_deg1_roots() [all …]
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 344 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul() 345 bch->a_log_tab[b])] : 0; in gf_mul() 350 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr() 356 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div() 357 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div() 362 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv() 372 return bch->a_log_tab[x]; in a_log() 377 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog() 598 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots() 599 bch->a_log_tab[poly->c[1]]); in find_poly_deg1_roots() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | bch.h | 45 uint16_t *a_log_tab; member
|
/openbmc/linux/include/linux/ |
H A D | bch.h | 46 uint16_t *a_log_tab; member
|