| /openbmc/libpldm/src/msgbuf/ |
| H A D | platform.h | 18 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 D | platform.c | 299 pldm_msgbuf_extract(buf, field[i].set_request); in decode_set_state_effecter_states_req() 300 pldm_msgbuf_extract(buf, field[i].effecter_state); in decode_set_state_effecter_states_req() 556 rc = pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_repository_info_resp_safe() 561 pldm_msgbuf_extract(buf, resp->repository_state); in decode_get_pdr_repository_info_resp_safe() 577 pldm_msgbuf_extract(buf, resp->record_count); in decode_get_pdr_repository_info_resp_safe() 578 pldm_msgbuf_extract(buf, resp->repository_size); in decode_get_pdr_repository_info_resp_safe() 579 pldm_msgbuf_extract(buf, resp->largest_record_size); in decode_get_pdr_repository_info_resp_safe() 580 pldm_msgbuf_extract(buf, resp->data_transfer_handle_timeout); in decode_get_pdr_repository_info_resp_safe() 710 pldm_msgbuf_extract(buf, resp->completion_code); in decode_get_pdr_resp_safe() 711 pldm_msgbuf_extract(buf, resp->next_record_handle); in decode_get_pdr_resp_safe() [all …]
|
| H A D | firmware_update.c | 466 rc = pldm_msgbuf_extract(buf, hdr->package_header_format_revision); in decode_pldm_package_header_info_errno() 479 rc = pldm_msgbuf_extract(buf, package_header_size); in decode_pldm_package_header_info_errno() 492 rc = pldm_msgbuf_extract(buf, hdr->component_bitmap_bit_length); in decode_pldm_package_header_info_errno() 500 rc = pldm_msgbuf_extract(buf, hdr->package_version_string_type); in decode_pldm_package_header_info_errno() 540 pldm_msgbuf_extract(buf, package_header_checksum); in decode_pldm_package_header_info_errno() 544 pldm_msgbuf_extract(buf, package_payload_checksum); in decode_pldm_package_header_info_errno() 717 pldm_msgbuf_extract(buf, record_len); in decode_pldm_package_firmware_device_id_record_errno() 718 pldm_msgbuf_extract(buf, rec->descriptor_count); in decode_pldm_package_firmware_device_id_record_errno() 719 pldm_msgbuf_extract(buf, rec->device_update_option_flags.value); in decode_pldm_package_firmware_device_id_record_errno() 721 rc = pldm_msgbuf_extract(buf, in decode_pldm_package_firmware_device_id_record_errno() [all …]
|
| H A D | file.c | 69 pldm_msgbuf_extract(buf, req->file_identifier); in decode_pldm_file_df_open_req() 70 pldm_msgbuf_extract(buf, req->file_attribute.value); in decode_pldm_file_df_open_req() 136 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_file_df_open_resp() 142 pldm_msgbuf_extract(buf, resp->file_descriptor); in decode_pldm_file_df_open_resp() 200 pldm_msgbuf_extract(buf, req->file_descriptor); in decode_pldm_file_df_close_req() 201 pldm_msgbuf_extract(buf, req->df_close_options.value); in decode_pldm_file_df_close_req() 313 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_file_df_heartbeat_resp() 314 pldm_msgbuf_extract(buf, resp->responder_max_interval); in decode_pldm_file_df_heartbeat_resp()
|
| H A D | pdr.c | 419 pldm_msgbuf_extract(buf, pdr->hdr.record_handle); in decode_pldm_state_sensor_pdr() 420 pldm_msgbuf_extract(buf, pdr->hdr.version); in decode_pldm_state_sensor_pdr() 421 pldm_msgbuf_extract(buf, pdr->hdr.type); in decode_pldm_state_sensor_pdr() 422 pldm_msgbuf_extract(buf, pdr->hdr.record_change_num); in decode_pldm_state_sensor_pdr() 423 pldm_msgbuf_extract(buf, pdr->hdr.length); in decode_pldm_state_sensor_pdr() 424 pldm_msgbuf_extract(buf, pdr->terminus_handle); in decode_pldm_state_sensor_pdr() 425 pldm_msgbuf_extract(buf, pdr->sensor_id); in decode_pldm_state_sensor_pdr() 426 pldm_msgbuf_extract(buf, pdr->entity_type); in decode_pldm_state_sensor_pdr() 427 pldm_msgbuf_extract(buf, pdr->entity_instance); in decode_pldm_state_sensor_pdr() 428 pldm_msgbuf_extract(buf, pdr->container_id); in decode_pldm_state_sensor_pdr() [all …]
|
| H A D | base.c | 711 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_base_multipart_receive_resp() 712 rc = pldm_msgbuf_extract(buf, resp->transfer_flag); in decode_pldm_base_multipart_receive_resp() 716 pldm_msgbuf_extract(buf, resp->next_transfer_handle); in decode_pldm_base_multipart_receive_resp() 970 pldm_msgbuf_extract(buf, req->requester_part_size); in decode_pldm_base_negotiate_transfer_params_req() 1009 pldm_msgbuf_extract(buf, resp->completion_code); in decode_pldm_base_negotiate_transfer_params_resp() 1010 pldm_msgbuf_extract(buf, resp->responder_part_size); in decode_pldm_base_negotiate_transfer_params_resp()
|
| /openbmc/libpldm/tests/ |
| H A D | msgbuf_generic.c | 37 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_real32() 176 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_int32() 198 expect(pldm_msgbuf_extract(ctxExtract, checkVal) == 0); in test_msgbuf_insert_generic_uint32() [all …]
|
| /openbmc/libpldm/src/oem/meta/ |
| H A D | file_io.c | 42 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_write_req() 43 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_write_req() 118 pldm_msgbuf_extract(buf, req->handle); in decode_oem_meta_file_io_read_req() 119 rc = pldm_msgbuf_extract(buf, req->option); in decode_oem_meta_file_io_read_req() 124 rc = pldm_msgbuf_extract(buf, req->length); in decode_oem_meta_file_io_read_req() 136 pldm_msgbuf_extract(buf, req->info.data.transferFlag); in decode_oem_meta_file_io_read_req() 137 pldm_msgbuf_extract(buf, req->info.data.offset); in decode_oem_meta_file_io_read_req()
|
| /openbmc/libpldm/src/ |
| H A D | msgbuf.h | 136 #define pldm_msgbuf_extract(ctx, dst) \ macro
|