Searched refs:mod_s (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | bch.c | 336 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() function 365 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul() 371 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr() 377 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div() 398 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog() 590 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ in find_affine4_roots() 591 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0); in find_affine4_roots() 619 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots() 773 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep() 802 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod() [all …]
|