Searched refs:calculated_crc (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1439 u32 info_crc, config_crc, calculated_crc; in mxt_update_cfg() local 1550 calculated_crc = mxt_calculate_crc(cfg.mem, in mxt_update_cfg() 1554 if (config_crc > 0 && config_crc != calculated_crc) in mxt_update_cfg() 1556 calculated_crc, config_crc); in mxt_update_cfg() 1728 u32 calculated_crc; in mxt_read_info_block() local 1768 calculated_crc = mxt_calculate_crc(id_buf, 0, in mxt_read_info_block() 1775 if ((data->info_crc == 0) || (data->info_crc != calculated_crc)) { in mxt_read_info_block() 1778 calculated_crc, data->info_crc); in mxt_read_info_block()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1810 u32 calculated_crc; in bnxt_flash_firmware() local 1867 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_firmware() 1868 if (calculated_crc != stored_crc) { in bnxt_flash_firmware() 1871 (unsigned long)calculated_crc); in bnxt_flash_firmware() 1888 u32 calculated_crc; in bnxt_flash_microcode() local 1919 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_microcode() 1920 if (calculated_crc != stored_crc) { in bnxt_flash_microcode() 1924 (unsigned long)calculated_crc); in bnxt_flash_microcode()
|