/openbmc/libpldm/tests/dsp/ |
H A D | base.cpp | 48 hdr.pldm_type = 64; in TEST() 61 hdr.pldm_type = 0; in TEST() 74 hdr.pldm_type = 63; in TEST() 105 hdr.pldm_type = 0; in TEST() 118 hdr.pldm_type = 63; in TEST() 150 EXPECT_EQ(hdr.pldm_type, 0); in TEST() 168 EXPECT_EQ(hdr.pldm_type, 63); in TEST() 182 EXPECT_EQ(hdr.pldm_type, 0); in TEST() 193 EXPECT_EQ(hdr.pldm_type, 63); in TEST() 549 uint8_t pldm_type = 0x0; in TEST() local [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | base.c | 30 if (hdr->pldm_type > (PLDM_MAX_TYPES - 1)) { in pack_pldm_header_errno() 46 msg->type = hdr->pldm_type; in pack_pldm_header_errno() 67 hdr->pldm_type = msg->type; in unpack_pldm_header_errno() 312 header.pldm_type = PLDM_BASE; in encode_get_version_req() 343 header.pldm_type = PLDM_BASE; in encode_get_version_resp() 506 size_t payload_length, uint8_t *pldm_type, in decode_multipart_receive_req() argument 513 if (msg == NULL || pldm_type == NULL || transfer_opflag == NULL || in decode_multipart_receive_req() 526 if (request->pldm_type != PLDM_BASE) { in decode_multipart_receive_req() 548 *pldm_type = request->pldm_type; in decode_multipart_receive_req() 569 header.pldm_type = type; in encode_cc_only_resp() [all …]
|
H A D | bios.c | 19 header.pldm_type = PLDM_BIOS; in encode_get_date_time_req() 37 header.pldm_type = PLDM_BIOS; in encode_get_date_time_resp() 114 header.pldm_type = PLDM_BIOS; in encode_set_date_time_req() 178 header.pldm_type = PLDM_BIOS; in encode_set_date_time_resp() 226 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_resp() 264 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_req() 351 header.pldm_type = PLDM_BIOS; in encode_get_bios_attribute_current_value_by_handle_req() 445 header.pldm_type = PLDM_BIOS; in encode_get_bios_current_value_by_handle_resp() 490 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_req() 572 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_resp() [all …]
|
H A D | fru.c | 28 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_metadata_req() 89 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_metadata_resp() 153 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_resp() 314 header.pldm_type = PLDM_FRU; in encode_get_fru_record_by_option_req() 390 header.pldm_type = PLDM_FRU; in encode_get_fru_record_by_option_resp() 461 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_req() 578 header.pldm_type = PLDM_FRU; in encode_set_fru_record_table_resp()
|
H A D | platform.c | 188 header.pldm_type = PLDM_PLATFORM; in encode_set_state_effecter_states_resp() 220 header.pldm_type = PLDM_PLATFORM; in encode_set_state_effecter_states_req() 363 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_resp() 410 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_repository_info_resp() 582 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_req() 780 header.pldm_type = PLDM_PLATFORM; in encode_set_numeric_effecter_value_resp() 812 header.pldm_type = PLDM_PLATFORM; in encode_set_numeric_effecter_value_req() 894 header.pldm_type = PLDM_PLATFORM; in encode_get_state_sensor_readings_resp() 926 header.pldm_type = PLDM_PLATFORM; in encode_get_state_sensor_readings_req() 1196 header.pldm_type = PLDM_PLATFORM; in encode_platform_event_message_resp() [all …]
|
H A D | base.h | 17 uint8_t pldm_type, uint8_t command,
|
H A D | firmware_update.c | 1185 header.pldm_type = PLDM_FWUP; in encode_query_downstream_identifiers_req() 1325 header.pldm_type = PLDM_FWUP; in encode_get_downstream_firmware_parameters_req() 1520 header.pldm_type = PLDM_FWUP; in encode_request_update_req() 1634 .pldm_type = PLDM_FWUP, in encode_request_update_resp() 1692 header.pldm_type = PLDM_FWUP; in encode_pass_component_table_req() 1866 header.pldm_type = PLDM_FWUP; in encode_update_component_req() 2090 header.pldm_type = PLDM_FWUP; in encode_request_firmware_data_resp() 2165 header.pldm_type = PLDM_FWUP; in encode_transfer_complete_resp() 2239 header.pldm_type = PLDM_FWUP; in encode_verify_complete_resp() 2326 header.pldm_type = PLDM_FWUP; in encode_apply_complete_resp() [all …]
|
/openbmc/libpldm/src/ |
H A D | control.c | 102 if (control->types[i].pldm_type == type && in pldm_control_get_version() 150 uint8_t ty = control->types[i].pldm_type; in pldm_control_get_types() 192 if (control->types[i].pldm_type == ty && in pldm_control_get_commands() 247 if (hdr.pldm_type != PLDM_BASE) { in pldm_control_handle_msg() 310 int pldm_control_add_type(struct pldm_control *control, uint8_t pldm_type, in pldm_control_add_type() argument 323 control->types[i].pldm_type == pldm_type)) { in pldm_control_add_type() 334 v->pldm_type = pldm_type; in pldm_control_add_type()
|
H A D | control-internal.h | 26 uint8_t pldm_type; member
|
/openbmc/libpldm/src/oem/ibm/ |
H A D | file_io.c | 45 header.pldm_type = PLDM_OEM; in encode_rw_file_memory_resp() 75 header.pldm_type = PLDM_OEM; in encode_rw_file_memory_req() 152 header.pldm_type = PLDM_OEM; in encode_get_file_table_resp() 184 header.pldm_type = PLDM_OEM; in encode_get_file_table_req() 277 header.pldm_type = PLDM_OEM; in encode_read_file_req() 333 header.pldm_type = PLDM_OEM; in encode_read_file_resp() 395 header.pldm_type = PLDM_OEM; in encode_write_file_req() 446 header.pldm_type = PLDM_OEM; in encode_write_file_resp() 503 header.pldm_type = PLDM_OEM; in encode_rw_file_by_type_memory_resp() 533 header.pldm_type = PLDM_OEM; in encode_rw_file_by_type_memory_req() [all …]
|
H A D | host.c | 24 header.pldm_type = PLDM_OEM; in encode_get_alert_status_req() 98 header.pldm_type = PLDM_OEM; in encode_get_alert_status_resp()
|
H A D | platform.c | 46 header.pldm_type = PLDM_PLATFORM; in encode_bios_attribute_update_event_req()
|
/openbmc/libpldm/include/libpldm/ |
H A D | base.h | 248 uint8_t pldm_type; //!< PLDM type member 330 uint8_t pldm_type; //!< PLDM Type for the MultipartReceive member 628 size_t payload_length, uint8_t *pldm_type, 658 uint8_t pldm_type, uint8_t command,
|
H A D | control.h | 58 int pldm_control_add_type(struct pldm_control *control, uint8_t pldm_type,
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_base.robot | 89 # pldm_type # expected_pldm_cmds 154 [Arguments] ${pldm_type} ${expected_pldm_cmds} 157 # pldm_type pldm type (e.g. '0', '2', '3', '4', '63'). 165 ${pldm_output}= Pldmtool base GetPLDMCommands -t ${pldm_type}
|
/openbmc/pldm/pldmd/ |
H A D | pldmd.cpp | 125 if (hdrFields.pldm_type != PLDM_FWUP) in processRxMsg() 128 invoker.handle(tid, hdrFields.pldm_type, hdrFields.command, in processRxMsg() 145 header.pldm_type = hdrFields.pldm_type; in processRxMsg() 162 handler.handleResponse(eid, hdrFields.instance, hdrFields.pldm_type, in processRxMsg()
|
/openbmc/libpldm/src/oem/meta/ |
H A D | file_io.c | 179 header.pldm_type = PLDM_OEM; in encode_oem_meta_file_io_read_resp()
|
/openbmc/libpldm/src/firmware_device/ |
H A D | fd.c | 1289 if (hdr.pldm_type != PLDM_FWUP) { in pldm_fd_handle_msg()
|
/openbmc/libpldm/abi/x86_64/ |
H A D | gcc.dump | 231 'name' => 'pldm_type', 287 'name' => 'pldm_type', 10415 'name' => 'pldm_type',
|