Lines Matching refs:a_pow_tab
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()
383 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv()
388 return bch->a_pow_tab[modulo(bch, i)]; in a_pow()
589 rows[i+1] = bch->a_pow_tab[4*i]^ in find_affine4_roots()
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()
802 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod()
872 z->c[1] = bch->a_pow_tab[k]; in compute_trace_bk_mod()
1130 bch->a_pow_tab[i] = x; in build_gf_tables()
1139 bch->a_pow_tab[GF_N(bch)] = 1; in build_gf_tables()
1194 ak = bch->a_pow_tab[i]; in build_deg2_base()
1266 r = bch->a_pow_tab[i]; in compute_generator_polynomial()
1376 bch->a_pow_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_pow_tab), &err); in bch_init()
1426 kfree(bch->a_pow_tab); in bch_free()