Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/phosphor-power/phosphor-regulators/test/
H A Derror_history_tests.cpp22 TEST(ErrorHistoryTests, ErrorType) in TEST() argument
24 EXPECT_EQ(static_cast<int>(ErrorType::internal), 3); in TEST()
25 EXPECT_EQ(static_cast<int>(ErrorType::numTypes), 8); in TEST()
31 EXPECT_FALSE(history.wasLogged(ErrorType::configFile)); in TEST()
32 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
33 EXPECT_FALSE(history.wasLogged(ErrorType::i2c)); in TEST()
34 EXPECT_FALSE(history.wasLogged(ErrorType::internal)); in TEST()
35 EXPECT_FALSE(history.wasLogged(ErrorType::pmbus)); in TEST()
36 EXPECT_FALSE(history.wasLogged(ErrorType::writeVerification)); in TEST()
37 EXPECT_FALSE(history.wasLogged(ErrorType::phaseFaultN)); in TEST()
[all …]
H A Dphase_fault_tests.cpp25 EXPECT_EQ(toErrorType(PhaseFaultType::n), ErrorType::phaseFaultN); in TEST()
27 ErrorType::phaseFaultNPlus1); in TEST()
/openbmc/telemetry/src/types/
H A Derror_type.hpp12 enum class ErrorType : uint32_t enum
21 struct EnumTraits<ErrorType>
27 std::array{std::make_pair<std::string_view, ErrorType>(
28 "PropertyConflict", ErrorType::propertyConflict)};
30 inline ErrorType toErrorType(std::underlying_type_t<ErrorType> value) in toErrorType()
32 return toEnum<ErrorType, minEnumValue(convDataErrorType), in toErrorType()
36 inline ErrorType toErrorType(const std::string& value) in toErrorType()
41 inline std::string enumToString(ErrorType value) in enumToString()
H A Derror_message.hpp9 ErrorType error;
12 ErrorMessage(ErrorType errorIn, std::string_view arg0In) : in ErrorMessage()
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dexceptions.hpp80 types::ErrorType getErrorType() const in getErrorType()
82 return types::ErrorType::EccCheckFailed; in getErrorType()
115 types::ErrorType getErrorType() const in getErrorType()
117 return types::ErrorType::InvalidVpdMessage; in getErrorType()
160 types::ErrorType getErrorType() const in getErrorType()
162 return types::ErrorType::JsonFailure; in getErrorType()
199 types::ErrorType getErrorType() const in getErrorType()
201 return types::ErrorType::GpioError; in getErrorType()
233 types::ErrorType getErrorType() const in getErrorType()
235 return types::ErrorType::DbusFailure; in getErrorType()
[all …]
H A Dsingle_fab.hpp82 types::ErrorType::InternalFailure, in isP10System()
109 types::ErrorType::InternalFailure, in isP11System()
H A Dtypes.hpp175 enum ErrorType enum
211 using ExceptionInfoVariant = std::variant<std::monostate, ErrorType, std::string>;
216 using InvalidRecordEntry = std::pair<Record,ErrorType>;
230 …std::tuple<types::ErrorType, std::optional<types::SeverityType>, uint8_t, std::optional<std::strin…
H A Dgpio_monitor.hpp120 types::ErrorType::InternalFailure, types::SeverityType::Warning, in GpioMonitor()
H A Dbios_handler.hpp257 types::ErrorType::FirmwareError, types::SeverityType::Warning, in BiosHandler()
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Devent_logger_utility.hpp42 const std::unordered_map<types::ErrorType, std::string> errorMsgMap = {
43 {types::ErrorType::DefaultValue, "com.ibm.VPD.Error.DefaultValue"},
44 {types::ErrorType::UndefinedError, "com.ibm.VPD.Error.UndefinedError"},
45 {types::ErrorType::InvalidVpdMessage, "com.ibm.VPD.Error.InvalidVPD"},
46 {types::ErrorType::VpdMismatch, "com.ibm.VPD.Error.Mismatch"},
47 {types::ErrorType::InvalidEeprom, "com.ibm.VPD.Error.InvalidEepromPath"},
48 {types::ErrorType::EccCheckFailed, "com.ibm.VPD.Error.EccCheckFailed"},
49 {types::ErrorType::JsonFailure, "com.ibm.VPD.Error.InvalidJson"},
50 {types::ErrorType::DbusFailure, "com.ibm.VPD.Error.DbusFailure"},
51 {types::ErrorType::InvalidSystem, "com.ibm.VPD.Error.UnknownSystemType"},
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dphase_fault.hpp63 inline ErrorType toErrorType(PhaseFaultType type) in toErrorType()
65 ErrorType errorType{ErrorType::phaseFaultN}; in toErrorType()
69 errorType = ErrorType::phaseFaultN; in toErrorType()
72 errorType = ErrorType::phaseFaultNPlus1; in toErrorType()
H A Derror_logging_utils.cpp58 ErrorType errorType{}; in logError()
65 errorType = ErrorType::configFile; in logError()
74 errorType = ErrorType::pmbus; in logError()
83 errorType = ErrorType::writeVerification; in logError()
93 errorType = ErrorType::i2c; in logError()
103 errorType = ErrorType::dbus; in logError()
112 errorType = ErrorType::internal; in logError()
121 errorType = ErrorType::internal; in logError()
H A Derror_history.hpp31 enum class ErrorType enum
79 void setWasLogged(ErrorType errorType, bool wasLogged) in setWasLogged()
91 bool wasLogged(ErrorType errorType) const in wasLogged()
108 std::bitset<static_cast<int>(ErrorType::numTypes)> history{};
H A Dphase_fault_detection.cpp91 ErrorType errorType = toErrorType(faultType); in checkForPhaseFault()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dparser.cpp106 types::ErrorType::DbusFailure, in updateVpdKeyword()
267 types::ErrorType::DbusFailure, types::SeverityType::Critical, in updateVpdKeyword()
300 types::ErrorType::InvalidVpdMessage, in updateVpdKeywordOnRedundantPath()
338 types::ErrorType::DbusFailure, in updateVpdKeywordOnHardware()
355 types::ErrorType l_errorType; in updateVpdKeywordOnHardware()
359 l_errorType = types::ErrorType::EccCheckFailed; in updateVpdKeywordOnHardware()
363 l_errorType = types::ErrorType::InvalidVpdMessage; in updateVpdKeywordOnHardware()
378 types::ErrorType::DbusFailure, types::SeverityType::Critical, in updateVpdKeywordOnHardware()
H A Dsingle_fab.cpp153 types::ErrorType::InternalFailure, in updateSystemImValueInVpdToP11Series()
184 types::ErrorType::InvalidSystem, types::SeverityType::Error, in singleFabImOverride()
202 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
220 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
239 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
265 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
281 types::ErrorType::UnknownSystemSettings, in singleFabImOverride()
H A Dipz_parser.cpp77 types::ErrorType::EccCheckFailed, in vhdrEccCheck()
123 types::ErrorType::EccCheckFailed, in vtocEccCheck()
170 types::ErrorType::EccCheckFailed, in recordEccCheck()
847 types::ErrorType::VpdParseError, types::SeverityType::Warning, in processInvalidRecords()
H A Dbackup_restore.cpp433 types::ErrorType::VpdMismatch, types::SeverityType::Warning, in backupAndRestoreIpzVpd()
446 types::ErrorType::DefaultValue, types::SeverityType::Error, in backupAndRestoreIpzVpd()
/openbmc/libcper/sections/
H A Dcper-section-firmware.c41 firmware_error->ErrorType, 3, FIRMWARE_ERROR_RECORD_TYPES_KEYS, in cper_section_firmware_to_ir()
66 section_cper->ErrorType = readable_pair_to_integer( in ir_section_firmware_to_cper()
H A Dcper-section-generic.c69 section_generic->ErrorType, in cper_section_generic_to_ir()
175 section_cper->ErrorType = (UINT8)readable_pair_to_integer(obj); in ir_section_generic_to_cper()
H A Dcper-section-nvidia.c154 json_object_new_int(nvidia_error->ErrorType)); in cper_section_nvidia_to_ir()
220 section_cper->ErrorType = json_object_get_int( in ir_section_nvidia_to_cper()
H A Dcper-section-ia32x64.c179 add_guid(type, "guid", &error_info->ErrorType); in cper_ia32x64_processor_error_info_to_ir()
192 &error_info->ErrorType, gEfiIa32x64ErrorTypeGuids, in cper_ia32x64_processor_error_info_to_ir()
443 ms_check->ErrorType, 4, in cper_ia32x64_ms_check_to_ir()
788 &error_info_cper->ErrorType, in ir_ia32x64_error_info_to_cper()
800 &error_info_cper->ErrorType, gEfiIa32x64ErrorTypeGuids, in ir_ia32x64_error_info_to_cper()
980 check_info_cper->ErrorType = readable_pair_to_integer(obj); in ir_ia32x64_ms_check_error_to_cper()
/openbmc/phosphor-debug-collector/
H A Ddump_types.hpp.mako25 using ErrorType = std::string;
28 using ErrorMap = std::unordered_map<ErrorType, ErrorList>;
120 std::optional<ErrorType> findErrorType(const std::string& errString);
H A Delog_watch.cpp132 CreateParameters::ErrorType)] = errorType; in addCallback()
/openbmc/libcper/include/libcper/
H A DCper.h369 UINT8 ErrorType; member
642 UINT64 ErrorType : 3; member
677 EFI_GUID ErrorType; member
957 UINT8 ErrorType; member
1209 UINT8 ErrorType; member
1397 UINT16 ErrorType; member

12