Searched refs:CRC8_TABLE_SIZE (Results 1 – 1 of 1) sorted by relevance
29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() argument37 for (i = 1; i < CRC8_TABLE_SIZE; i *= 2) { in crc8_populate_msb()51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_lsb() argument58 for (i = (CRC8_TABLE_SIZE >> 1); i; i >>= 1) { in crc8_populate_lsb()60 for (j = 0; j < CRC8_TABLE_SIZE; j += 2*i) in crc8_populate_lsb()74 u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc) in crc8() argument