Lines Matching defs:checksum

2335  *  checksum
2337 * @offset: offset in words of the checksum protected region
2339 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM
2345 u16 checksum = 0;
2356 checksum += nvm_data;
2359 if (checksum != (u16) NVM_SUM) {
2371 * checksum
2373 * @offset: offset in words of the checksum protected region
2375 * Updates the EEPROM checksum by reading/adding each word of the EEPROM
2376 * up to the checksum. Then calculates the EEPROM checksum and writes the
2382 u16 checksum = 0;
2390 DEBUGOUT("NVM Read Error while updating checksum.\n");
2393 checksum += nvm_data;
2395 checksum = (u16) NVM_SUM - checksum;
2397 &checksum);
2399 DEBUGOUT("NVM Write Error while updating checksum.\n");
2406 * e1000_validate_nvm_checksum_82580 - Validate EEPROM checksum
2409 * Calculates the EEPROM section checksum by reading/adding each word of
2447 * e1000_update_nvm_checksum_82580 - Update EEPROM checksum
2451 * each word of the EEPROM up to the checksum. Then calculates the EEPROM
2452 * checksum and writes the value to the EEPROM.
2464 DEBUGOUT("NVM Read Error while updating checksum compatibility bit.\n");
2474 DEBUGOUT("NVM Write Error while updating checksum compatibility bit.\n");
2491 * e1000_validate_nvm_checksum_i350 - Validate EEPROM checksum
2494 * Calculates the EEPROM section checksum by reading/adding each word of
2519 * e1000_update_nvm_checksum_i350 - Update EEPROM checksum
2523 * each word of the EEPROM up to the checksum. Then calculates the EEPROM
2524 * checksum and writes the value to the EEPROM.