Home
last modified time | relevance | path

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

/openbmc/libpldm/tests/dsp/
H A Dbase.cpp50 hdr.pldm_type = 64; in TEST()
63 hdr.pldm_type = 0; in TEST()
76 hdr.pldm_type = 63; in TEST()
107 hdr.pldm_type = 0; in TEST()
120 hdr.pldm_type = 63; in TEST()
152 EXPECT_EQ(hdr.pldm_type, 0); in TEST()
170 EXPECT_EQ(hdr.pldm_type, 63); in TEST()
184 EXPECT_EQ(hdr.pldm_type, 0); in TEST()
195 EXPECT_EQ(hdr.pldm_type, 63); in TEST()
551 uint8_t pldm_type in TEST()
549 uint8_t pldm_type = 0x0; TEST() local
598 uint8_t pldm_type; TEST() local
630 uint8_t pldm_type; TEST() local
662 uint8_t pldm_type; TEST() local
696 uint8_t pldm_type; TEST() local
732 uint8_t pldm_type; TEST() local
[all...]
/openbmc/libpldm/src/dsp/
H A Dbase.c31 if (hdr->pldm_type > (PLDM_MAX_TYPES - 1)) { in pack_pldm_header_errno()
47 msg->type = hdr->pldm_type; in pack_pldm_header_errno()
68 hdr->pldm_type = msg->type; in unpack_pldm_header_errno()
313 header.pldm_type = PLDM_BASE; in encode_get_version_req()
344 header.pldm_type = PLDM_BASE; in encode_get_version_resp()
507 size_t payload_length, uint8_t *pldm_type, in decode_multipart_receive_req()
514 if (msg == NULL || pldm_type == NULL || transfer_opflag == NULL || in decode_multipart_receive_req()
527 if (request->pldm_type != PLDM_BASE) { in decode_multipart_receive_req()
549 *pldm_type = request->pldm_type; in decode_multipart_receive_req()
506 decode_multipart_receive_req(const struct pldm_msg * msg,size_t payload_length,uint8_t * pldm_type,uint8_t * transfer_opflag,uint32_t * transfer_ctx,uint32_t * transfer_handle,uint32_t * section_offset,uint32_t * section_length) decode_multipart_receive_req() argument
583 encode_pldm_header_only_errno(uint8_t msg_type,uint8_t instance_id,uint8_t pldm_type,uint8_t command,struct pldm_msg * msg) encode_pldm_header_only_errno() argument
600 encode_pldm_header_only(uint8_t msg_type,uint8_t instance_id,uint8_t pldm_type,uint8_t command,struct pldm_msg * msg) encode_pldm_header_only() argument
[all...]
H A Dbios.c19 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 Dfru.c28 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 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()
411 header.pldm_type = PLDM_PLATFORM; in encode_get_pdr_repository_info_resp()
584 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()
1192 header.pldm_type in encode_platform_event_message_resp()
[all...]
H A Dbase.h17 uint8_t pldm_type, uint8_t command,
H A Dfirmware_update.c1265 header.pldm_type = PLDM_FWUP; in encode_query_downstream_identifiers_req()
1391 header.pldm_type = PLDM_FWUP; in encode_get_downstream_firmware_parameters_req()
1594 header.pldm_type = PLDM_FWUP; in encode_request_update_req()
1706 .pldm_type = PLDM_FWUP, in encode_request_update_resp()
1764 header.pldm_type = PLDM_FWUP; in encode_pass_component_table_req()
1936 header.pldm_type = PLDM_FWUP; in encode_update_component_req()
2153 header.pldm_type = PLDM_FWUP; in encode_request_firmware_data_req()
2224 header.pldm_type = PLDM_FWUP; in encode_transfer_complete_req()
2294 header.pldm_type = PLDM_FWUP; in encode_verify_complete_req()
2380 header.pldm_type in encode_apply_complete_req()
[all...]
/openbmc/libpldm/src/
H A Dcontrol.c102 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 Dcontrol-internal.h26 uint8_t pldm_type; member
/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/libpldm/include/libpldm/
H A Dbase.h261 uint8_t pldm_type; //!< PLDM type
343 uint8_t pldm_type; //!< PLDM Type for the MultipartReceive
645 * @param[out] pldm_type - PLDM type for which version is requested
654 size_t payload_length, uint8_t *pldm_type,
715 * @param[in] pldm_type - PLDM Type
722 uint8_t pldm_type, uint8_t command,
249 uint8_t pldm_type; //!< PLDM type global() member
331 uint8_t pldm_type; //!< PLDM Type for the MultipartReceive global() member
H A Dcontrol.h58 int pldm_control_add_type(struct pldm_control *control, uint8_t pldm_type,
/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/pldm/pldmd/
H A Dpldmd.cpp125 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 Dfile_io.c176 header.pldm_type = PLDM_OEM; in encode_oem_meta_file_io_read_resp()
/openbmc/libpldm/src/firmware_device/
H A Dfd.c1290 if (hdr.pldm_type != PLDM_FWUP) { in pldm_fd_handle_msg()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump452 'name' => 'pldm_type',
480 'name' => 'pldm_type',
10129 'name' => 'pldm_type',