| /openbmc/phosphor-power/phosphor-power-sequencer/test/ |
| H A D | chassis_tests.cpp | 63 std::string inventoryPath{"/xyz/openbmc_project/inventory/system/chassis"}; in TEST() local 66 Chassis chassis{number, inventoryPath, std::move(powerSequencers)}; in TEST() 69 EXPECT_EQ(chassis.getInventoryPath(), inventoryPath); in TEST() 80 std::string inventoryPath{"/xyz/openbmc_project/inventory/system/chassis2"}; in TEST() local 82 Chassis chassis{number, inventoryPath, std::move(powerSequencers)}; in TEST() 92 std::string inventoryPath{ in TEST() local 95 Chassis chassis{number, inventoryPath, std::move(powerSequencers)}; in TEST() 97 EXPECT_EQ(chassis.getInventoryPath(), inventoryPath); in TEST() 105 std::string inventoryPath{"/xyz/openbmc_project/inventory/system/chassis2"}; in TEST() local 110 Chassis chassis{number, inventoryPath, std::move(powerSequencers)}; in TEST()
|
| H A D | system_tests.cpp | 40 const std::string& inventoryPath) in createChassis() argument 43 return std::make_unique<Chassis>(number, inventoryPath, in createChassis()
|
| /openbmc/phosphor-power/phosphor-regulators/src/ |
| H A D | write_verification_error.hpp | 53 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 D | pmbus_error.hpp | 49 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 D | vpd.cpp | 25 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 D | chassis.hpp | 69 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 D | presence_service.cpp | 25 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 D | error_logging.hpp | 115 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 D | vpd.hpp | 66 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 D | error_logging.cpp | 91 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 D | presence_service.hpp | 62 virtual bool isPresent(const std::string& inventoryPath) = 0; 95 virtual bool isPresent(const std::string& inventoryPath) override;
|
| /openbmc/phosphor-power/phosphor-power-sequencer/src/ |
| H A D | chassis.hpp | 58 size_t number, const std::string& inventoryPath, in Chassis() argument 60 number{number}, inventoryPath{inventoryPath}, in Chassis() 81 return inventoryPath; in getInventoryPath() 107 std::string inventoryPath{}; member in phosphor::power::sequencer::Chassis
|
| H A D | services.cpp | 60 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()
|
| /openbmc/phosphor-psu-code-mgmt/src/ |
| H A D | utils.hpp | 100 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 D | utils.cpp | 179 std::string Utils::getVersion(const std::string& inventoryPath) const in getVersion() 187 auto [rc, output] = internal::exec(PSU_VERSION_UTIL, inventoryPath); in getVersion() 196 "PSU", inventoryPath, "ERROR", e); in getVersion() 201 std::string Utils::getModel(const std::string& inventoryPath) const in getModel() 209 auto [rc, output] = internal::exec(PSU_MODEL_UTIL, inventoryPath); in getModel() 218 inventoryPath, "ERROR", e); in getModel()
|
| /openbmc/witherspoon-pfault-analysis/power-supply/ |
| H A D | power_supply.cpp | 76 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-regulators/test/ |
| H A D | mock_error_logging.hpp | 58 const std::string& inventoryPath, 64 const std::string& inventoryPath), 69 const std::string& inventoryPath),
|
| /openbmc/phosphor-power/power-supply/ |
| H A D | power_supply.cpp | 53 inventoryPath(INVENTORY_OBJ_PATH + invpath), bus(bus), presentInterval(p), in PowerSupply() 80 resolveError(inventoryPath, 90 bus, match::rules::propertiesChanged(inventoryPath, INVENTORY_IFACE), 215 util::getProperty(INVENTORY_IFACE, PRESENT_PROP, inventoryPath, service, in updatePresence() 283 "POWERSUPPLY", inventoryPath); in checkInputFault() 285 resolveError(inventoryPath, in checkInputFault() 314 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkInputFault() 362 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkPGOrUnitOffFault() 401 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkCurrentOutOverCurrentFault() 442 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkOutputOvervoltageFault() [all …]
|
| /openbmc/phosphor-power/phosphor-power-supply/ |
| H A D | new_power_supply.cpp | 32 bus(bus), inventoryPath(invpath), in PowerSupply() 36 if (inventoryPath.empty()) in PowerSupply() 46 shortName = findShortName(inventoryPath); in PowerSupply() 78 sdbusplus::bus::match::rules::propertiesChanged(inventoryPath, in PowerSupply() 85 sdbusplus::bus::match::rules::argNpath(0, inventoryPath), in PowerSupply() 178 present = getPresence(bus, inventoryPath); in updatePresence() 185 "INVENTORY_PATH", inventoryPath); in updatePresence() 216 auto invpath = inventoryPath.substr(strlen(INVENTORY_OBJ_PATH)); in updatePresenceGPIO() 786 "INVENTORY_PATH", inventoryPath); in clearFaults() 854 if (path == inventoryPath) in inventoryAdded() [all …]
|
| H A D | power_supply.cpp | 31 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() 163 present = getPresence(bus, inventoryPath); in updatePresence() 170 "INVENTORY_PATH", inventoryPath); in updatePresence() 201 auto invpath = inventoryPath.substr(strlen(INVENTORY_OBJ_PATH)); in updatePresenceGPIO() 771 "INVENTORY_PATH", inventoryPath); in clearFaults() 839 if (path == inventoryPath) in inventoryAdded() [all …]
|
| /openbmc/ibm-logging/ |
| H A D | callout.cpp | 66 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/pldm/fw-update/ |
| H A D | firmware_inventory_manager.cpp | 37 const auto inventoryPath = getInventoryPath(eid); in createFirmwareEntry() local 38 if (inventoryPath) in createFirmwareEntry() 40 boardPath = getBoardPath(*dbusHandler, *inventoryPath); in createFirmwareEntry()
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | numeric_sensor_test.cpp | 93 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 D | operational-status-monitor.cpp | 59 const std::string& inventoryPath) in getLedGroupPaths() argument 62 std::string faultLedAssociation = inventoryPath + "/fault_identifying"; in getLedGroupPaths()
|
| H A D | fru-fault-monitor.hpp | 48 inventoryPath(path), in Remove() 57 std::string inventoryPath; member in phosphor::led::fru::fault::monitor::Remove
|