Searched refs:crc_table (Results 1 – 8 of 8) 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
81 local crc_table_t FAR crc_table[TBLS][256]; variable137 crc_table[0][n] = c; in make_crc_table()144 c = crc_table[0][n]; in make_crc_table()145 crc_table[4][n] = REV(c); in make_crc_table()147 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()148 crc_table[k][n] = c; in make_crc_table()149 crc_table[k + 4][n] = REV(c); in make_crc_table()173 write_table(out, crc_table[0]); in make_crc_table()178 write_table(out, crc_table[k]); in make_crc_table()218 return (const unsigned long FAR *)crc_table; in get_crc_table()[all …]
5 local const crc_table_t FAR crc_table[TBLS][256] = variable
128 - Use u4 type for crc_table to avoid conversion warnings
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()