Searched refs:poly (Results 1 – 6 of 6) sorted by relevance
110 unsigned long poly; /* polynomial exclusive-or pattern */ in make_crc_table() local122 poly = 0UL; in make_crc_table()124 poly |= 1UL << (31 - p[n]); in make_crc_table()130 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
92 z_crc_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local104 poly = 0; in make_crc_table()106 poly |= (z_crc_t)1 << (31 - p[n]); in make_crc_table()112 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
94 z_crc_t poly; /* polynomial exclusive-or pattern */ in make_crc_table() local106 poly = 0; in make_crc_table()108 poly |= (z_crc_t)1 << (31 - p[n]); in make_crc_table()114 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
970 for size, poly in SIZES:972 poly = size + poly1007 incr = incr ^ poly1020 self.poly = poly1027 file.write("#define %s_poly %d\n" % (self.name, self.poly))
423 poly = 0xedb88320429 crc = ((crc >> 1) & 0x7FFFFFFF) ^ poly
440 poly = 0xedb88320446 crc = ((crc >> 1) & 0x7FFFFFFF) ^ poly