Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 25 of 36) 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.c22 if (hdr->msg_type != PLDM_RESPONSE && hdr->msg_type != PLDM_REQUEST && in pack_pldm_header_errno()
23 hdr->msg_type != PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno()
35 uint8_t datagram = (hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) ? 1 : 0; in pack_pldm_header_errno()
37 if (hdr->msg_type == PLDM_RESPONSE) { in pack_pldm_header_errno()
39 } else if (hdr->msg_type == PLDM_REQUEST || in pack_pldm_header_errno()
40 hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno()
61 hdr->msg_type = PLDM_RESPONSE; in unpack_pldm_header_errno()
63 hdr->msg_type = msg->datagram ? PLDM_ASYNC_REQUEST_NOTIFY : in unpack_pldm_header_errno()
136 header.msg_type = PLDM_REQUEST; in encode_get_types_req()
152 header.msg_type = PLDM_REQUEST; in encode_get_commands_req()
[all …]
H A Dbios.c17 header.msg_type = PLDM_REQUEST; in encode_get_date_time_req()
35 header.msg_type = PLDM_RESPONSE; in encode_get_date_time_resp()
113 header.msg_type = PLDM_REQUEST; in encode_set_date_time_req()
177 header.msg_type = PLDM_RESPONSE; in encode_set_date_time_resp()
224 header.msg_type = PLDM_RESPONSE; in encode_get_bios_table_resp()
262 header.msg_type = PLDM_REQUEST; in encode_get_bios_table_req()
349 header.msg_type = PLDM_REQUEST; in encode_get_bios_attribute_current_value_by_handle_req()
443 header.msg_type = PLDM_RESPONSE; in encode_get_bios_current_value_by_handle_resp()
489 header.msg_type = PLDM_REQUEST; in encode_set_bios_attribute_current_value_req()
571 header.msg_type = PLDM_RESPONSE; in encode_set_bios_attribute_current_value_resp()
[all …]
H A Dfile.c30 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_open_req()
89 header.msg_type = PLDM_RESPONSE; in encode_pldm_file_df_open_resp()
161 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_close_req()
220 header.msg_type = PLDM_RESPONSE; in encode_pldm_file_df_close_resp()
268 header.msg_type = PLDM_REQUEST; in encode_pldm_file_df_heartbeat_req()
H A Dfru.c27 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_table_metadata_req()
87 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_table_metadata_resp()
151 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_table_resp()
313 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_by_option_req()
389 header.msg_type = PLDM_RESPONSE; in encode_get_fru_record_by_option_resp()
459 header.msg_type = PLDM_REQUEST; in encode_get_fru_record_table_req()
577 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.c1600 header.msg_type = PLDM_REQUEST; in encode_query_downstream_identifiers_req()
1726 header.msg_type = PLDM_REQUEST; in encode_get_downstream_firmware_parameters_req()
2069 header.msg_type = PLDM_REQUEST; in encode_request_update_req()
2181 .msg_type = PLDM_RESPONSE, in encode_request_update_resp()
2239 header.msg_type = PLDM_REQUEST; in encode_pass_component_table_req()
2411 header.msg_type = PLDM_REQUEST; in encode_update_component_req()
2628 header.msg_type = PLDM_RESPONSE; in encode_request_firmware_data_resp()
2699 header.msg_type = PLDM_RESPONSE; in encode_transfer_complete_resp()
2769 header.msg_type = PLDM_RESPONSE; in encode_verify_complete_resp()
2855 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.cpp41 hdr.msg_type = 0x7E; in TEST_F()
66 hdr.msg_type = 0x7E; in TEST_F()
90 hdr.msg_type = 0x7E; in TEST_F()
106 hdr.msg_type = 0x7E; in TEST_F()
181 hdr.msg_type = 0x7E; in TEST_F()
236 headerInfo.msg_type = in TEST_F()
283 headerInfo.msg_type = in TEST_F()
325 headerInfo.msg_type = in TEST_F()
388 headerInfo.msg_type = in TEST_F()
431 headerInfo.msg_type = in TEST_F()
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaGpuMctpVdm.cpp46 header.msg_type = in encodeQueryDeviceIdentificationRequest()
105 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetTemperatureReadingRequest()
171 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeReadThermalParametersRequest()
237 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetPowerDrawRequest()
301 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetCurrentEnergyCounterRequest()
366 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetVoltageRequest()
430 header.msg_type = static_cast<uint8_t>(MessageType::PLATFORM_ENVIRONMENTAL); in encodeGetInventoryInformationRequest()
510 header.msg_type = static_cast<uint8_t>(MessageType::PCIE_LINK); in encodeQueryScalarGroupTelemetryV2Request()
H A DOcpMctpVdm.cpp51 msg.ocp_accelerator_management_msg_type = hdr.msg_type; in packHeader()
H A DOcpMctpVdm.hpp72 uint8_t msg_type; member
/openbmc/qemu/hw/vfio-user/
H A Dproxy.h27 enum msg_type { enum
44 enum msg_type type;
/openbmc/qemu/hw/virtio/
H A Dtrace-events34 …, uint32_t msg_type, uint32_t asid, uint64_t iova, uint64_t size, uint64_t uaddr, uint8_t perm, ui…
35 …d *vdpa, int fd, uint32_t msg_type, uint32_t asid, uint64_t iova, uint64_t size, uint8_t type) "vd…
36 …_listener_begin_batch(void *v, int fd, uint32_t msg_type, uint8_t type) "vdpa_shared:%p fd: %d ms…
37 …_vdpa_listener_commit(void *v, int fd, uint32_t msg_type, uint8_t type) "vdpa_shared:%p fd: %d ms…
/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.cpp37 hdr.msg_type = PLDM_RESERVED; in TEST()
42 hdr.msg_type = PLDM_REQUEST; in TEST()
48 hdr.msg_type = PLDM_REQUEST; in TEST()
61 hdr.msg_type = PLDM_REQUEST; in TEST()
88 hdr.msg_type = PLDM_ASYNC_REQUEST_NOTIFY; in TEST()
105 hdr.msg_type = PLDM_RESPONSE; in TEST()
150 EXPECT_EQ(hdr.msg_type, PLDM_REQUEST); in TEST()
159 EXPECT_EQ(hdr.msg_type, PLDM_ASYNC_REQUEST_NOTIFY); in TEST()
168 EXPECT_EQ(hdr.msg_type, PLDM_REQUEST); in TEST()
182 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.h284 MessageType msg_type; //!< PLDM message type member
797 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()

12