Lines Matching refs:stored_crc
3462 u32 stored_crc; in bnxt_flash_firmware() local
3518 stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - in bnxt_flash_firmware()
3519 sizeof(stored_crc))); in bnxt_flash_firmware()
3520 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_firmware()
3521 if (calculated_crc != stored_crc) { in bnxt_flash_firmware()
3523 (unsigned long)stored_crc, in bnxt_flash_firmware()
3542 u32 stored_crc; in bnxt_flash_microcode() local
3570 stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - in bnxt_flash_microcode()
3571 sizeof(stored_crc))); in bnxt_flash_microcode()
3572 calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); in bnxt_flash_microcode()
3573 if (calculated_crc != stored_crc) { in bnxt_flash_microcode()
3576 (unsigned long)stored_crc, in bnxt_flash_microcode()