Home
last modified time | relevance | path

Searched refs:calc_crc (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_selftest.c90 u32 num_images, i, j, nvm_crc, calc_crc; in qed_selftest_nvram() local
160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram()
161 calc_crc = (__force u32)~cpu_to_be32(calc_crc); in qed_selftest_nvram()
163 "nvm crc 0x%x, calc_crc 0x%x\n", nvm_crc, calc_crc); in qed_selftest_nvram()
165 if (calc_crc != nvm_crc) { in qed_selftest_nvram()
/drivers/input/touchscreen/
Draydium_i2c_ts.c870 u16 calc_crc; in raydium_i2c_irq() local
881 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq()
882 if (unlikely(fw_crc != calc_crc)) { in raydium_i2c_irq()
885 __func__, calc_crc, fw_crc); in raydium_i2c_irq()
/drivers/net/ethernet/broadcom/
Dtg3.c9725 static inline u32 calc_crc(unsigned char *buf, int len) in calc_crc() function
9792 crc = calc_crc(ha->addr, ETH_ALEN); in __tg3_set_rx_mode()
13058 csum = calc_crc((unsigned char *) buf, 0x10); in tg3_test_nvram()
13063 csum = calc_crc((unsigned char *) &buf[0x74/4], 0x88); in tg3_test_nvram()