Searched refs:mod_s (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/lib/ |
D | bch.c | 302 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() function 331 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ 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() 364 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog() 553 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ in find_affine4_roots() 554 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0); in find_affine4_roots() 582 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots() 736 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep() 765 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod() [all …]
|