Home
last modified time | relevance | path

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

/openbmc/libpldm/src/msgbuf/
H A Dplatform.h18 pldm_msgbuf_extract(ctx, hdr->record_handle); in pldm_msgbuf_extract_value_pdr_hdr()
19 pldm_msgbuf_extract(ctx, hdr->version); in pldm_msgbuf_extract_value_pdr_hdr()
20 pldm_msgbuf_extract(ctx, hdr->type); in pldm_msgbuf_extract_value_pdr_hdr()
21 pldm_msgbuf_extract(ctx, hdr->record_change_num); in pldm_msgbuf_extract_value_pdr_hdr()
22 rc = pldm_msgbuf_extract(ctx, hdr->length); in pldm_msgbuf_extract_value_pdr_hdr()
45 return pldm_msgbuf_extract(ctx, dst->value_u8); in pldm_msgbuf_extract_sensor_data()
47 return pldm_msgbuf_extract(ctx, dst->value_s8); in pldm_msgbuf_extract_sensor_data()
49 return pldm_msgbuf_extract(ctx, dst->value_u16); in pldm_msgbuf_extract_sensor_data()
51 return pldm_msgbuf_extract(ctx, dst->value_s16); in pldm_msgbuf_extract_sensor_data()
53 return pldm_msgbuf_extract(ctx, dst->value_u32); in pldm_msgbuf_extract_sensor_data()
[all …]
/openbmc/libpldm/src/dsp/
H A Dplatform.c297 pldm_msgbuf_extract(buf, field[i].set_request); in decode_set_state_effecter_states_req()
298 pldm_msgbuf_extract(buf, field[i].effecter_state); in decode_set_state_effecter_states_req()
536 rc = pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_repository_info_resp_safe()
541 pldm_msgbuf_extract(buf, resp->repository_state); in decode_get_pdr_repository_info_resp_safe()
557 pldm_msgbuf_extract(buf, resp->record_count); in decode_get_pdr_repository_info_resp_safe()
558 pldm_msgbuf_extract(buf, resp->repository_size); in decode_get_pdr_repository_info_resp_safe()
559 pldm_msgbuf_extract(buf, resp->largest_record_size); in decode_get_pdr_repository_info_resp_safe()
560 pldm_msgbuf_extract(buf, resp->data_transfer_handle_timeout); in decode_get_pdr_repository_info_resp_safe()
691 pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_resp_safe()
692 pldm_msgbuf_extract(buf, resp->next_record_handle); in decode_get_pdr_resp_safe()
[all …]
H A Dfirmware_update.c534 pldm_msgbuf_extract(buf, desc->descriptor_type); in decode_pldm_descriptor_from_iter()
535 rc = pldm_msgbuf_extract(buf, desc->descriptor_length); in decode_pldm_descriptor_from_iter()
1217 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_devices_resp()
1230 rc = pldm_msgbuf_extract(buf, in decode_query_downstream_devices_resp()
1241 pldm_msgbuf_extract(buf, resp_data->number_of_downstream_devices); in decode_query_downstream_devices_resp()
1242 pldm_msgbuf_extract(buf, resp_data->max_number_of_downstream_devices); in decode_query_downstream_devices_resp()
1243 pldm_msgbuf_extract(buf, resp_data->capabilities.value); in decode_query_downstream_devices_resp()
1314 rc = pldm_msgbuf_extract(buf, resp_data->completion_code); in decode_query_downstream_identifiers_resp()
1326 pldm_msgbuf_extract(buf, resp_data->next_data_transfer_handle); in decode_query_downstream_identifiers_resp()
1327 pldm_msgbuf_extract(buf, resp_data->transfer_flag); in decode_query_downstream_identifiers_resp()
[all …]
H A Dpdr.c1567 rc = pldm_msgbuf_extract(src, header_length); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
1586 rc = pldm_msgbuf_extract(src, num_children); in pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
1749 pldm_msgbuf_extract(src_c, container_id);
1814 pldm_msgbuf_extract(dst, hdr_type); in pldm_entity_association_pdr_remove_contained_entity()
1823 pldm_msgbuf_extract(dst, num_children); in pldm_entity_association_pdr_remove_contained_entity()
1827 if ((rc = pldm_msgbuf_extract(dst, e.entity_type)) || in pldm_entity_association_pdr_remove_contained_entity()
1828 (rc = pldm_msgbuf_extract(dst, in pldm_entity_association_pdr_remove_contained_entity()
1830 (rc = pldm_msgbuf_extract(dst, in pldm_entity_association_pdr_remove_contained_entity()
1918 rc = pldm_msgbuf_extract(src, header_length); in pldm_entity_association_pdr_remove_contained_entity()
1935 rc = pldm_msgbuf_extract(sr in pldm_entity_association_pdr_remove_contained_entity()
[all...]
/openbmc/libpldm/tests/
H A Dmsgbuf_generic.c37 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint8()
50 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int8()
63 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint16()
76 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int16()
89 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_uint32()
102 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_int32()
121 expect(pldm_msgbuf_extract(ctx, val) == 0); in test_msgbuf_extract_generic_real32()
154 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_int32()
176 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_uint32()
198 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_uint16()
[all …]
/openbmc/libpldm/src/oem/meta/
H A Dfile_io.c43 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_write_req()
44 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_write_req()
120 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_read_req()
121 rc = pldm_msgbuf_extract(buf, req->option); in decode_oem_meta_file_io_read_req()
126 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_read_req()
138 pldm_msgbuf_extract(buf, req->info.data.transferFlag); in decode_oem_meta_file_io_read_req()
139 pldm_msgbuf_extract(buf, req->info.data.offset); in decode_oem_meta_file_io_read_req()
/openbmc/libpldm/src/
H A Dmsgbuf.h550 #define pldm_msgbuf_extract(ctx, dst) \ macro