Searched refs:crc_tab (Results 1 – 3 of 3) sorted by relevance
31 static const uint32_t crc_tab[128] = { in xlnx_efuse_u37_crc() local91 crc = crc_tab[i] ^ r; in xlnx_efuse_u37_crc()99 crc = crc_tab[i << (rshf - 2)] ^ r; in xlnx_efuse_u37_crc()
16 const unsigned short crc_tab[16] = { in ivm_calc_crc() local32 r1 = crc_tab[crc & 0xF]; in ivm_calc_crc()34 crc = crc ^ r1 ^ crc_tab[byte & 0xF]; in ivm_calc_crc()37 r1 = crc_tab[crc & 0xF]; in ivm_calc_crc()39 crc = crc ^ r1 ^ crc_tab[(byte >> 4) & 0xF]; in ivm_calc_crc()
175 unsigned char crc_tab[CRC8_TABLE_SIZE]; member190 static unsigned char ad7280_calc_crc8(unsigned char *crc_tab, unsigned int val) in ad7280_calc_crc8() argument194 crc = crc_tab[val >> 16 & 0xFF]; in ad7280_calc_crc8()195 crc = crc_tab[crc ^ (val >> 8 & 0xFF)]; in ad7280_calc_crc8()202 unsigned char crc = ad7280_calc_crc8(st->crc_tab, val >> 10); in ad7280_check_crc()255 ad7280_calc_crc8(st->crc_tab, reg >> 11)); in ad7280_write()1027 crc8_populate_msb(st->crc_tab, POLYNOM); in ad7280_probe()