Home
last modified time | relevance | path

Searched refs:errorType (Results 1 – 11 of 11) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Derror_logging_utils.cpp56 ErrorType errorType{}; in logError() local
63 errorType = ErrorType::configFile; in logError()
64 if (!history.wasLogged(errorType)) in logError()
72 errorType = ErrorType::pmbus; in logError()
73 if (!history.wasLogged(errorType)) in logError()
82 if (!history.wasLogged(errorType)) in logError()
91 errorType = ErrorType::i2c; in logError()
92 if (!history.wasLogged(errorType)) in logError()
101 errorType = ErrorType::dbus; in logError()
110 errorType = ErrorType::internal; in logError()
[all …]
H A Dphase_fault.hpp65 ErrorType errorType{ErrorType::phaseFaultN}; in toErrorType() local
69 errorType = ErrorType::phaseFaultN; in toErrorType()
72 errorType = ErrorType::phaseFaultNPlus1; in toErrorType()
75 return errorType; in toErrorType()
H A Derror_history.hpp79 void setWasLogged(ErrorType errorType, bool wasLogged) in setWasLogged() argument
82 history[static_cast<int>(errorType)] = wasLogged; in setWasLogged()
91 bool wasLogged(ErrorType errorType) const in wasLogged()
94 return history[static_cast<int>(errorType)]; in wasLogged()
H A Dphase_fault_detection.cpp92 ErrorType errorType = toErrorType(faultType); in checkForPhaseFault() local
95 if (!errorHistory.wasLogged(errorType)) in checkForPhaseFault()
122 errorHistory.setWasLogged(errorType, true); in checkForPhaseFault()
/openbmc/phosphor-debug-collector/
H A Ddump_utils.hpp359 std::string errorType = extractParameter<std::string>( in getErrorDumpType() local
362 if (!isErrorTypeValid(errorType)) in getErrorDumpType()
365 "ERROR_TYPE", errorType); in getErrorDumpType()
367 Argument::ARGUMENT_VALUE(errorType.c_str())); in getErrorDumpType()
369 auto type = stringToDumpType(errorType); in getErrorDumpType()
H A Ddump_types.mako.cpp110 bool isErrorTypeValid(const std::string& errorType) in isErrorTypeValid() argument
112 const auto it = errorMap.find(errorType); in isErrorTypeValid()
H A Delog_watch.cpp119 auto errorType = etype.value(); in addCallback() local
133 CreateParameters::ErrorType)] = errorType; in addCallback()
H A Ddump_types.mako.hpp106 bool isErrorTypeValid(const std::string& errorType);
/openbmc/phosphor-dbus-monitor/src/
H A Delog.hpp140 template <typename errorType, typename metadataType, typename propertyType>
168 phosphor::logging::report<errorType>(metadataType(data.c_str())); in operator ()()
/openbmc/u-boot/lib/lzma/
H A DTypes.h128 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
169 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType);
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsrc.cpp474 uint8_t errorType = strtoul(as.substr(0, 2).c_str(), nullptr, 16); in isBMCSRC() local
475 return (errorType == static_cast<uint8_t>(SRCType::bmcError) || in isBMCSRC()
476 errorType == static_cast<uint8_t>(SRCType::powerError)); in isBMCSRC()
486 uint8_t errorType = strtoul(as.substr(0, 2).c_str(), nullptr, 16); in isHostbootSRC() local
487 return errorType == static_cast<uint8_t>(SRCType::hostbootError); in isHostbootSRC()