Home
last modified time | relevance | path

Searched refs:previousState (Results 1 – 8 of 8) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dplatform_state_sensor.hpp172 uint8_t previousState = PLDM_SENSOR_UNKNOWN; in getStateSensorReadingsHandler() local
180 previousState = sensorEvent; in getStateSensorReadingsHandler()
181 handler.updateSensorCache(sensorId, offset, previousState); in getStateSensorReadingsHandler()
187 previousState = sensorCacheforSensor[offset]; in getStateSensorReadingsHandler()
196 {opState, PLDM_SENSOR_NORMAL, previousState, sensorEvent}); in getStateSensorReadingsHandler()
/openbmc/pldm/host-bmc/
H A Ddbus_to_event_handler.cpp118 uint8_t previousState = PLDM_SENSOR_UNKNOWN; in sendStateSensorEvent() local
161 previousState = sensorCacheMap[sensorId][offset]; in sendStateSensorEvent()
165 previousState = itr.first; in sendStateSensorEvent()
167 eventData->event_class[2] = previousState; in sendStateSensorEvent()
170 updateSensorCacheMaps(sensorId, offset, previousState); in sendStateSensorEvent()
H A Ddbus_to_event_handler.hpp69 size_t sensorRearm, uint8_t previousState) in updateSensorCacheMaps() argument
72 sensorCacheMap[sensorId][sensorRearm] = previousState; in updateSensorCacheMaps()
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp4021 uint8_t previousState = 0; in TEST() local
4030 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4036 EXPECT_EQ(previousState, PLDM_FD_STATE_DOWNLOAD); in TEST()
4056 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4062 EXPECT_EQ(previousState, PLDM_FD_STATE_DOWNLOAD); in TEST()
4076 .previous_state = previousState, in TEST()
4100 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4110 uint8_t previousState = 0; in TEST() local
4124 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4130 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
[all …]
H A Dplatform.cpp2732 uint8_t previousState = PLDM_SENSOR_INITIALIZING; in TEST() local
2734 sensorData->previous_op_state = previousState; in TEST()
2744 EXPECT_EQ(retPreviousState, previousState); in TEST()
3411 uint8_t previousState = PLDM_SENSOR_WARNING; in TEST() local
3417 sensor_event_messageEnable, presentState, previousState, eventState, in TEST()
3433 EXPECT_EQ(previousState, resp->previous_state); in TEST()
3482 uint8_t previousState = PLDM_SENSOR_UPPERCRITICAL; in TEST() local
3507 resp->previous_state = previousState; in TEST()
3526 EXPECT_EQ(previousState, retpreviousState); in TEST()
3549 uint8_t previousState = PLDM_SENSOR_UPPERFATAL; in TEST() local
[all …]
/openbmc/pldm/pldmtool/
H A Dpldm_fw_update_cmd.cpp101 uint8_t previousState = 0; in parseResponseMsg() local
110 &previousState, &auxState, &auxStateStatus, &progressPercent, in parseResponseMsg()
121 data["PreviousState"] = fdStateMachine.at(previousState); in parseResponseMsg()
H A Dpldm_platform_cmd.cpp1913 uint8_t previousState = 0; in parseResponseMsg() local
1922 &previousState, &eventState, presentReading.data()); in parseResponseMsg()
1941 getSensorState(previousState, &sensorPresState); in parseResponseMsg()
/openbmc/pldm/platform-mc/
H A Dsensor_manager.cpp299 uint8_t previousState = 0; in getSensorReading() local
305 &previousState, &eventState, in getSensorReading()