Home
last modified time | relevance | path

Searched refs:sensorTree (Results 1 – 5 of 5) sorted by relevance

/openbmc/intel-ipmi-oem/include/
H A Dsensorcommands.hpp123 extern SensorSubTree sensorTree;
128 if (!getSensorSubtree(sensorTree) && sensorTree.empty()) in getSensorConnection()
144 for (const auto& sensor : sensorTree) in getSensorConnection()
H A Dsdrutils.hpp284 std::shared_ptr<SensorSubTree> sensorTree; in getSensorNumMap() local
285 uint16_t curSensorUpdatedIndex = details::getSensorSubtree(sensorTree); in getSensorNumMap()
286 if (!sensorTree) in getSensorNumMap()
302 for (const auto& sensor : *sensorTree) in getSensorNumMap()
331 std::shared_ptr<SensorSubTree> sensorTree; in getSensorSubtree() local
332 details::getSensorSubtree(sensorTree); in getSensorSubtree()
333 if (!sensorTree) in getSensorSubtree()
338 subtree = *sensorTree; in getSensorSubtree()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsdrutils.cpp229 std::shared_ptr<SensorSubTree> sensorTree; in getSensorNumMap() local
230 uint16_t curSensorUpdatedIndex = details::getSensorSubtree(sensorTree); in getSensorNumMap()
231 if (!sensorTree) in getSensorNumMap()
247 for (const auto& sensor : *sensorTree) in getSensorNumMap()
276 std::shared_ptr<SensorSubTree> sensorTree; in getSensorSubtree() local
277 details::getSensorSubtree(sensorTree); in getSensorSubtree()
278 if (!sensorTree) in getSensorSubtree()
283 subtree = *sensorTree; in getSensorSubtree()
H A Dsensorcommands.cpp161 auto& sensorTree = getSensorTree(); in getSensorConnection() local
162 if (!getSensorSubtree(sensorTree) && sensorTree.empty()) in getSensorConnection()
178 for (const auto& sensor : sensorTree) in getSensorConnection()
194 static SensorSubTree sensorTree; in getSensorTree() local
195 return sensorTree; in getSensorTree()
2291 auto& sensorTree{getSensorTree()}; in ipmiSensorGetDeviceSdrInfo() local
2298 if (!getSensorSubtree(sensorTree) || sensorTree.empty()) in ipmiSensorGetDeviceSdrInfo()
2449 auto& sensorTree = getSensorTree(); in ipmiStorageGetSDR() local
2450 if (!getSensorSubtree(sensorTree) && sensorTree.empty()) in ipmiStorageGetSDR()
2517 auto& sensorTree = getSensorTree(); in getSensorsByEntityId() local
[all …]
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp51 static SensorSubTree sensorTree; variable
604 if (!getSensorSubtree(sensorTree) && sensorTree.empty()) in ipmiStorageGetSDR()
616 size_t lastRecord = sensorTree.size() + fruCount - 1; in ipmiStorageGetSDR()
637 if (req->recordID >= sensorTree.size()) in ipmiStorageGetSDR()
639 size_t fruIndex = req->recordID - sensorTree.size(); in ipmiStorageGetSDR()
669 for (const auto& sensor : sensorTree) in ipmiStorageGetSDR()
826 if (!getSensorSubtree(sensorTree) && sensorTree.empty()) in getSensorConnectionByName()
831 for (const auto& sensor : sensorTree) in getSensorConnectionByName()