Lines Matching full:sensorid
225 OemEventManager::prefixMsgStrCreation(pldm_tid_t tid, uint16_t sensorId) in prefixMsgStrCreation() argument
237 if (!sensorIdToStrMap.contains(sensorId)) in prefixMsgStrCreation()
239 description += "Sensor ID " + std::to_string(sensorId) + ": "; in prefixMsgStrCreation()
243 description += sensorIdToStrMap[sensorId] + ": "; in prefixMsgStrCreation()
281 uint8_t OemEventManager::sensorIdToDIMMIdx(const uint16_t& sensorId) in sensorIdToDIMMIdx() argument
284 int sensorId_Off = sensorId - 4; in sensorIdToDIMMIdx()
294 pldm_tid_t /*tid*/, uint16_t /*sensorId*/, uint32_t presentReading) in handleBootOverallEvent()
387 pldm_tid_t tid, uint16_t sensorId, const uint8_t* sensorData, in processNumericSensorEvent() argument
405 // DIMMx_Status sensorID 4+2*index (index 0 -> maxDIMMInstantNum-1) in processNumericSensorEvent()
406 if (auto dimmIdx = sensorIdToDIMMIdx(sensorId); dimmIdx < maxDIMMInstantNum) in processNumericSensorEvent()
408 handleDIMMStatusEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
412 switch (sensorId) in processNumericSensorEvent()
415 handleBootOverallEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
418 handlePCIeHotPlugEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
421 handleDDRStatusEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
432 handleVRDStatusEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
435 handleNumericWatchdogEvent(tid, sensorId, presentReading); in processNumericSensorEvent()
443 description += prefixMsgStrCreation(tid, sensorId); in processNumericSensorEvent()
460 int OemEventManager::processStateSensorEvent(pldm_tid_t tid, uint16_t sensorId, in processStateSensorEvent() argument
482 if (stateSensorToMsgMap.contains(sensorId)) in processStateSensorEvent()
484 description += prefixMsgStrCreation(tid, sensorId); in processStateSensorEvent()
485 auto componentMap = stateSensorToMsgMap[sensorId]; in processStateSensorEvent()
521 description += prefixMsgStrCreation(tid, sensorId); in processStateSensorEvent()
537 pldm_tid_t tid, uint16_t sensorId, const uint8_t* sensorData, in processSensorOpStateEvent() argument
558 description += prefixMsgStrCreation(tid, sensorId); in processSensorOpStateEvent()
583 uint16_t sensorId = 0; in handleSensorEvent() local
587 decode_sensor_event_data(eventData, eventDataSize, &sensorId, in handleSensorEvent()
602 return processNumericSensorEvent(tid, sensorId, sensorData, in handleSensorEvent()
607 return processStateSensorEvent(tid, sensorId, sensorData, in handleSensorEvent()
612 return processSensorOpStateEvent(tid, sensorId, sensorData, in handleSensorEvent()
622 description += prefixMsgStrCreation(tid, sensorId); in handleSensorEvent()
643 void OemEventManager::handlePCIeHotPlugEvent(pldm_tid_t tid, uint16_t sensorId, in handlePCIeHotPlugEvent() argument
655 description += prefixMsgStrCreation(tid, sensorId); in handlePCIeHotPlugEvent()
721 void OemEventManager::handleDIMMStatusEvent(pldm_tid_t tid, uint16_t sensorId, in handleDIMMStatusEvent() argument
729 description += prefixMsgStrCreation(tid, sensorId); in handleDIMMStatusEvent()
731 // DIMMx_Status sensorID 4+2*index (index 0 -> maxDIMMInstantNum-1) in handleDIMMStatusEvent()
732 auto dimmIdx = sensorIdToDIMMIdx(sensorId); in handleDIMMStatusEvent()
805 void OemEventManager::handleDDRStatusEvent(pldm_tid_t tid, uint16_t sensorId, in handleDDRStatusEvent() argument
813 description += prefixMsgStrCreation(tid, sensorId); in handleDDRStatusEvent()
841 void OemEventManager::handleVRDStatusEvent(pldm_tid_t tid, uint16_t sensorId, in handleVRDStatusEvent() argument
848 description += prefixMsgStrCreation(tid, sensorId); in handleVRDStatusEvent()
891 pldm_tid_t tid, uint16_t sensorId, uint32_t presentReading) in handleNumericWatchdogEvent() argument
896 description += prefixMsgStrCreation(tid, sensorId); in handleNumericWatchdogEvent()
975 auto sensorID = poll_event.event_id; in handlepldmMessagePollEvent() local
977 if (rasUESensorIDs.contains(sensorID)) in handlepldmMessagePollEvent()
990 … "Failed to set the RAS UE LED terminus ID {TID} sensor ID {SENSORID} - errors {ERROR}", in handlepldmMessagePollEvent()
991 "TID", tid, "SENSORID", sensorID, "ERROR", e); in handlepldmMessagePollEvent()