Home
last modified time | relevance | path

Searched refs:psuStatusMap (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp325 if (!psuStatusMap.contains(psuPath)) in addPsuToStatusMap()
327 psuStatusMap[psuPath] = {false, ""}; in addPsuToStatusMap()
340 if (psuStatusMap.contains(psuPath)) in handlePSUPresenceChanged()
342 if (psuStatusMap[psuPath].present) in handlePSUPresenceChanged()
345 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged()
355 psuStatusMap[psuPath].model.clear(); in handlePSUPresenceChanged()
400 if (psuStatusMap.contains(psuPath) && properties.contains(PRESENT)) in onPsuInventoryChanged()
402 psuStatusMap[psuPath].present = std::get<bool>(properties.at(PRESENT)); in onPsuInventoryChanged()
404 if (psuStatusMap[psuPath].present) in onPsuInventoryChanged()
424 psuStatusMap[p].present = utils::getProperty<bool>( in processPSUImage()
[all …]
H A Ditem_updater.hpp297 std::map<std::string, psuStatus> psuStatusMap; member in phosphor::software::updater::ItemUpdater