Searched refs:eeprom_crc (Results 1 – 1 of 1) sorted by relevance
99 struct tlvinfo_tlv *eeprom_crc; in is_checksum_valid() local108 eeprom_crc = to_entry(&eeprom[HDR_SIZE + in is_checksum_valid()110 if (eeprom_crc->type != TLV_CODE_CRC_32 || eeprom_crc->length != 4) in is_checksum_valid()116 stored_crc = (eeprom_crc->value[0] << 24) | in is_checksum_valid()117 (eeprom_crc->value[1] << 16) | in is_checksum_valid()118 (eeprom_crc->value[2] << 8) | in is_checksum_valid()119 eeprom_crc->value[3]; in is_checksum_valid()358 struct tlvinfo_tlv *eeprom_crc; in update_crc() local371 eeprom_crc = to_entry(&eeprom[eeprom_index]); in update_crc()372 eeprom_crc->type = TLV_CODE_CRC_32; in update_crc()[all …]
Completed in 4 milliseconds