Home
last modified time | relevance | path

Searched refs:expectedCRC (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/fpga/
H A Dlattice.c22 static unsigned short expectedCRC; variable
169 if (expectedCRC != 0) { in GetByte()
192 expectedCRC = 0; in ispVM()
199 expectedCRC = crc; in ispVM()
249 if (cRetCode == 0 && expectedCRC != 0 && in ispVM()
250 (expectedCRC != g_usCalculatedCRC)) { in ispVM()
251 printf("Expected CRC: 0x%.4X\n", expectedCRC); in ispVM()
/openbmc/phosphor-modbus/rtu/modbus/
H A Dmodbus_message.cpp75 uint16_t expectedCRC = generateCRC(); in validate() local
76 if (expectedCRC != crc) in validate()
78 throw ModbusCRCException(expectedCRC, crc); in validate()
H A Dmodbus_exception.hpp87 explicit ModbusCRCException(uint16_t expectedCRC, uint16_t crc) : in ModbusCRCException() argument
89 "CRC mismatch, expected: " + std::to_string(expectedCRC) + in ModbusCRCException()
/openbmc/phosphor-bmc-code-mgmt/i2c-vr/mps/
H A Dmp297x.cpp445 auto expectedCRC = (configuration->crcUser << 16) | configuration->crcMulti; in checkMTPCRC() local
456 lg2::hex, expectedCRC); in checkMTPCRC()
458 co_return crc == expectedCRC; in checkMTPCRC()