Home
last modified time | relevance | path

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

/lib/
Dbch.c113 struct gf_poly poly; member
342 static inline int deg(unsigned int poly) in deg() argument
345 return fls(poly)-1; in deg()
409 uint32_t poly; in compute_syndromes() local
422 poly = *ecc++; in compute_syndromes()
424 while (poly) { in compute_syndromes()
425 i = deg(poly); in compute_syndromes()
429 poly ^= (1 << i); in compute_syndromes()
612 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots() argument
617 if (poly->c[0]) in find_poly_deg1_roots()
[all …]
/lib/xz/
Dxz_crc32.c32 const uint32_t poly = CRC32_POLY_LE; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()