Home
last modified time | relevance | path

Searched full:msg (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/openbmc/u-boot/drivers/misc/imx8/
H A Dscu_api.c22 struct sc_rpc_msg_s msg; in sc_pm_set_clock_rate() local
25 RPC_VER(&msg) = SC_RPC_VERSION; in sc_pm_set_clock_rate()
26 RPC_SVC(&msg) = (u8)SC_RPC_SVC_PM; in sc_pm_set_clock_rate()
27 RPC_FUNC(&msg) = (u8)PM_FUNC_SET_CLOCK_RATE; in sc_pm_set_clock_rate()
28 RPC_U32(&msg, 0U) = *(u32 *)rate; in sc_pm_set_clock_rate()
29 RPC_U16(&msg, 4U) = (u16)resource; in sc_pm_set_clock_rate()
30 RPC_U8(&msg, 6U) = (u8)clk; in sc_pm_set_clock_rate()
31 RPC_SIZE(&msg) = 3U; in sc_pm_set_clock_rate()
33 ret = misc_call(dev, SC_FALSE, &msg, size, &msg, size); in sc_pm_set_clock_rate()
36 __func__, *rate, resource, clk, RPC_R8(&msg)); in sc_pm_set_clock_rate()
[all …]
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp26 } msg; in TEST() local
27 msg.hdr.ifi_type = 3; in TEST()
28 msg.hdr.ifi_index = 1; in TEST()
29 msg.hdr.ifi_flags = 2; in TEST()
30 EXPECT_EQ(intfFromRtm(stdplus::raw::asView<char>(msg)), in TEST()
46 } msg; in TEST() local
47 msg.hdr.ifi_type = 4; in TEST()
48 msg.hdr.ifi_index = 1; in TEST()
49 msg.hdr.ifi_flags = 2; in TEST()
50 msg.addr_hdr.rta_type = IFLA_ADDRESS; in TEST()
[all …]
/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c9 int decode_rw_file_memory_req(const struct pldm_msg *msg, size_t payload_length, in decode_rw_file_memory_req() argument
13 if (msg == NULL || file_handle == NULL || offset == NULL || in decode_rw_file_memory_req()
23 (struct pldm_read_write_file_memory_req *)msg->payload; in decode_rw_file_memory_req()
36 struct pldm_msg *msg) in encode_rw_file_memory_resp() argument
38 if (msg == NULL) { in encode_rw_file_memory_resp()
47 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_rw_file_memory_resp()
53 (struct pldm_read_write_file_memory_resp *)msg->payload; in encode_rw_file_memory_resp()
66 struct pldm_msg *msg) in encode_rw_file_memory_req() argument
68 if (msg == NULL) { in encode_rw_file_memory_req()
77 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_rw_file_memory_req()
[all …]
/openbmc/libpldm/src/dsp/
H A Dbase.c17 struct pldm_msg_hdr *msg) in pack_pldm_header_errno()
19 if (msg == NULL || hdr == NULL) { in pack_pldm_header_errno()
39 msg->request = PLDM_RESPONSE; in pack_pldm_header_errno()
42 msg->request = PLDM_REQUEST; in pack_pldm_header_errno()
44 msg->datagram = datagram; in pack_pldm_header_errno()
45 msg->reserved = 0; in pack_pldm_header_errno()
46 msg->instance_id = hdr->instance; in pack_pldm_header_errno()
47 msg->header_ver = PLDM_CURRENT_VERSION; in pack_pldm_header_errno()
48 msg->type = hdr->pldm_type; in pack_pldm_header_errno()
49 msg in pack_pldm_header_errno()
16 pack_pldm_header_errno(const struct pldm_header_info * hdr,struct pldm_msg_hdr * msg) pack_pldm_header_errno() argument
53 unpack_pldm_header_errno(const struct pldm_msg_hdr * msg,struct pldm_header_info * hdr) unpack_pldm_header_errno() argument
76 pack_pldm_header(const struct pldm_header_info * hdr,struct pldm_msg_hdr * msg) pack_pldm_header() argument
97 unpack_pldm_header(const struct pldm_msg_hdr * msg,struct pldm_header_info * hdr) unpack_pldm_header() argument
128 encode_get_types_req(uint8_t instance_id,struct pldm_msg * msg) encode_get_types_req() argument
144 encode_get_commands_req(uint8_t instance_id,uint8_t type,ver32_t version,struct pldm_msg * msg) encode_get_commands_req() argument
171 encode_get_types_resp(uint8_t instance_id,uint8_t completion_code,const bitfield8_t * types,struct pldm_msg * msg) encode_get_types_resp() argument
201 decode_get_commands_req(const struct pldm_msg * msg,size_t payload_length,uint8_t * type,ver32_t * version) decode_get_commands_req() argument
221 encode_get_commands_resp(uint8_t instance_id,uint8_t completion_code,const bitfield8_t * commands,struct pldm_msg * msg) encode_get_commands_resp() argument
251 decode_get_types_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,bitfield8_t * types) decode_get_types_resp() argument
276 decode_get_commands_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,bitfield8_t * commands) decode_get_commands_resp() argument
304 encode_get_version_req(uint8_t instance_id,uint32_t transfer_handle,uint8_t transfer_opflag,uint8_t type,struct pldm_msg * msg) encode_get_version_req() argument
335 encode_get_version_resp(uint8_t instance_id,uint8_t completion_code,uint32_t next_transfer_handle,uint8_t transfer_flag,const ver32_t * version_data,size_t version_size,struct pldm_msg * msg) encode_get_version_resp() argument
365 decode_get_version_req(const struct pldm_msg * msg,size_t payload_length,uint32_t * transfer_handle,uint8_t * transfer_opflag,uint8_t * type) decode_get_version_req() argument
382 decode_get_version_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint32_t * next_transfer_handle,uint8_t * transfer_flag,ver32_t * version) decode_get_version_resp() argument
412 encode_get_tid_req(uint8_t instance_id,struct pldm_msg * msg) encode_get_tid_req() argument
428 encode_get_tid_resp(uint8_t instance_id,uint8_t completion_code,uint8_t tid,struct pldm_msg * msg) encode_get_tid_resp() argument
453 decode_get_tid_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint8_t * tid) decode_get_tid_resp() argument
478 encode_set_tid_req(uint8_t instance_id,uint8_t tid,struct pldm_msg * msg) encode_set_tid_req() argument
506 decode_set_tid_req(const struct pldm_msg * msg,size_t payload_length,uint8_t * tid) decode_set_tid_req() argument
528 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
589 encode_pldm_base_multipart_receive_req(uint8_t instance_id,const struct pldm_base_multipart_receive_req * req,struct pldm_msg * msg,size_t * payload_length) encode_pldm_base_multipart_receive_req() argument
627 decode_pldm_base_multipart_receive_resp(const struct pldm_msg * msg,size_t payload_length,struct pldm_base_multipart_receive_resp * resp,uint32_t * data_integrity_checksum) decode_pldm_base_multipart_receive_resp() argument
682 encode_base_multipart_receive_resp(uint8_t instance_id,const struct pldm_base_multipart_receive_resp * resp,uint32_t checksum,struct pldm_msg * msg,size_t * payload_length) encode_base_multipart_receive_resp() argument
748 encode_cc_only_resp(uint8_t instance_id,uint8_t type,uint8_t command,uint8_t cc,struct pldm_msg * msg) encode_cc_only_resp() argument
772 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
789 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
803 encode_pldm_base_negotiate_transfer_params_req(uint8_t instance_id,const struct pldm_base_negotiate_transfer_params_req * req,struct pldm_msg * msg,size_t * payload_length) encode_pldm_base_negotiate_transfer_params_req() argument
848 encode_pldm_base_negotiate_transfer_params_resp(uint8_t instance_id,const struct pldm_base_negotiate_transfer_params_resp * resp,struct pldm_msg * msg,size_t * payload_length) encode_pldm_base_negotiate_transfer_params_resp() argument
894 decode_pldm_base_negotiate_transfer_params_req(const struct pldm_msg * msg,size_t payload_length,struct pldm_base_negotiate_transfer_params_req * req) decode_pldm_base_negotiate_transfer_params_req() argument
926 decode_pldm_base_negotiate_transfer_params_resp(const struct pldm_msg * msg,size_t payload_length,struct pldm_base_negotiate_transfer_params_resp * resp) decode_pldm_base_negotiate_transfer_params_resp() argument
[all...]
H A Dbios.c12 int encode_get_date_time_req(uint8_t instance_id, struct pldm_msg *msg) in encode_get_date_time_req()
14 if (msg == NULL) { in encode_get_date_time_req()
23 return pack_pldm_header(&header, &(msg->hdr));
30 struct pldm_msg *msg) in encode_get_date_time_resp()
32 if (msg == NULL) { in encode_get_date_time_resp()
42 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_date_time_resp()
48 (struct pldm_get_date_time_resp *)msg->payload; in encode_get_date_time_resp()
63 int decode_get_date_time_resp(const struct pldm_msg *msg, size_t payload_length, in decode_get_date_time_resp()
68 if (msg == NULL || seconds == NULL || minutes == NULL || in decode_get_date_time_resp()
74 *completion_code = msg in decode_get_date_time_resp()
10 encode_get_date_time_req(uint8_t instance_id,struct pldm_msg * msg) encode_get_date_time_req() argument
28 encode_get_date_time_resp(uint8_t instance_id,uint8_t completion_code,uint8_t seconds,uint8_t minutes,uint8_t hours,uint8_t day,uint8_t month,uint16_t year,struct pldm_msg * msg) encode_get_date_time_resp() argument
61 decode_get_date_time_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint8_t * seconds,uint8_t * minutes,uint8_t * hours,uint8_t * day,uint8_t * month,uint16_t * year) decode_get_date_time_resp() argument
97 encode_set_date_time_req(uint8_t instance_id,uint8_t seconds,uint8_t minutes,uint8_t hours,uint8_t day,uint8_t month,uint16_t year,struct pldm_msg * msg,size_t payload_length) encode_set_date_time_req() argument
135 decode_set_date_time_req(const struct pldm_msg * msg,size_t payload_length,uint8_t * seconds,uint8_t * minutes,uint8_t * hours,uint8_t * day,uint8_t * month,uint16_t * year) decode_set_date_time_req() argument
166 encode_set_date_time_resp(uint8_t instance_id,uint8_t completion_code,struct pldm_msg * msg,size_t payload_length) encode_set_date_time_resp() argument
194 decode_set_date_time_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code) decode_set_date_time_resp() argument
217 encode_get_bios_table_resp(uint8_t instance_id,uint8_t completion_code,uint32_t next_transfer_handle,uint8_t transfer_flag,uint8_t * table_data,size_t payload_length,struct pldm_msg * msg) encode_get_bios_table_resp() argument
255 encode_get_bios_table_req(uint8_t instance_id,uint32_t transfer_handle,uint8_t transfer_op_flag,uint8_t table_type,struct pldm_msg * msg) encode_get_bios_table_req() argument
282 decode_get_bios_table_req(const struct pldm_msg * msg,size_t payload_length,uint32_t * transfer_handle,uint8_t * transfer_op_flag,uint8_t * table_type) decode_get_bios_table_req() argument
305 decode_get_bios_table_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint32_t * next_transfer_handle,uint8_t * transfer_flag,size_t * bios_table_offset) decode_get_bios_table_resp() argument
342 encode_get_bios_attribute_current_value_by_handle_req(uint8_t instance_id,uint32_t transfer_handle,uint8_t transfer_op_flag,uint16_t attribute_handle,struct pldm_msg * msg) encode_get_bios_attribute_current_value_by_handle_req() argument
371 decode_get_bios_attribute_current_value_by_handle_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint32_t * next_transfer_handle,uint8_t * transfer_flag,struct variable_field * attribute_data) decode_get_bios_attribute_current_value_by_handle_resp() argument
406 decode_get_bios_attribute_current_value_by_handle_req(const struct pldm_msg * msg,size_t payload_length,uint32_t * transfer_handle,uint8_t * transfer_op_flag,uint16_t * attribute_handle) decode_get_bios_attribute_current_value_by_handle_req() argument
436 encode_get_bios_current_value_by_handle_resp(uint8_t instance_id,uint8_t completion_code,uint32_t next_transfer_handle,uint8_t transfer_flag,const uint8_t * attribute_data,size_t attribute_length,struct pldm_msg * msg) encode_get_bios_current_value_by_handle_resp() argument
472 encode_set_bios_attribute_current_value_req(uint8_t instance_id,uint32_t transfer_handle,uint8_t transfer_flag,const uint8_t * attribute_data,size_t attribute_length,struct pldm_msg * msg,size_t payload_length) encode_set_bios_attribute_current_value_req() argument
508 decode_set_bios_attribute_current_value_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint32_t * next_transfer_handle) decode_set_bios_attribute_current_value_resp() argument
538 decode_set_bios_attribute_current_value_req(const struct pldm_msg * msg,size_t payload_length,uint32_t * transfer_handle,uint8_t * transfer_flag,struct variable_field * attribute) decode_set_bios_attribute_current_value_req() argument
564 encode_set_bios_attribute_current_value_resp(uint8_t instance_id,uint8_t completion_code,uint32_t next_transfer_handle,struct pldm_msg * msg) encode_set_bios_attribute_current_value_resp() argument
593 encode_set_bios_table_req(uint8_t instance_id,uint32_t transfer_handle,uint8_t transfer_flag,uint8_t table_type,const uint8_t * table_data,size_t table_length,struct pldm_msg * msg,size_t payload_length) encode_set_bios_table_req() argument
633 decode_set_bios_table_resp(const struct pldm_msg * msg,size_t payload_length,uint8_t * completion_code,uint32_t * next_transfer_handle) decode_set_bios_table_resp() argument
662 encode_set_bios_table_resp(uint8_t instance_id,uint8_t completion_code,uint32_t next_transfer_handle,struct pldm_msg * msg) encode_set_bios_table_resp() argument
688 decode_set_bios_table_req(const struct pldm_msg * msg,size_t payload_length,uint32_t * transfer_handle,uint8_t * transfer_flag,uint8_t * table_type,struct variable_field * table) decode_set_bios_table_req() argument
[all...]
H A Dfile.c19 struct pldm_msg *msg, size_t *payload_length) in encode_pldm_file_df_open_req() argument
24 if (req == NULL || msg == NULL) { in encode_pldm_file_df_open_req()
34 rc = pack_pldm_header_errno(&header, &(msg->hdr)); in encode_pldm_file_df_open_req()
39 rc = pldm_msgbuf_init_errno(buf, PLDM_DF_OPEN_REQ_BYTES, msg->payload, in encode_pldm_file_df_open_req()
52 int decode_pldm_file_df_open_req(const struct pldm_msg *msg, in decode_pldm_file_df_open_req() argument
59 if (!msg || !req) { in decode_pldm_file_df_open_req()
63 rc = pldm_msgbuf_init_errno(buf, PLDM_DF_OPEN_REQ_BYTES, msg->payload, in decode_pldm_file_df_open_req()
78 struct pldm_msg *msg, size_t *payload_length) in encode_pldm_file_df_open_resp() argument
83 if (!msg || !resp) { in encode_pldm_file_df_open_resp()
93 rc = pack_pldm_header_errno(&header, &(msg->hdr)); in encode_pldm_file_df_open_resp()
[all …]
/openbmc/u-boot/tools/patman/
H A Dtout.py59 def Progress(msg, warning=False, trailer='...'): argument
63 msg: Message to display.
68 _progress = msg + trailer
77 def _Output(level, msg, color=None): argument
83 msg; Message to display.
89 msg = _color.Color(color, msg)
90 _stdout.write(msg + '\n')
92 def DoOutput(level, msg): argument
98 msg; Message to display.
100 _Output(level, msg)
[all …]
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin/
H A D0002-parsers-Generalise-input-to-array-of-gchar.patch33 + if (G_LIKELY(msg->response_body && msg->response_body->data)) {
34 + body = msg->response_body->data;
35 + len = msg->response_body->length;
44 - parse_xml_document(msg, (XmlParseFunc) parse_altitude);
56 + if (G_LIKELY(msg->response_body && msg->response_body->data)) {
57 + body = msg->response_body->data;
58 + len = msg->response_body->length;
67 - parse_xml_document(msg, (XmlParseFunc) parse_timezone);
80 -get_xml_document(SoupMessage *msg)
83 - if (G_LIKELY(msg && msg->response_body && msg->response_body->data)) {
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/
H A Ddata.py37 with msg as the reason.
40 attrs = ('var', 'value', 'msg')
43 msg = ('Checking if %r value is %r to skip test' %
45 self.logger.debug(msg)
47 self.case.skipTest(self.msg)
56 test with msg as the reason.
59 attrs = ('var', 'value', 'msg')
62 msg = ('Checking if %r value is not %r to skip test' %
64 self.logger.debug(msg)
66 self.case.skipTest(self.msg)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Drust.py31 msg = 'rust compile failed, output: %s' % output
32 self.assertEqual(status, 0, msg=msg)
35 msg = 'running compiled file failed, output: %s' % output
36 self.assertEqual(status, 0, msg=msg)
43 msg = 'cargo new failed, output: %s' % output
44 self.assertEqual(status, 0, msg=msg)
47 msg = 'cargo build failed, output: %s' % output
48 self.assertEqual(status, 0, msg=msg)
51 msg = 'running compiled file failed, output: %s' % output
52 self.assertEqual(status, 0, msg=msg)
[all …]
H A Drpm.py23 msg = 'status and output: %s and %s' % (status, output)
24 self.assertEqual(status, 0, msg=msg)
32 msg = 'status and output: %s and %s' % (status, output)
33 self.assertEqual(status, 0, msg=msg)
42 msg = 'Failed to create new user: %s' % output
43 self.assertTrue(status == 0, msg=msg)
47 msg = 'Failed to execute as new user'
48 self.assertTrue("({0})".format(u) in output, msg=msg)
51 msg = 'status: %s. Cannot run rpm -qa: %s' % (status, output)
52 self.assertEqual(status, 0, msg=msg)
[all …]
H A Dlogrotate.py31 msg = ('Could not create/update /var/log/wtmp with touch')
32 self.assertEqual(status, 0, msg = msg)
35 msg = ('Could not create logrotate_dir. Output: %s' % output)
36 self.assertEqual(status, 0, msg = msg)
39 msg = ('Could not write to /tmp/logrotate-test.conf')
40 self.assertEqual(status, 0, msg = msg)
45msg = ("logrotate did not successfully rotate the wtmp log. Output from logrotate -vf: \n%s" % (lo…
46 self.assertEqual(status, 0, msg = msg)
52 msg = ('Could not create logrotate test file in /var/log')
53 self.assertEqual(status, 0, msg = msg)
[all …]
H A Dgcc.py36 msg = 'gcc compile failed, output: %s' % output
37 self.assertEqual(status, 0, msg=msg)
40 msg = 'running compiled file failed, output: %s' % output
41 self.assertEqual(status, 0, msg=msg)
47 msg = 'g++ compile failed, output: %s' % output
48 self.assertEqual(status, 0, msg=msg)
51 msg = 'running compiled file failed, output: %s' % output
52 self.assertEqual(status, 0, msg=msg)
58 msg = 'g++ compile failed, output: %s' % output
59 self.assertEqual(status, 0, msg=msg)
[all …]
H A Dstorage.py19 msg = ('Mount failed: %s.' % status)
20 cls.assertFalse(output, msg = msg)
25 msg = ('Device %s not mounted.' % cls.device)
26 cls.assertTrue(match, msg = msg)
31 msg = ('Failed to cleanup files @ %s/*' % cls.test_dir)
32 cls.assertFalse(output, msg = msg)
38 msg = ('File %s not created on %s' % (cls.test_file, cls.device))
39 cls.assertFalse(status, msg = msg)
43 msg = ('File %s not moved to %s' % (cls.test_file, cls.device))
44 cls.assertFalse(status, msg = msg)
[all …]
/openbmc/qemu/hw/remote/
H A Dmpqemu-link.c34 bool mpqemu_msg_send(MPQemuMsg *msg, QIOChannel *ioc, Error **errp) in mpqemu_msg_send() argument
43 send[0].iov_base = msg; in mpqemu_msg_send()
46 send[1].iov_base = (void *)&msg->data; in mpqemu_msg_send()
47 send[1].iov_len = msg->size; in mpqemu_msg_send()
49 if (msg->num_fds) { in mpqemu_msg_send()
50 nfds = msg->num_fds; in mpqemu_msg_send()
51 fds = msg->fds; in mpqemu_msg_send()
74 trace_mpqemu_send_io_error(msg->cmd, msg->size, nfds); in mpqemu_msg_send()
122 bool mpqemu_msg_recv(MPQemuMsg *msg, QIOChannel *ioc, Error **errp) in mpqemu_msg_recv() argument
130 len = mpqemu_read(ioc, msg, MPQEMU_MSG_HDR_SIZE, &fds, &nfds, errp); in mpqemu_msg_recv()
[all …]
/openbmc/libpldm/tests/transport/
H A Dtransport.cpp19 const uint8_t msg[] = {0x81, 0x00, 0x01, 0x01}; in TEST() local
26 .msg = msg, in TEST()
27 .len = sizeof(msg), in TEST()
37 rc = pldm_transport_send_msg(ctx, 1, msg, sizeof(msg)); in TEST()
44 uint8_t msg[] = {0x01, 0x00, 0x01, 0x00}; in TEST() local
52 .msg = msg, in TEST()
53 .len = sizeof(msg), in TEST()
68 EXPECT_EQ(len, sizeof(msg)); in TEST()
69 EXPECT_EQ(memcmp(recvd, msg, len), 0); in TEST()
86 .msg = unwanted, in TEST()
[all …]
/openbmc/phosphor-bmc-code-mgmt/common/i2c/
H A Di2c.cpp46 struct i2c_msg msg[2]; in sendReceive() local
52 msg[msgIndex].addr = deviceNode; in sendReceive()
53 msg[msgIndex].flags = 0; in sendReceive()
54 msg[msgIndex].len = writeSize; in sendReceive()
55 msg[msgIndex].buf = writeData; in sendReceive()
61 msg[msgIndex].addr = deviceNode; in sendReceive()
62 msg[msgIndex].flags = I2C_M_RD; in sendReceive()
63 msg[msgIndex].len = readSize; in sendReceive()
64 msg[msgIndex].buf = readData; in sendReceive()
68 readWriteData.msgs = msg; in sendReceive()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-powercycle25 msg="Execute host$CHASSIS_ID DC power cycle"
26 echo "${msg}"
27 add_sel "${msg}" "Info"
31 msg="Wait power control flock release for host$CHASSIS_ID DC cycle"
32 echo "${msg}"
33 add_sel "${msg}" "Info"
48 msg="Host$CHASSIS_ID system DC power is off"
49 echo "${msg}"
50 add_sel "${msg}" "Info"
60 msg="Host$CHASSIS_ID DC power cycle failed, fail to set host$CHASSIS_ID DC power off"
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dmv_i2c.c125 static int i2c_transfer(struct mv_i2c *base, struct mv_i2c_msg *msg) in i2c_transfer() argument
129 if (!msg) in i2c_transfer()
132 switch (msg->direction) { in i2c_transfer()
141 writel(msg->data, &base->idbr); in i2c_transfer()
142 if (msg->condition == I2C_COND_START) in i2c_transfer()
144 if (msg->condition == I2C_COND_STOP) in i2c_transfer()
146 if (msg->acknack == I2C_ACKNAK_SENDNAK) in i2c_transfer()
148 if (msg->acknack == I2C_ACKNAK_SENDACK) in i2c_transfer()
161 if (msg->acknack == I2C_ACKNAK_WAITACK) in i2c_transfer()
175 if (msg->condition == I2C_COND_START) in i2c_transfer()
[all …]
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dsuricata.py33 msg = ('suricata command does not work as expected. '
35 self.assertEqual(status, 1, msg = msg)
42 msg = 'File could not be copied. Output: %s' % output
43 self.assertEqual(status, 0, msg=msg)
46 msg = ('ping openinfosecfoundation.org failed: output is:\n%s' % output)
47 self.assertEqual(status, 0, msg = msg)
53 msg = ('suricata-update had an unexpected failure. '
55 self.assertEqual(status, 0, msg = msg)
60 msg = ('suricata-update list-sources had an unexpected failure. '
62 self.assertEqual(status, 0, msg = msg)
[all …]
/openbmc/ipmitool/src/plugins/dummy/
H A Ddummy.c156 req.msg.netfn = 0x3f; in ipmi_dummyipmi_close()
157 req.msg.cmd = 0xff; in ipmi_dummyipmi_close()
218 req_dummy.msg.netfn = req->msg.netfn; in ipmi_dummyipmi_send_cmd()
219 req_dummy.msg.lun = req->msg.lun; in ipmi_dummyipmi_send_cmd()
220 req_dummy.msg.cmd = req->msg.cmd; in ipmi_dummyipmi_send_cmd()
221 req_dummy.msg.target_cmd = req->msg.target_cmd; in ipmi_dummyipmi_send_cmd()
222 req_dummy.msg.data_len = req->msg.data_len; in ipmi_dummyipmi_send_cmd()
223 req_dummy.msg.data = req->msg.data; in ipmi_dummyipmi_send_cmd()
226 lprintf(LOG_NOTICE, "msg.data_len: %i", in ipmi_dummyipmi_send_cmd()
227 req_dummy.msg.data_len); in ipmi_dummyipmi_send_cmd()
[all …]
/openbmc/ipmitool/src/plugins/open/
H A Dopen.c195 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd()
196 fprintf(stderr, " cmd = 0x%x\n", req->msg.cmd); in ipmi_openipmi_send_cmd()
197 printbuf(req->msg.data, req->msg.data_len, "OpenIPMI Request Message Data"); in ipmi_openipmi_send_cmd()
212 ipmb_addr.lun = req->msg.lun; in ipmi_openipmi_send_cmd()
215 req->msg.cmd, in ipmi_openipmi_send_cmd()
235 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd()
236 fprintf(stderr, " cmd = 0x%x\n", req->msg.cmd); in ipmi_openipmi_send_cmd()
237 if (req->msg.data && req->msg.data_len) { in ipmi_openipmi_send_cmd()
238 fprintf(stderr, " data_len = %d\n", req->msg.data_len); in ipmi_openipmi_send_cmd()
240 buf2str(req->msg.data,req->msg.data_len)); in ipmi_openipmi_send_cmd()
[all …]
/openbmc/qemu/target/ppc/
H A Dtrace-events4 kvm_failed_spr_set(int spr, const char *msg) "Warning: Unable to set SPR %d to KVM: %s"
5 kvm_failed_spr_get(int spr, const char *msg) "Warning: Unable to retrieve SPR %d from KVM: %s"
6 kvm_failed_fpscr_set(const char *msg) "Unable to set FPSCR to KVM: %s"
7 kvm_failed_fp_set(const char *fpname, int fpnum, const char *msg) "Unable to set %s%d to KVM: %s"
8 kvm_failed_vscr_set(const char *msg) "Unable to set VSCR to KVM: %s"
9 kvm_failed_vr_set(int vr, const char *msg) "Unable to set VR%d to KVM: %s"
10 kvm_failed_fpscr_get(const char *msg) "Unable to get FPSCR from KVM: %s"
11 kvm_failed_fp_get(const char *fpname, int fpnum, const char *msg) "Unable to get %s%d from KVM: %s"
12 kvm_failed_vscr_get(const char *msg) "Unable to get VSCR from KVM: %s"
13 kvm_failed_vr_get(int vr, const char *msg) "Unable to get VR%d from KVM: %s"
[all …]
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp13 static void parseVlanInfo(InterfaceInfo& info, std::string_view msg) in parseVlanInfo() argument
15 if (msg.data() == nullptr) in parseVlanInfo()
19 while (!msg.empty()) in parseVlanInfo()
21 auto [hdr, data] = netlink::extractRtAttr(msg); in parseVlanInfo()
31 static void parseLinkInfo(InterfaceInfo& info, std::string_view msg) in parseLinkInfo() argument
34 while (!msg.empty()) in parseLinkInfo()
36 auto [hdr, data] = netlink::extractRtAttr(msg); in parseLinkInfo()
54 InterfaceInfo intfFromRtm(std::string_view msg) in intfFromRtm() argument
56 const auto& ifinfo = netlink::extractRtData<ifinfomsg>(msg); in intfFromRtm()
61 while (!msg.empty()) in intfFromRtm()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/tests/
H A Dtest_decorators.py84 msg = 'Failed to order tests using OETestDepends decorator.\nTest order:'\
86 self.assertTrue(result, msg=msg)
98 msg = 'Expected OEQADependency exception missing testDependsFirst test'
99 self.assertTrue(result, msg=msg)
112 msg = 'Expected OEQADependency exception having a circular dependency'
113 self.assertTrue(result, msg=msg)
120 msg = 'Failed to run test using OETestTimeout'
123 self.assertTrue(tc.runTests().wasSuccessful(), msg=msg)
124 msg = "OETestTimeout didn't restore SIGALRM"
125 self.assertIs(alarm_signal, signal.getsignal(signal.SIGALRM), msg=msg)
[all …]

12345678910>>...52