Home
last modified time | relevance | path

Searched refs:inventoryPath (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp100 std::string getVersion(const std::string& inventoryPath);
108 std::string getModel(const std::string& inventoryPath);
158 virtual std::string getVersion(const std::string& inventoryPath) const = 0;
160 virtual std::string getModel(const std::string& inventoryPath) const = 0;
198 std::string getVersion(const std::string& inventoryPath) const override;
200 std::string getModel(const std::string& inventoryPath) const override;
235 inline std::string getVersion(const std::string& inventoryPath) in getVersion() argument
237 return getUtils().getVersion(inventoryPath); in getVersion()
240 inline std::string getModel(const std::string& inventoryPath) in getModel() argument
242 return getUtils().getModel(inventoryPath); in getModel()
H A Dutils.cpp180 std::string Utils::getVersion(const std::string& inventoryPath) const in getVersion()
188 auto [rc, output] = internal::exec(PSU_VERSION_UTIL, inventoryPath); in getVersion()
197 "PSU", inventoryPath, "ERROR", e); in getVersion()
202 std::string Utils::getModel(const std::string& inventoryPath) const in getModel()
210 auto [rc, output] = internal::exec(PSU_MODEL_UTIL, inventoryPath); in getModel()
219 inventoryPath, "ERROR", e); in getModel()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dvpd.cpp25 std::vector<uint8_t> DBusVPD::getValue(const std::string& inventoryPath, in getValue() argument
31 KeywordMap& cachedKeywords = cache[inventoryPath]; in getValue()
43 getDBusProperty(inventoryPath, keyword, value); in getValue()
52 void DBusVPD::getDBusProperty(const std::string& inventoryPath, in getDBusProperty() argument
66 util::getProperty("com.ibm.ipzvpd.VINI", property, inventoryPath, in getDBusProperty()
73 util::getProperty(ASSET_IFACE, property, inventoryPath, in getDBusProperty()
H A Dwrite_verification_error.hpp53 const std::string& inventoryPath) : in WriteVerificationError() argument
55 inventoryPath{inventoryPath}
75 return inventoryPath; in getInventoryPath()
102 const std::string inventoryPath{}; member in phosphor::power::regulators::WriteVerificationError
H A Dpmbus_error.hpp49 const std::string& inventoryPath) : in PMBusError() argument
51 inventoryPath{inventoryPath}
71 return inventoryPath; in getInventoryPath()
98 const std::string inventoryPath{}; member in phosphor::power::regulators::PMBusError
H A Dchassis.hpp69 explicit Chassis(unsigned int number, const std::string& inventoryPath, in Chassis() argument
72 number{number}, inventoryPath{inventoryPath},
152 return inventoryPath; in getInventoryPath()
188 const std::string inventoryPath{}; member in phosphor::power::regulators::Chassis
H A Dpresence_service.cpp25 bool DBusPresenceService::isPresent(const std::string& inventoryPath) in isPresent() argument
31 auto it = cache.find(inventoryPath); in isPresent()
41 util::getProperty(INVENTORY_IFACE, PRESENT_PROP, inventoryPath, in isPresent()
59 cache[inventoryPath] = present; in isPresent()
H A Derror_logging.hpp115 const std::string& inventoryPath,
130 const std::string& inventoryPath) = 0;
145 const std::string& inventoryPath) = 0;
190 const std::string& inventoryPath,
195 const std::string& inventoryPath) override;
200 const std::string& inventoryPath) override;
H A Derror_logging.cpp91 const std::string& inventoryPath, in logPhaseFault() argument
98 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logPhaseFault()
103 const std::string& inventoryPath) in logPMBusError() argument
106 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logPMBusError()
112 Entry::Level severity, Journal& journal, const std::string& inventoryPath) in logWriteVerificationError() argument
115 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logWriteVerificationError()
H A Dvpd.hpp66 virtual std::vector<uint8_t> getValue(const std::string& inventoryPath,
100 virtual std::vector<uint8_t> getValue(const std::string& inventoryPath,
115 void getDBusProperty(const std::string& inventoryPath,
H A Dpresence_service.hpp62 virtual bool isPresent(const std::string& inventoryPath) = 0;
95 virtual bool isPresent(const std::string& inventoryPath) override;
H A Dphase_fault_detection.cpp136 const std::string& inventoryPath = regulator.getFRU(); in logPhaseFault() local
139 errorLogging.logPhaseFault(severity, journal, faultType, inventoryPath, in logPhaseFault()
/openbmc/witherspoon-pfault-analysis/power-supply/
H A Dpower_supply.cpp76 inventoryPath(INVENTORY_OBJ_PATH + invpath), bus(bus), presentInterval(p), in PowerSupply()
101 resolveError(inventoryPath,
111 bus, match::rules::propertiesChanged(inventoryPath, INVENTORY_IFACE),
222 util::getProperty(INVENTORY_IFACE, PRESENT_PROP, inventoryPath, service, in updatePresence()
314 entry("POWERSUPPLY=%s", inventoryPath.c_str())); in checkInputFault()
316 resolveError(inventoryPath, in checkInputFault()
345 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkInputFault()
393 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkPGOrUnitOffFault()
432 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkCurrentOutOverCurrentFault()
473 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkOutputOvervoltageFault()
[all …]
/openbmc/phosphor-power/phosphor-power-supply/
H A Dpower_supply.cpp31 bus(bus), inventoryPath(invpath), in PowerSupply()
35 if (inventoryPath.empty()) in PowerSupply()
45 shortName = findShortName(inventoryPath); in PowerSupply()
77 sdbusplus::bus::match::rules::propertiesChanged(inventoryPath, in PowerSupply()
84 sdbusplus::bus::match::rules::argNpath(0, inventoryPath), in PowerSupply()
168 present = getPresence(bus, inventoryPath); in updatePresence()
176 inventoryPath) in updatePresence()
209 auto invpath = inventoryPath.substr(strlen(INVENTORY_OBJ_PATH)); in updatePresenceGPIO()
762 std::format("clearFaults() inventoryPath: {}", inventoryPath).c_str()); in clearFaults()
830 if (path == inventoryPath) in inventoryAdded()
[all …]
/openbmc/phosphor-power/power-supply/
H A Dpower_supply.cpp53 inventoryPath(INVENTORY_OBJ_PATH + invpath), bus(bus), presentInterval(p), in PowerSupply()
80 resolveError(inventoryPath,
90 bus, match::rules::propertiesChanged(inventoryPath, INVENTORY_IFACE),
216 util::getProperty(INVENTORY_IFACE, PRESENT_PROP, inventoryPath, service, in updatePresence()
284 entry("POWERSUPPLY=%s", inventoryPath.c_str())); in checkInputFault()
286 resolveError(inventoryPath, in checkInputFault()
315 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkInputFault()
363 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkPGOrUnitOffFault()
402 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkCurrentOutOverCurrentFault()
443 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkOutputOvervoltageFault()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dservices.cpp60 bool BMCServices::isPresent(const std::string& inventoryPath) in isPresent() argument
66 auto it = presenceCache.find(inventoryPath); in isPresent()
76 util::getProperty(INVENTORY_IFACE, PRESENT_PROP, inventoryPath, in isPresent()
94 presenceCache[inventoryPath] = present; in isPresent()
H A Drail.cpp37 const std::string& inventoryPath = *presence; in isPresent() local
40 present = services.isPresent(inventoryPath); in isPresent()
46 name, inventoryPath, e.what())}; in isPresent()
H A Dservices.hpp101 virtual bool isPresent(const std::string& inventoryPath) = 0;
191 virtual bool isPresent(const std::string& inventoryPath) override;
/openbmc/ibm-logging/
H A Dcallout.cpp66 std::string inventoryPath; in load() local
73 archive(id, timestamp, inventoryPath, build, mfgr, model, pn, sn); in load()
77 callout.path(inventoryPath); in load()
92 const std::string& inventoryPath, size_t id, in Callout() argument
97 path(inventoryPath); in Callout()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dmock_error_logging.hpp58 const std::string& inventoryPath,
64 const std::string& inventoryPath),
69 const std::string& inventoryPath),
/openbmc/pldm/platform-mc/test/
H A Dnumeric_sensor_test.cpp93 std::string inventoryPath{ in TEST() local
96 sensorName, inventoryPath); in TEST()
187 std::string inventoryPath{ in TEST() local
190 sensorName, inventoryPath); in TEST()
/openbmc/phosphor-led-manager/fault-monitor/
H A Doperational-status-monitor.cpp59 Monitor::getLedGroupPaths(const std::string& inventoryPath) in getLedGroupPaths() argument
62 std::string faultLedAssociation = inventoryPath + "/fault_identifying"; in getLedGroupPaths()
H A Dfru-fault-monitor.hpp48 inventoryPath(path), in Remove()
57 std::string inventoryPath; member in phosphor::led::fru::fault::monitor::Remove
/openbmc/pldm/platform-mc/
H A Dterminus.cpp103 inventoryPath = "/xyz/openbmc_project/inventory/system/board/" + tName; in createInventoryPath()
108 utils::DBusHandler::getBus(), inventoryPath.c_str()); in createInventoryPath()
115 "PATH", inventoryPath); in createInventoryPath()
224 tid, "PATH", inventoryPath); in parseTerminusPDRs()
447 tid, true, pdr, sensorName, inventoryPath); in addNumericSensor()
553 tid, true, pdr, sensorName, inventoryPath); in addCompactNumericSensor()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.hpp348 const std::string& inventoryPath, std::string& fruPartNumber,
359 const std::string& inventoryPath) const = 0;
777 void getHWCalloutFields(const std::string& inventoryPath,
792 const std::string& inventoryPath) const override;

123