/openbmc/pldm/common/test/ |
H A D | pldm_utils_test.cpp | 152 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 185 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 234 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 253 auto state_second = new (rec_second->possible_states) in TEST() 293 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 312 auto state_second = new (rec_second->possible_states) in TEST() 348 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 367 auto state_second = new (rec_second->possible_states) in TEST() 404 auto state = new (rec->possible_states) state_effecter_possible_states; in TEST() 423 auto state_second = new (rec_second->possible_states) in TEST() [all...] |
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_oem_platform_test.cpp | 271 reinterpret_cast<state_effecter_possible_states*>(pdr->possible_states); in TEST() 298 reinterpret_cast<state_effecter_possible_states*>(pdr->possible_states); in TEST() 325 reinterpret_cast<state_effecter_possible_states*>(pdr->possible_states); in TEST() 378 reinterpret_cast<state_sensor_possible_states*>(pdr->possible_states); in TEST() 404 reinterpret_cast<state_sensor_possible_states*>(pdr->possible_states); in TEST() 430 reinterpret_cast<state_sensor_possible_states*>(pdr->possible_states); in TEST()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_pdr_effecter_test.cpp | 63 state_effecter_possible_states* states = new (pdr->possible_states) in TEST() 95 states = new (pdr->possible_states) state_effecter_possible_states; in TEST() 100 states = new (pdr->possible_states + sizeof(state_effecter_possible_states)) in TEST()
|
/openbmc/linux/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 272 const char **possible_states; member 818 const char **possible_states; in populate_numeric_sensor_from_wobj() local 831 possible_states = devm_kcalloc(dev, size, sizeof(*possible_states), in populate_numeric_sensor_from_wobj() 833 if (!possible_states) in populate_numeric_sensor_from_wobj() 837 nsensor->possible_states = possible_states; in populate_numeric_sensor_from_wobj() 884 *possible_states++ = string; in populate_numeric_sensor_from_wobj() 1287 nsensor->possible_states[i]); in possible_states_show() 1293 DEFINE_SHOW_ATTRIBUTE(possible_states);
|
/openbmc/libpldm/src/dsp/ |
H A D | platform.c | 22 const struct state_effecter_possible_states *const possible_states, in encode_state_effecter_pdr() argument 27 if (!effecter || !possible_states || !actual_size) { in encode_state_effecter_pdr() 31 if (SIZE_MAX - (sizeof(*effecter) - sizeof(effecter->possible_states)) < in encode_state_effecter_pdr() 37 (sizeof(*effecter) - sizeof(effecter->possible_states)) + in encode_state_effecter_pdr() 45 char *states_ptr = (char *)possible_states; in encode_state_effecter_pdr() 72 sizeof(effecter->possible_states)); in encode_state_effecter_pdr() 80 memcpy(effecter->possible_states, possible_states, in encode_state_effecter_pdr() 103 const struct state_sensor_possible_states *const possible_states, in encode_state_sensor_pdr() argument 108 if (!sensor || !possible_states || !actual_size) { in encode_state_sensor_pdr() 112 if (SIZE_MAX - (sizeof(*sensor) - sizeof(sensor->possible_states)) < in encode_state_sensor_pdr() [all …]
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 53 auto possible_states_start = pdr->possible_states; in findStateEffecterPDR() 104 auto possible_states_start = pdr->possible_states; in findStateSensorPDR() 499 auto possible_states_start = pdr->possible_states; in findStateEffecterId() 577 auto possible_states_start = sensorPdr->possible_states; in findStateSensorId()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | oem_ibm_handler.cpp | 213 auto* possibleStatesPtr = pdr->possible_states; in buildAllCodeUpdateEffecterPDR() 282 auto* possibleStatesPtr = pdr->possible_states; in buildAllSlotEnableEffecterPDR() 328 auto* possibleStatesPtr = pdr->possible_states; in buildAllCodeUpdateSensorPDR() 391 auto* possibleStatesPtr = pdr->possible_states; in buildAllSlotEnableSensorPDR()
|
H A D | collect_slot_vpd.cpp | 235 auto possible_states_start = pdr->possible_states; in getEntityIDfromEffecterID()
|
/openbmc/pldm/libpldmresponder/ |
H A D | platform_state_effecter.hpp | 80 pdr->possible_states); in setStateEffecterStatesHandler()
|
H A D | pdr_utils.cpp | 167 auto statesPtr = pdr->possible_states; in parseStateSensorPDR()
|
H A D | platform.cpp | 882 pdr->possible_states); in isOemStateSensor() 953 pdr->possible_states); in isOemStateEffecter()
|
H A D | platform.hpp | 384 pdr->possible_states); in setStateEffecterStatesHandler()
|
/openbmc/openpower-hw-diags/util/ |
H A D | pldm.cpp | 370 auto possibleStatesPtr = stateSensorPDR->possible_states; in fetchSensorInfo() 448 auto possibleStatesPtr = stateEffecterPDR->possible_states; in fetchEffecterInfo()
|
/openbmc/libpldm/include/libpldm/ |
H A D | platform.h | 636 uint8_t possible_states[1]; member 664 uint8_t possible_states[1]; member 712 const struct state_sensor_possible_states *possible_states, 952 const struct state_effecter_possible_states *possible_states,
|
/openbmc/openpower-occ-control/ |
H A D | pldm.cpp | 87 auto possibleStatesPtr = stateSensorPDR->possible_states; in fetchSensorInfo() 353 auto possibleStatesPtr = stateEffecterPDR->possible_states; in fetchEffecterInfo()
|
/openbmc/pldm/softoff/ |
H A D | softoff.cpp | 242 auto possibleStatesStart = pdr->possible_states; in getSensorInfo()
|
/openbmc/linux/Documentation/hwmon/ |
H A D | hp-wmi-sensors.rst | 91 ``possible_states`` ``Normal,Caution,Critical,Not Present``
|
/openbmc/libpldm/tests/dsp/ |
H A D | platform.cpp | 21 struct state_effecter_possible_states possible_states{}; in TEST() struct 27 rc = encode_state_effecter_pdr(NULL, 0, &possible_states, 1, &actual_size); in TEST() 37 &possible_states, SIZE_MAX, &actual_size); in TEST() 42 &possible_states, 0, NULL); in TEST() 46 rc = encode_state_effecter_pdr(&effecter, 0, &possible_states, 1, in TEST() 54 &possible_states, 1, &actual_size); in TEST() 61 struct state_effecter_possible_states possible_states{}; in TEST() struct 68 &possible_states, 0, &actual_size); in TEST() 70 EXPECT_EQ(actual_size, sizeof(effecter) - sizeof(effecter.possible_states)); in TEST()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 820 auto statesPtr = pdr->possible_states; in printStateSensorPDR() 1129 auto statesPtr = pdr->possible_states; in printStateEffecterPDR()
|
/openbmc/libpldm/abi/x86_64/ |
H A D | gcc.dump | 7332 'name' => 'possible_states', 7367 'name' => 'possible_states', 12268 'name' => 'possible_states', 12368 'name' => 'possible_states',
|