Home
last modified time | relevance | path

Searched refs:crc_table (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/input/keyboard/
H A Dpinephone-keyboard.c149 u8 crc_table[CRC8_TABLE_SIZE]; member
223 crc = crc8(ppkb->crc_table, &new_buf[1], PPKB_COLS, CRC8_INIT_VALUE); in ppkb_update()
391 crc8_populate_msb(ppkb->crc_table, PPKB_CRC8_POLYNOMIAL); in ppkb_probe()
/linux/drivers/bluetooth/
H A Dhci_bcsp.c82 static const u16 crc_table[] = { variable
102 reg = (reg >> 4) ^ crc_table[(reg ^ d) & 0x000f]; in bcsp_crc_update()
103 reg = (reg >> 4) ^ crc_table[(reg ^ (d >> 4)) & 0x000f]; in bcsp_crc_update()