Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dbch.c98 #define GF_N(_p) ((_p)->n) macro
304 const unsigned int n = GF_N(bch); in modulo()
317 const unsigned int n = GF_N(bch); in mod_s()
357 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div()
426 const unsigned int n = GF_N(bch); in compute_error_locator_polynomial()
704 l += (l & 1) ? GF_N(bch) : 0; in find_poly_deg4_roots()
972 for (i = GF_N(bch)-k+1; i <= GF_N(bch); i++) { in chien_search()
980 roots[count++] = GF_N(bch)-i; in chien_search()
1105 for (i = 0; i < GF_N(bch); i++) { in build_gf_tables()
1115 bch->a_pow_tab[GF_N(bch)] = 1; in build_gf_tables()
[all …]
/openbmc/linux/lib/
H A Dbch.c87 #define GF_N(_p) ((_p)->n) macro
291 const unsigned int n = GF_N(bch); in modulo()
304 const unsigned int n = GF_N(bch); in mod_s()
344 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div()
413 const unsigned int n = GF_N(bch); in compute_error_locator_polynomial()
691 l += (l & 1) ? GF_N(bch) : 0; in find_poly_deg4_roots()
959 for (i = GF_N(bch)-k+1; i <= GF_N(bch); i++) { in chien_search()
967 roots[count++] = GF_N(bch)-i; in chien_search()
1095 for (i = 0; i < GF_N(bch); i++) { in build_gf_tables()
1105 bch->a_pow_tab[GF_N(bch)] = 1; in build_gf_tables()
[all …]