Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dbch.c92 #define GF_M(_p) (CONFIG_BCH_CONST_M) macro
96 #define GF_M(_p) ((_p)->m) macro
102 #define BCH_ECC_BYTES(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 8)
307 v = (v & n) + (v >> GF_M(bch)); in modulo()
481 const int m = GF_M(bch); in solve_linear_system()
559 const int m = GF_M(bch); in find_affine4_roots()
845 const int m = GF_M(bch); in compute_trace_bk_mod()
943 if (poly->deg && (k <= GF_M(bch))) { in find_poly_roots()
1102 if (k != (1u << GF_M(bch))) in build_gf_tables()
1160 const int m = GF_M(bch); in build_deg2_base()
[all …]
/openbmc/linux/lib/
H A Dbch.c79 #define GF_M(_p) (CONFIG_BCH_CONST_M) macro
85 #define GF_M(_p) ((_p)->m) macro
93 #define BCH_ECC_BYTES(_p) DIV_ROUND_UP(GF_M(_p)*GF_T(_p), 8)
294 v = (v & n) + (v >> GF_M(bch)); in modulo()
468 const int m = GF_M(bch); in solve_linear_system()
546 const int m = GF_M(bch); in find_affine4_roots()
832 const int m = GF_M(bch); in compute_trace_bk_mod()
930 if (poly->deg && (k <= GF_M(bch))) { in find_poly_roots()
1092 if (k != (1u << GF_M(bch))) in build_gf_tables()
1150 const int m = GF_M(bch); in build_deg2_base()
[all …]