Home
last modified time | relevance | path

Searched refs:prim_poly (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/board/ge/common/
H A Dvpd_reader.c17 unsigned int prim_poly; member
25 .prim_poly = 0,
47 static int verify_bch(int ecc_bits, unsigned int prim_poly, u8 *data, in verify_bch() argument
55 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
135 bch_configuration.prim_poly, data, in vpd_reader()
168 bch_configuration.prim_poly, &data[data[LEN]], in vpd_reader()
/openbmc/u-boot/include/linux/
H A Dbch.h56 struct bch_control *init_bch(int m, int t, unsigned int prim_poly);
/openbmc/linux/include/linux/
H A Dbch.h58 struct bch_control *bch_init(int m, int t, unsigned int prim_poly,
/openbmc/u-boot/lib/
H A Dbch.c1294 struct bch_control *init_bch(int m, int t, unsigned int prim_poly) in init_bch() argument
1332 if (prim_poly == 0) in init_bch()
1333 prim_poly = prim_poly_tab[m-min_m]; in init_bch()
1360 err = build_gf_tables(bch, prim_poly); in init_bch()
/openbmc/linux/lib/
H A Dbch.c1285 struct bch_control *bch_init(int m, int t, unsigned int prim_poly, in bch_init() argument
1330 if (prim_poly == 0) in bch_init()
1331 prim_poly = prim_poly_tab[m-min_m]; in bch_init()
1359 err = build_gf_tables(bch, prim_poly); in bch_init()