Lines Matching refs:checksum
310 u16 checksum = 0; in ixgbe_calc_eeprom_checksum_X540() local
329 checksum += word; in ixgbe_calc_eeprom_checksum_X540()
365 checksum += word; in ixgbe_calc_eeprom_checksum_X540()
369 checksum = (u16)IXGBE_EEPROM_SUM - checksum; in ixgbe_calc_eeprom_checksum_X540()
371 return (s32)checksum; in ixgbe_calc_eeprom_checksum_X540()
386 u16 checksum; in ixgbe_validate_eeprom_checksum_X540() local
393 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_X540()
406 checksum = (u16)(status & 0xffff); in ixgbe_validate_eeprom_checksum_X540()
419 if (read_checksum != checksum) { in ixgbe_validate_eeprom_checksum_X540()
426 *checksum_val = checksum; in ixgbe_validate_eeprom_checksum_X540()
445 u16 checksum; in ixgbe_update_eeprom_checksum_X540() local
451 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_update_eeprom_checksum_X540()
464 checksum = (u16)(status & 0xffff); in ixgbe_update_eeprom_checksum_X540()
469 status = ixgbe_write_eewr_generic(hw, IXGBE_EEPROM_CHECKSUM, checksum); in ixgbe_update_eeprom_checksum_X540()