Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H A Dpbl_crc32.c9 static uint32_t crc_table[256]; variable
35 crc_table[i] = mask; in make_crc_table()
52 crc_table[(crc32_val >> 24) ^ (*buf++ & 0xff)]; in pbl_crc32()
/openbmc/u-boot/lib/
H A Dcrc32.c35 static uint32_t __efi_runtime_data crc_table[256]; variable
81 crc_table[n] = tole(c); in make_crc_table()
90 static const uint32_t __efi_runtime_data crc_table[256] = { variable
167 return (const uint32_t *)crc_table;
185 const uint32_t *tab = crc_table; in crc32_no_comp()
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/drivers/fpga/
H A Divm_core.c2042 unsigned int crc_table[16] = { in ispVMCalculateCRC32() local
2060 usCRCTableEntry = (unsigned short)(crc_table[g_usCalculatedCRC & 0xF]); in ispVMCalculateCRC32()
2063 usCRCTableEntry ^ crc_table[ucFlipData & 0xF]); in ispVMCalculateCRC32()
2064 usCRCTableEntry = (unsigned short)(crc_table[g_usCalculatedCRC & 0xF]); in ispVMCalculateCRC32()
2067 usCRCTableEntry ^ crc_table[(ucFlipData >> 4) & 0xF]); in ispVMCalculateCRC32()