Lines Matching refs:mod_s
336 static inline int mod_s(struct bch_control *bch, unsigned int v)
365 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+
371 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0;
377 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+
398 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]);
590 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^
591 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0);
619 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+
773 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1;
802 c[p] ^= bch->a_pow_tab[mod_s(bch,
1257 r = mod_s(bch, 2*r);