Home
last modified time | relevance | path

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

/Linux-v6.6/lib/
Dbch.c331 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 …]
/Linux-v6.6/include/linux/
Dbch.h46 uint16_t *a_log_tab; member