Home
last modified time | relevance | path

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

/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.hpp18 extern ipmi::sensor::SensorCacheMap sensorCacheMap;
384 if (!sensorCacheMap[id].has_value()) in readingAssertion()
386 sensorCacheMap[id] = SensorData{}; in readingAssertion()
388 sensorCacheMap[id]->response = response; in readingAssertion()
408 sensorCacheMap[id]->functional = std::get<bool>(iter->second); in readingData()
413 sensorCacheMap[id]->available = std::get<bool>(iter->second); in readingData()
416 if (sensorCacheMap[id]) in readingData()
418 if (!sensorCacheMap[id]->functional) in readingData()
470 if (!sensorCacheMap[id].has_value()) in readingData()
472 sensorCacheMap[id] = SensorData{}; in readingData()
[all …]
H A Dsensordatahandler.cpp155 if (!sensorCacheMap[id].has_value()) in assertion()
157 sensorCacheMap[id] = SensorData{}; in assertion()
159 sensorCacheMap[id]->response = response; in assertion()
170 if (!sensorCacheMap[id].has_value()) in eventdata2()
172 sensorCacheMap[id] = SensorData{}; in eventdata2()
174 sensorCacheMap[id]->response = response; in eventdata2()
405 if (!sensorCacheMap[id].has_value())
407 sensorCacheMap[id] = SensorData{};
409 sensorCacheMap[id]->response = response;
H A Dsensorhandler.cpp99 ipmi::sensor::SensorCacheMap sensorCacheMap __attribute__((init_priority(101))); variable
166 sensorCacheMap[id].reset(); in initSensorMatches()
190 sensorCacheMap[s.first].reset(); in initSensorMatches()
212 sensorCacheMap[id].reset(); in initSensorMatches()
579 auto& sensorData = sensorCacheMap[sensorNum]; in ipmiSensorGetSensorReading()
/openbmc/pldm/host-bmc/
H A Ddbus_to_event_handler.hpp60 return sensorCacheMap; in getSensorCache()
72 sensorCacheMap[sensorId][sensorRearm] = previousState; in updateSensorCacheMaps()
103 stateSensorCacheMaps sensorCacheMap; member in pldm::state_sensor::DbusToPLDMEvent
H A Ddbus_to_event_handler.cpp157 if (sensorCacheMap.contains(sensorId) && in sendStateSensorEvent()
158 sensorCacheMap[sensorId][offset] != in sendStateSensorEvent()
161 previousState = sensorCacheMap[sensorId][offset]; in sendStateSensorEvent()