Home
last modified time | relevance | path

Searched refs:pldm_msgbuf_extract (Results 1 – 6 of 6) sorted by relevance

/openbmc/libpldm/src/msgbuf/
H A Dplatform.h13 pldm_msgbuf_extract(ctx, hdr->record_handle); in pldm_msgbuf_extract_value_pdr_hdr()
14 pldm_msgbuf_extract(ctx, hdr->version); in pldm_msgbuf_extract_value_pdr_hdr()
15 pldm_msgbuf_extract(ctx, hdr->type); in pldm_msgbuf_extract_value_pdr_hdr()
16 pldm_msgbuf_extract(ctx, hdr->record_change_num); in pldm_msgbuf_extract_value_pdr_hdr()
17 pldm_msgbuf_extract(ctx, hdr->length); in pldm_msgbuf_extract_value_pdr_hdr()
36 return pldm_msgbuf_extract(ctx, dst->value_u8); in pldm_msgbuf_extract_sensor_data()
38 return pldm_msgbuf_extract(ctx, dst->value_s8); in pldm_msgbuf_extract_sensor_data()
40 return pldm_msgbuf_extract(ctx, dst->value_u16); in pldm_msgbuf_extract_sensor_data()
42 return pldm_msgbuf_extract(ctx, dst->value_s16); in pldm_msgbuf_extract_sensor_data()
44 return pldm_msgbuf_extract(ctx, dst->value_u32); in pldm_msgbuf_extract_sensor_data()
[all …]
/openbmc/libpldm/src/dsp/
H A Dplatform.c850 pldm_msgbuf_extract(buf, sensor_rearm->byte); in decode_get_state_sensor_readings_req()
1313 pldm_msgbuf_extract(buf, event_class[i]); in decode_event_message_supported_resp()
1468 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1475 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1482 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1489 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1496 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1503 if (!pldm_msgbuf_extract(buf, val)) { in decode_numeric_sensor_data()
1556 pldm_msgbuf_extract(buf, pdr_value->rel); in decode_numeric_sensor_pdr_data()
1569 pldm_msgbuf_extract(buf, pdr_value->offset); in decode_numeric_sensor_pdr_data()
[all …]
H A Dfirmware_update.c912 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_devices_resp()
925 rc = pldm_msgbuf_extract(buf, in decode_query_downstream_devices_resp()
936 pldm_msgbuf_extract(buf, resp_data->number_of_downstream_devices); in decode_query_downstream_devices_resp()
937 pldm_msgbuf_extract(buf, resp_data->max_number_of_downstream_devices); in decode_query_downstream_devices_resp()
938 pldm_msgbuf_extract(buf, resp_data->capabilities.value); in decode_query_downstream_devices_resp()
1006 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_identifiers_resp()
1018 pldm_msgbuf_extract(buf, resp_data->next_data_transfer_handle); in decode_query_downstream_identifiers_resp()
1019 pldm_msgbuf_extract(buf, resp_data->transfer_flag); in decode_query_downstream_identifiers_resp()
1021 rc = pldm_msgbuf_extract(buf, resp_data->downstream_devices_length); in decode_query_downstream_identifiers_resp()
1026 pldm_msgbuf_extract(buf, resp_data->number_of_downstream_devices); in decode_query_downstream_identifiers_resp()
H A Dpdr.c1453 rc = pldm_msgbuf_extract(src, header_length); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
1472 rc = pldm_msgbuf_extract(src, num_children); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
1633 pldm_msgbuf_extract(src_c, container_id); in pldm_entity_association_pdr_create_new()
/openbmc/libpldm/tests/
H A Dmsgbuf_generic.c38 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_uint8()
52 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_int8()
66 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_uint16()
80 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_int16()
94 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_uint32()
108 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_int32()
128 expect(pldm_msgbuf_extract(ctx, val) == PLDM_SUCCESS); in test_msgbuf_extract_generic_real32()
163 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == PLDM_SUCCESS); in test_msgbuf_insert_generic_int32()
186 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == PLDM_SUCCESS); in test_msgbuf_insert_generic_uint32()
209 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == PLDM_SUCCESS); in test_msgbuf_insert_generic_uint16()
[all …]
/openbmc/libpldm/src/
H A Dmsgbuf.h696 #define pldm_msgbuf_extract(ctx, dst) \ macro