Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 37) 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.hpp138 types::ErrorType::InternalFailure, types::SeverityType::Warning, in GpioMonitor()
H A Dbios_handler.hpp297 types::ErrorType::FirmwareError, types::SeverityType::Warning, in BiosHandler()
/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_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 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 Dphase_fault_detection.cpp91 ErrorType errorType = toErrorType(faultType); in checkForPhaseFault()
/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/openpower-vpd-parser/vpd-manager/src/
H A Dparser.cpp123 types::PelInfoTuple{types::ErrorType::DbusFailure, in updateVpdKeyword()
149 types::PelInfoTuple{types::ErrorType::InternalFailure, in updateVpdKeyword()
211 types::PelInfoTuple{types::ErrorType::InternalFailure, in updateVpdKeyword()
296 types::PelInfoTuple{types::ErrorType::DbusFailure, in updateVpdKeyword()
330 types::PelInfoTuple{types::ErrorType::InvalidVpdMessage, in updateVpdKeywordOnRedundantPath()
371 types::PelInfoTuple{types::ErrorType::DbusFailure, in updateVpdKeywordOnHardware()
386 types::ErrorType l_errorType; in updateVpdKeywordOnHardware()
390 l_errorType = types::ErrorType::EccCheckFailed; in updateVpdKeywordOnHardware()
394 l_errorType = types::ErrorType::InvalidVpdMessage; in updateVpdKeywordOnHardware()
413 types::PelInfoTuple{types::ErrorType::DbusFailure, in updateVpdKeywordOnHardware()
H A Dsingle_fab.cpp155 types::PelInfoTuple{types::ErrorType::InternalFailure, in updateSystemImValueInVpdToP11Series()
189 types::PelInfoTuple{types::ErrorType::InvalidSystem, in singleFabImOverride()
211 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
229 types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
247 types::PelInfoTuple{types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
273 types::PelInfoTuple{types::ErrorType::SystemTypeMismatch, in singleFabImOverride()
290 types::PelInfoTuple{types::ErrorType::UnknownSystemSettings, in singleFabImOverride()
H A Dbios_handler.cpp216 types::PelInfoTuple{types::ErrorType::FirmwareError, in biosAttributesCallback()
409 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveFcoToBios()
477 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveAmmToVpd()
508 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveAmmToBios()
566 types::PelInfoTuple{types::ErrorType::FirmwareError, in processActiveMemoryMirror()
680 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveCreateDefaultLparToBios()
826 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveClearNvramToBios()
967 types::PelInfoTuple{types::ErrorType::FirmwareError, in saveKeepAndClearToBios()
H A Dipz_parser.cpp79 types::PelInfoTuple{types::ErrorType::EccCheckFailed, in vhdrEccCheck()
127 types::PelInfoTuple{types::ErrorType::EccCheckFailed, in vtocEccCheck()
176 types::PelInfoTuple{types::ErrorType::EccCheckFailed, in recordEccCheck()
853 types::ErrorType::VpdParseError, types::SeverityType::Warning, in processInvalidRecords()
/openbmc/libcper/sections/
H A Dcper-section-firmware.c48 firmware_error->ErrorType, 3, FIRMWARE_ERROR_RECORD_TYPES_KEYS, in cper_section_firmware_to_ir()
70 section_cper->ErrorType = readable_pair_to_integer( in ir_section_firmware_to_cper()
H A Dcper-section-generic.c77 section_generic->ErrorType, in cper_section_generic_to_ir()
174 section_cper->ErrorType = (UINT8)readable_pair_to_integer(obj); in ir_section_generic_to_cper()
H A Dcper-section-nvidia.c193 add_int(section_ir, "errorType", nvidia_error->ErrorType); in cper_section_nvidia_to_ir()
251 section_cper->ErrorType = json_object_get_int( in ir_section_nvidia_to_cper()
H A Dcper-section-ia32x64.c185 add_guid(type, "guid", &error_info->ErrorType); in cper_ia32x64_processor_error_info_to_ir()
198 &error_info->ErrorType, gEfiIa32x64ErrorTypeGuids, in cper_ia32x64_processor_error_info_to_ir()
422 ms_check->ErrorType, 4, in cper_ia32x64_bus_check_to_ir()
681 &error_info_cper->ErrorType, in cper_ia32x64_register_64bit_to_ir()
693 &error_info_cper->ErrorType, gEfiIa32x64ErrorTypeGuids, in cper_ia32x64_register_64bit_to_ir()
873 check_info_cper->ErrorType = readable_pair_to_integer(obj); in ir_ia32x64_cache_tlb_check_error_to_cper()
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/
H A Dinventory_backup_handler.cpp121 vpd::types::ErrorType::FirmwareError, in restartInventoryManagerService()
145 vpd::types::PelInfoTuple{vpd::types::ErrorType::FirmwareError,
178 vpd::types::PelInfoTuple{vpd::types::ErrorType::FirmwareError,
/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);
/openbmc/libcper/include/libcper/
H A DCper.h374 UINT8 ErrorType; member
647 UINT64 ErrorType : 3; member
682 EFI_GUID ErrorType; member
965 UINT8 ErrorType; member
1217 UINT8 ErrorType; member
1406 UINT16 ErrorType; member

12