Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/tools/patman/
H A Dcheckpatch.py125 def GetWarningMsg(col, msg_type, fname, line, msg): argument
134 if msg_type == 'warning':
135 msg_type = col.Color(col.YELLOW, msg_type)
136 elif msg_type == 'error':
137 msg_type = col.Color(col.RED, msg_type)
138 elif msg_type == 'check':
139 msg_type = col.Color(col.MAGENTA, msg_type)
140 return '%s:%d: %s: %s\n' % (fname, line, msg_type, msg)
/openbmc/libpldm/src/dsp/
H A Dbase.c23 if (hdr->msg_type != PLDM_RESPONSE && hdr->msg_type != PLDM_REQUEST && in pack_pldm_header_errno()
24 hdr->msg_type != PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno()
36 uint8_t datagram = (hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) ? 1 : 0; in pack_pldm_header_errno()
38 if (hdr->msg_type == PLDM_RESPONSE) { in pack_pldm_header_errno()
40 } else if (hdr->msg_type == PLDM_REQUEST || in pack_pldm_header_errno()
41 hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno()
62 hdr->msg_type = PLDM_RESPONSE; in unpack_pldm_header_errno()
64 hdr->msg_type = msg->datagram ? PLDM_ASYNC_REQUEST_NOTIFY : in unpack_pldm_header_errno()
195 header.msg_type = PLDM_REQUEST; in encode_get_types_req()
211 header.msg_type = PLDM_REQUEST; in encode_get_commands_req()
[all …]
H A Dbios.c19 header.msg_type = PLDM_REQUEST; in encode_get_date_time_req()
37 header.msg_type = PLDM_RESPONSE; in encode_get_date_time_resp()
115 header.msg_type = PLDM_REQUEST; in encode_set_date_time_req()
179 header.msg_type = PLDM_RESPONSE; in encode_set_date_time_resp()
226 header.msg_type = PLDM_RESPONSE; in encode_get_bios_table_resp()
264 header.msg_type = PLDM_REQUEST; in encode_get_bios_table_req()
351 header.msg_type = PLDM_REQUEST; in encode_get_bios_attribute_current_value_by_handle_req()
445 header.msg_type = PLDM_RESPONSE; in encode_get_bios_current_value_by_handle_resp()
491 header.msg_type = PLDM_REQUEST; in encode_set_bios_attribute_current_value_req()
573 header.msg_type = PLDM_RESPONSE; in encode_set_bios_attribute_current_value_resp()
[all …]
H A Dfile.c29 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_open_req()
88 header.msg_type = PLDM_RESPONSE; in encode_pldm_file_df_open_resp()
160 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_close_req()
219 header.msg_type = PLDM_RESPONSE; in encode_pldm_file_df_close_resp()
267 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_heartbeat_req()
H A Dfru.c26 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_table_metadata_req()
86 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_table_metadata_resp()
150 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_table_resp()
312 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_by_option_req()
388 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_by_option_resp()
458 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_table_req()
576 header.msg_type = PLDM_RESPONSE; in encode_set_fru_record_table_resp()
H A Dbase.h16 int encode_pldm_header_only_errno(uint8_t msg_type, uint8_t instance_id,
H A Dplatform.c186 header.msg_type = PLDM_RESPONSE; in encode_set_state_effecter_states_resp()
218 header.msg_type = PLDM_REQUEST; in encode_set_state_effecter_states_req()
362 header.msg_type = PLDM_RESPONSE; in encode_get_pdr_resp()
406 header.msg_type = PLDM_REQUEST; in encode_get_pdr_repository_info_req()
427 header.msg_type = PLDM_RESPONSE; in encode_get_pdr_repository_info_resp()
600 header.msg_type = PLDM_REQUEST; in encode_get_pdr_req()
796 header.msg_type = PLDM_RESPONSE; in encode_set_numeric_effecter_value_resp()
828 header.msg_type = PLDM_REQUEST; in encode_set_numeric_effecter_value_req()
910 header.msg_type = PLDM_RESPONSE; in encode_get_state_sensor_readings_resp()
942 header.msg_type = PLDM_REQUEST; in encode_get_state_sensor_readings_req()
[all …]
H A Dfirmware_update.c1599 header.msg_type = PLDM_REQUEST; in encode_query_downstream_identifiers_req()
1725 header.msg_type = PLDM_REQUEST; in encode_get_downstream_firmware_parameters_req()
2068 header.msg_type = PLDM_REQUEST; in encode_request_update_req()
2180 .msg_type = PLDM_RESPONSE, in encode_request_update_resp()
2238 header.msg_type = PLDM_REQUEST; in encode_pass_component_table_req()
2410 header.msg_type = PLDM_REQUEST; in encode_update_component_req()
2627 header.msg_type = PLDM_RESPONSE; in encode_request_firmware_data_resp()
2698 header.msg_type = PLDM_RESPONSE; in encode_transfer_complete_resp()
2768 header.msg_type = PLDM_RESPONSE; in encode_verify_complete_resp()
2854 header.msg_type = PLDM_RESPONSE; in encode_apply_complete_resp()
[all …]
/openbmc/libmctp/
H A Dcontrol.c128 switch (req->msg_type) { in mctp_ctrl_get_version()
281 int mctp_control_add_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_add_type() argument
285 if (mctp->control.msg_types[i] == msg_type) { in mctp_control_add_type()
294 mctp->control.msg_types[mctp->control.num_msg_types] = msg_type; in mctp_control_add_type()
299 void mctp_control_remove_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_remove_type() argument
302 if (mctp->control.msg_types[i] == msg_type) { in mctp_control_remove_type()
H A Dlibmctp.h247 int mctp_control_add_type(struct mctp *mctp, uint8_t msg_type);
248 void mctp_control_remove_type(struct mctp *mctp, uint8_t msg_type);
H A Dlibmctp-cmds.h121 uint8_t msg_type; member
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c43 header.msg_type = PLDM_RESPONSE; in encode_rw_file_memory_resp()
73 header.msg_type = PLDM_REQUEST; in encode_rw_file_memory_req()
150 header.msg_type = PLDM_RESPONSE; in encode_get_file_table_resp()
182 header.msg_type = PLDM_REQUEST; in encode_get_file_table_req()
275 header.msg_type = PLDM_REQUEST; in encode_read_file_req()
331 header.msg_type = PLDM_RESPONSE; in encode_read_file_resp()
393 header.msg_type = PLDM_REQUEST; in encode_write_file_req()
444 header.msg_type = PLDM_RESPONSE; in encode_write_file_resp()
501 header.msg_type = PLDM_RESPONSE; in encode_rw_file_by_type_memory_resp()
531 header.msg_type = PLDM_REQUEST; in encode_rw_file_by_type_memory_req()
[all …]
H A Dhost.c22 header.msg_type = PLDM_REQUEST; in encode_get_alert_status_req()
96 header.msg_type = PLDM_RESPONSE; in encode_get_alert_status_resp()
H A Dplatform.c44 header.msg_type = PLDM_REQUEST; in encode_bios_attribute_update_event_req()
/openbmc/dbus-sensors/src/tests/
H A Dtest_NvidiaGpuSensorTest.cpp44 hdr.msg_type = 0x7E; in TEST_F()
69 hdr.msg_type = 0x7E; in TEST_F()
93 hdr.msg_type = 0x7E; in TEST_F()
109 hdr.msg_type = 0x7E; in TEST_F()
184 hdr.msg_type = 0x7E; in TEST_F()
239 headerInfo.msg_type = in TEST_F()
286 headerInfo.msg_type = in TEST_F()
328 headerInfo.msg_type = in TEST_F()
391 headerInfo.msg_type = in TEST_F()
434 headerInfo.msg_type = in TEST_F()
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaGpuMctpVdm.cpp52 header.msg_type = in encodeQueryDeviceIdentificationRequest()
111 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetTemperatureReadingRequest()
177 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeReadThermalParametersRequest()
243 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetPowerDrawRequest()
307 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetCurrentEnergyCounterRequest()
372 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetVoltageRequest()
437 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetDriverInformationRequest()
504 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetInventoryInformationRequest()
595 header.msg_type = static_cast<uint8_t>(MessageType::PCIE_LINK); in encodeQueryScalarGroupTelemetryV2Request()
681 header.msg_type in encodeListPciePortsRequest()
[all...]
H A DOcpMctpVdm.hpp73 uint8_t msg_type; member
H A DOcpMctpVdm.cpp54 msg.ocp_accelerator_management_msg_type = hdr.msg_type; in packHeader()
/openbmc/qemu/hw/vfio-user/
H A Dproxy.h27 enum msg_type { enum
44 enum msg_type type;
/openbmc/pldm/pldmd/
H A Dpldmd.cpp125 if (PLDM_RESPONSE != hdrFields.msg_type) in processRxMsg()
150 header.msg_type = PLDM_RESPONSE; in processRxMsg()
165 else if (PLDM_RESPONSE == hdrFields.msg_type) in processRxMsg()
/openbmc/libpldm/tests/dsp/
H A Dbase.cpp81 hdr.msg_type = PLDM_RESERVED; in TEST()
86 hdr.msg_type = PLDM_REQUEST; in TEST()
92 hdr.msg_type = PLDM_REQUEST; in TEST()
105 hdr.msg_type = PLDM_REQUEST; in TEST()
132 hdr.msg_type = PLDM_ASYNC_REQUEST_NOTIFY; in TEST()
149 hdr.msg_type = PLDM_RESPONSE; in TEST()
194 EXPECT_EQ(hdr.msg_type, PLDM_REQUEST); in TEST()
203 EXPECT_EQ(hdr.msg_type, PLDM_ASYNC_REQUEST_NOTIFY); in TEST()
212 EXPECT_EQ(hdr.msg_type, PLDM_REQUEST); in TEST()
226 EXPECT_EQ(hdr.msg_type, PLDM_RESPONSE); in TEST()
[all …]
/openbmc/dbus-sensors/include/linux/
H A Dpeci-ioctl.h491 __u8 msg_type; member
532 __u8 msg_type; member
/openbmc/libpldm/include/libpldm/
H A Dbase.h297 MessageType msg_type; //!< PLDM message type member
810 int encode_pldm_header_only(uint8_t msg_type, uint8_t instance_id,
/openbmc/libpldm/src/oem/meta/
H A Dfile_io.c175 header.msg_type = PLDM_RESPONSE; in encode_oem_meta_file_io_read_resp()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch71 /* mds_indentifire + mds_version + msg_type + scope_type + server_type +

12