Home
last modified time | relevance | path

Searched refs:pldm_type (Results 1 – 20 of 20) sorted by relevance

/openbmc/libpldm/src/
H A Dcontrol.c101 if (control->types[i].pldm_type == type && in pldm_control_get_version()
149 uint8_t ty = control->types[i].pldm_type; in pldm_control_get_types()
191 if (control->types[i].pldm_type == ty && in pldm_control_get_commands()
246 if (hdr.pldm_type != PLDM_BASE) { in pldm_control_handle_msg()
309 int pldm_control_add_type(struct pldm_control *control, uint8_t pldm_type, in pldm_control_add_type() argument
322 control->types[i].pldm_type == pldm_type)) { in pldm_control_add_type()
333 v->pldm_type = pldm_type; in pldm_control_add_type()
H A Dcontrol-internal.h24 uint8_t pldm_type; member
/openbmc/libpldm/src/dsp/
H A Dbase.c32 if (hdr->pldm_type > (PLDM_MAX_TYPES - 1)) { in pack_pldm_header_errno()
48 msg->type = hdr->pldm_type; in pack_pldm_header_errno()
69 hdr->pldm_type = msg->type; in unpack_pldm_header_errno()
372 header.pldm_type = PLDM_BASE; in encode_get_version_req()
403 header.pldm_type = PLDM_BASE; in encode_get_version_resp()
588 size_t payload_length, uint8_t *pldm_type, in decode_multipart_receive_req() argument
598 if (msg == NULL || pldm_type == NULL || transfer_opflag == NULL || in decode_multipart_receive_req()
610 pldm_msgbuf_extract_p(buf, pldm_type); in decode_multipart_receive_req()
622 if (*pldm_type != PLDM_BASE && *pldm_type != PLDM_FILE) { in decode_multipart_receive_req()
660 header.pldm_type = PLDM_BASE; in encode_pldm_base_multipart_receive_req()
[all …]
H A Dbios.c21 header.pldm_type = PLDM_BIOS; in encode_get_date_time_req()
39 header.pldm_type = PLDM_BIOS; in encode_get_date_time_resp()
116 header.pldm_type = PLDM_BIOS; in encode_set_date_time_req()
180 header.pldm_type = PLDM_BIOS; in encode_set_date_time_resp()
228 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_resp()
266 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_req()
353 header.pldm_type = PLDM_BIOS; in encode_get_bios_attribute_current_value_by_handle_req()
447 header.pldm_type = PLDM_BIOS; in encode_get_bios_current_value_by_handle_resp()
492 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_req()
574 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_resp()
[all …]
H A Dfile.c30 header.pldm_type = PLDM_FILE; in encode_pldm_file_df_open_req()
89 header.pldm_type = PLDM_FILE; in encode_pldm_file_df_open_resp()
161 header.pldm_type = PLDM_FILE; in encode_pldm_file_df_close_req()
220 header.pldm_type = PLDM_FILE; in encode_pldm_file_df_close_resp()
268 header.pldm_type = PLDM_FILE; in encode_pldm_file_df_heartbeat_req()
H A Dfru.c27 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_metadata_req()
88 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_metadata_resp()
152 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_resp()
313 header.pldm_type = PLDM_FRU; in encode_get_fru_record_by_option_req()
389 header.pldm_type = PLDM_FRU; in encode_get_fru_record_by_option_resp()
460 header.pldm_type = PLDM_FRU; in encode_get_fru_record_table_req()
577 header.pldm_type = PLDM_FRU; in encode_set_fru_record_table_resp()
H A Dbase.h17 uint8_t pldm_type, uint8_t command,
H A Dplatform.c188 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()
364 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_resp()
408 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_repository_info_req()
429 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_repository_info_resp()
602 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_req()
798 header.pldm_type = PLDM_PLATFORM; in encode_set_numeric_effecter_value_resp()
830 header.pldm_type = PLDM_PLATFORM; in encode_set_numeric_effecter_value_req()
912 header.pldm_type = PLDM_PLATFORM; in encode_get_state_sensor_readings_resp()
944 header.pldm_type = PLDM_PLATFORM; in encode_get_state_sensor_readings_req()
[all …]
H A Dfirmware_update.c1600 header.pldm_type = PLDM_FWUP; in encode_query_downstream_identifiers_req()
1726 header.pldm_type = PLDM_FWUP; in encode_get_downstream_firmware_parameters_req()
2069 header.pldm_type = PLDM_FWUP; in encode_request_update_req()
2181 .pldm_type = PLDM_FWUP, in encode_request_update_resp()
2239 header.pldm_type = PLDM_FWUP; in encode_pass_component_table_req()
2411 header.pldm_type = PLDM_FWUP; in encode_update_component_req()
2628 header.pldm_type = PLDM_FWUP; in encode_request_firmware_data_resp()
2699 header.pldm_type = PLDM_FWUP; in encode_transfer_complete_resp()
2769 header.pldm_type = PLDM_FWUP; in encode_verify_complete_resp()
2855 header.pldm_type = PLDM_FWUP; in encode_apply_complete_resp()
[all …]
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c45 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 Dhost.c24 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 Dplatform.c46 header.pldm_type = PLDM_PLATFORM; in encode_bios_attribute_update_event_req()
/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_base.robot89 # 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/libpldm/include/libpldm/
H A Dbase.h299 uint8_t pldm_type; //!< PLDM type member
381 uint8_t pldm_type; //!< PLDM Type for the MultipartReceive member
724 size_t payload_length, uint8_t *pldm_type,
811 uint8_t pldm_type, uint8_t command,
H A Dcontrol.h57 int pldm_control_add_type(struct pldm_control *control, uint8_t pldm_type,
/openbmc/pldm/pldmd/
H A Dpldmd.cpp132 if (hdrFields.pldm_type != PLDM_FWUP) in processRxMsg()
135 invoker.handle(tid, hdrFields.pldm_type, hdrFields.command, in processRxMsg()
152 header.pldm_type = hdrFields.pldm_type; in processRxMsg()
169 handler.handleResponse(eid, hdrFields.instance, hdrFields.pldm_type, in processRxMsg()
/openbmc/libpldm/tests/dsp/
H A Dbase.cpp94 hdr.pldm_type = 64; in TEST()
107 hdr.pldm_type = 0; in TEST()
120 hdr.pldm_type = 63; in TEST()
151 hdr.pldm_type = 0; in TEST()
164 hdr.pldm_type = 63; in TEST()
196 EXPECT_EQ(hdr.pldm_type, 0); in TEST()
214 EXPECT_EQ(hdr.pldm_type, 63); in TEST()
228 EXPECT_EQ(hdr.pldm_type, 0); in TEST()
239 EXPECT_EQ(hdr.pldm_type, 63); in TEST()
613 uint8_t pldm_type; in TEST() local
[all …]
/openbmc/libpldm/src/oem/meta/
H A Dfile_io.c176 header.pldm_type = PLDM_OEM; in encode_oem_meta_file_io_read_resp()
/openbmc/libpldm/src/firmware_device/
H A Dfd.c1289 if (hdr.pldm_type != PLDM_FWUP) { in pldm_fd_handle_msg()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump430 'name' => 'pldm_type',
509 'name' => 'pldm_type',
10538 'name' => 'pldm_type',
10845 'name' => 'pldm_type',