Lines Matching refs:stored_crc
2320 u32 stored_crc; in bnxt_flash_firmware() local
2376 stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - in bnxt_flash_firmware()
2377 sizeof(stored_crc))); in bnxt_flash_firmware()
2378 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_firmware()
2379 if (calculated_crc != stored_crc) { in bnxt_flash_firmware()
2381 (unsigned long)stored_crc, in bnxt_flash_firmware()
2400 u32 stored_crc; in bnxt_flash_microcode() local
2428 stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - in bnxt_flash_microcode()
2429 sizeof(stored_crc))); in bnxt_flash_microcode()
2430 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_microcode()
2431 if (calculated_crc != stored_crc) { in bnxt_flash_microcode()
2434 (unsigned long)stored_crc, in bnxt_flash_microcode()