Home
last modified time | relevance | path

Searched refs:calculated_crc (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/iio/pressure/
H A Dsdp500.c47 u8 received_crc, calculated_crc; in sdp500_read_raw() local
64 calculated_crc = crc8(sdp500_crc8_table, rxbuf, in sdp500_read_raw()
66 if (received_crc != calculated_crc) { in sdp500_read_raw()
69 calculated_crc, received_crc); in sdp500_read_raw()
/linux/drivers/net/phy/aquantia/
H A Daquantia_firmware.c152 u16 calculated_crc, read_crc, read_primary_offset; in aqr_fw_boot() local
167 calculated_crc = crc_itu_t(0, data, size - sizeof(u16)); in aqr_fw_boot()
168 if (read_crc != calculated_crc) { in aqr_fw_boot()
170 read_crc, calculated_crc); in aqr_fw_boot()
/linux/lib/pldmfw/
H A Dpldmfw.c517 u32 calculated_crc; in pldm_verify_header_crc() local
525 calculated_crc = crc32_le(~0, data->fw->data, length) ^ ~0; in pldm_verify_header_crc()
527 if (calculated_crc != data->header_crc) { in pldm_verify_header_crc()
529 calculated_crc, data->header_crc); in pldm_verify_header_crc()
/linux/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1552 u32 info_crc, config_crc, calculated_crc; in mxt_update_cfg() local
1663 calculated_crc = mxt_calculate_crc(cfg.mem, in mxt_update_cfg()
1667 if (config_crc > 0 && config_crc != calculated_crc) in mxt_update_cfg()
1669 calculated_crc, config_crc); in mxt_update_cfg()
1861 u32 calculated_crc; in mxt_read_info_block() local
1901 calculated_crc = mxt_calculate_crc(id_buf, 0, in mxt_read_info_block()
1908 if ((data->info_crc == 0) || (data->info_crc != calculated_crc)) { in mxt_read_info_block()
1911 calculated_crc, data->info_crc); in mxt_read_info_block()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3471 u32 calculated_crc; in bnxt_flash_firmware() local
3528 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_firmware()
3529 if (calculated_crc != stored_crc) { in bnxt_flash_firmware()
3532 (unsigned long)calculated_crc); in bnxt_flash_firmware()
3549 u32 calculated_crc; in bnxt_flash_microcode() local
3580 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_microcode()
3581 if (calculated_crc != stored_crc) { in bnxt_flash_microcode()
3585 (unsigned long)calculated_crc); in bnxt_flash_microcode()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c137 u16 calculated_crc = es58x_calculate_crc(urb_cmd, urb_len); in es58x_check_crc() local
140 if (expected_crc != calculated_crc) { in es58x_check_crc()