Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dbch.c117 #define GF_POLY_SZ(_d) (sizeof(struct gf_poly)+((_d)+1)*sizeof(unsigned int)) macro
419 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()
433 memset(pelp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
434 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
854 memset(out, 0, GF_POLY_SZ(f->deg)); in compute_trace_bk_mod()
1218 g = bch_alloc(GF_POLY_SZ(m*t), &err); in compute_generator_polynomial()
1355 bch->poly_2t[i] = bch_alloc(GF_POLY_SZ(2*t), &err); in init_bch()
/openbmc/linux/lib/
H A Dbch.c110 #define GF_POLY_SZ(_d) (sizeof(struct gf_poly)+((_d)+1)*sizeof(unsigned int)) macro
406 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()
420 memset(pelp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
421 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
841 memset(out, 0, GF_POLY_SZ(f->deg)); in compute_trace_bk_mod()
1208 g = bch_alloc(GF_POLY_SZ(m*t), &err); in compute_generator_polynomial()
1354 bch->poly_2t[i] = bch_alloc(GF_POLY_SZ(2*t), &err); in bch_init()