Searched refs:i_vpdFilePath (Results 1 – 8 of 8) sorted by relevance
| /openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
| H A D | json_utility.hpp | 23 const nlohmann::json& i_parsedConfigJson, const std::string& i_vpdFilePath, 29 const nlohmann::json& i_parsedConfigJson, const std::string& i_vpdFilePath, 35 const std::string& i_vpdFilePath, 41 const nlohmann::json& i_parsedConfigJson, const std::string& i_vpdFilePath, 59 const std::string& i_vpdFilePath, in getVPDOffset() argument 63 if (i_vpdFilePath.empty() || (i_sysCfgJsonObj.empty()) || in getVPDOffset() 70 if (i_sysCfgJsonObj["frus"].contains(i_vpdFilePath)) in getVPDOffset() 72 return i_sysCfgJsonObj["frus"][i_vpdFilePath].at(0).value("offset", 0); in getVPDOffset() 83 if (i_vpdFilePath == i_sysCfgJsonObj["frus"][l_fruPath].at(0).value( in getVPDOffset() 219 const nlohmann::json& i_parsedConfigJson, const std::string& i_vpdFilePath, in executePostFailAction() argument [all …]
|
| H A D | vpd_specific_utility.hpp | 31 * @param[in] i_vpdFilePath - file path of the vpd. 37 inline std::string generateBadVPDFileName(const std::string& i_vpdFilePath, in generateBadVPDFileName() argument 43 if (i_vpdFilePath.empty()) in generateBadVPDFileName() 51 if (i_vpdFilePath.find("i2c") != std::string::npos) in generateBadVPDFileName() 56 if (std::regex_search(i_vpdFilePath, l_match, l_i2cPattern)) in generateBadVPDFileName() 61 else if (i_vpdFilePath.find("spi") != std::string::npos) in generateBadVPDFileName() 65 if (std::regex_search(i_vpdFilePath, l_match, l_spiPattern)) in generateBadVPDFileName() 86 * @param[in] i_vpdFilePath - vpd file path 92 inline int dumpBadVpd(const std::string& i_vpdFilePath, in dumpBadVpd() argument 97 if (i_vpdFilePath in dumpBadVpd() [all...] |
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | worker.cpp | 673 bool Worker::processPreAction(const std::string& i_vpdFilePath, in processPreAction() argument 678 if (i_vpdFilePath.empty() || i_flagToProcess.empty()) in processPreAction() 685 i_vpdFilePath, i_flagToProcess, in processPreAction() 703 m_parsedJson["frus"][i_vpdFilePath].at(0).value("inventoryPath", in processPreAction() 717 "Call to PIM failed for file " + i_vpdFilePath); in processPreAction() 723 "Inventory path is empty in Json for file " + i_vpdFilePath); in processPreAction() 793 types::VPDMapVariant Worker::parseVpdFile(const std::string& i_vpdFilePath) in parseVpdFile() argument 799 if (i_vpdFilePath.empty()) in parseVpdFile() 807 if (jsonUtility::isActionRequired(m_parsedJson, i_vpdFilePath, in parseVpdFile() 811 if (!processPreAction(i_vpdFilePath, "collection", l_errCode)) in parseVpdFile() [all …]
|
| H A D | parser_factory.cpp | 98 const types::BinaryVector& i_vpdVector, const std::string& i_vpdFilePath, in getParser() argument 113 return std::make_shared<IpzVpdParser>(i_vpdVector, i_vpdFilePath, in getParser() 133 "ISDIMM parser selected for VPD path: " + i_vpdFilePath); in getParser()
|
| H A D | parser.cpp | 15 Parser::Parser(const std::string& i_vpdFilePath, nlohmann::json i_parsedJson, in Parser() argument 17 m_vpdFilePath(i_vpdFilePath), m_parsedJson(i_parsedJson), in Parser() 19 m_vpdModeBasedFruPath(i_vpdFilePath), m_logger(Logger::getLoggerInstance()) in Parser()
|
| /openbmc/openpower-vpd-parser/vpd-manager/include/ |
| H A D | worker.hpp | 81 types::VPDMapVariant parseVpdFile(const std::string& i_vpdFilePath); 194 const std::string& i_vpdFilePath); 331 bool processPreAction(const std::string& i_vpdFilePath, 425 bool skipPathForCollection(const std::string& i_vpdFilePath); 458 const std::string& i_vpdFilePath,
|
| H A D | parser_factory.hpp | 48 const std::string& i_vpdFilePath, size_t i_vpdStartOffset);
|
| H A D | parser.hpp | 35 Parser(const std::string& i_vpdFilePath, nlohmann::json i_parsedJson,
|