Home
last modified time | relevance | path

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

/openbmc/phosphor-modbus/rtu/device/
H A Dbase_device.cpp282 auto sensorIter = sensors.find(statusBit.name); in readStatusRegisters() local
283 if (sensorIter != sensors.end()) in readStatusRegisters()
285 sensorValue = sensorIter->second->value(); in readStatusRegisters()
286 sensorUnit = sensorIter->second->unit(); in readStatusRegisters()
288 updateSensorOnStatusChange(*(sensorIter->second), in readStatusRegisters()
/openbmc/phosphor-host-ipmid/
H A Dselutility.cpp130 auto sensorIter = invSensors.find(sensorPath); in constructSEL() local
132 if (sensorIter != invSensors.end()) in constructSEL()
135 record.event.eventRecord.sensorType = sensorIter->second.sensorType; in constructSEL()
136 record.event.eventRecord.sensorNum = sensorIter->second.sensorID; in constructSEL()
143 assert | sensorIter->second.eventReadingType; in constructSEL()