Searched refs:crc_table (Results 1 – 7 of 7) sorted by relevance
75 local unsigned long FAR crc_table[TBLS][256]; variable131 crc_table[0][n] = c; in make_crc_table()138 c = crc_table[0][n]; in make_crc_table()139 crc_table[4][n] = REV(c); in make_crc_table()141 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()142 crc_table[k][n] = c; in make_crc_table()143 crc_table[k + 4][n] = REV(c); in make_crc_table()167 write_table(out, crc_table[0]); in make_crc_table()172 write_table(out, crc_table[k]); in make_crc_table()211 return (const unsigned long FAR *)crc_table; in get_crc_table()[all …]
5 local const unsigned long FAR crc_table[TBLS][256] = variable
77 local unsigned long FAR crc_table[TBLS][256]; variable133 crc_table[0][n] = c; in make_crc_table()140 c = crc_table[0][n]; in make_crc_table()141 crc_table[4][n] = REV(c); in make_crc_table()143 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()144 crc_table[k][n] = c; in make_crc_table()145 crc_table[k + 4][n] = REV(c); in make_crc_table()169 write_table(out, crc_table[0]); in make_crc_table()174 write_table(out, crc_table[k]); in make_crc_table()213 return (const unsigned long FAR *)crc_table; in get_crc_table()[all …]
227 static const uint16 crc_table[] = in ubcsp_calc_crc() local237 crc = (crc >> 4) ^ crc_table[(crc ^ ch) & 0x000f]; in ubcsp_calc_crc()238 crc = (crc >> 4) ^ crc_table[(crc ^ (ch >> 4)) & 0x000f]; in ubcsp_calc_crc()
606 unsigned long crc_table[256];633 crc_table[n] = c;660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
102 static const uint8_t crc_table[256] = { variable144 crc = crc_table[crc ^ data[i]]; in sbc_crc8()