Home
last modified time | relevance | path

Searched refs:msg (Results 151 – 175 of 4110) sorted by relevance

12345678910>>...165

/openbmc/linux/drivers/char/ipmi/
H A Dipmi_powernv.c47 msg->rsp[0] = msg->data[0] | 0x4; in send_error_reply()
48 msg->rsp[1] = msg->data[1]; in send_error_reply()
49 msg->rsp[2] = completion_code; in send_error_reply()
50 msg->rsp_size = 3; in send_error_reply()
69 if (msg->data_size < 2) { in ipmi_powernv_send()
85 opal_msg->cmd = msg->data[1]; in ipmi_powernv_send()
86 if (msg->data_size > 2) in ipmi_powernv_send()
87 memcpy(opal_msg->data, msg->data + 2, msg->data_size - 2); in ipmi_powernv_send()
98 smi->cur_msg = msg; in ipmi_powernv_send()
113 struct ipmi_smi_msg *msg; in ipmi_powernv_recv() local
[all …]
/openbmc/linux/drivers/misc/sgi-xp/
H A Dxpc_uv.c919 xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg), in xpc_request_partition_activation_uv()
946 xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg), in xpc_request_partition_deactivation_uv()
1051 xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg), in xpc_make_first_contact_uv()
1210 xpc_send_activate_IRQ_ch_uv(ch, irq_flags, &msg, sizeof(msg), in xpc_send_chctl_closerequest_uv()
1220 xpc_send_activate_IRQ_ch_uv(ch, irq_flags, &msg, sizeof(msg), in xpc_send_chctl_closereply_uv()
1232 xpc_send_activate_IRQ_ch_uv(ch, irq_flags, &msg, sizeof(msg), in xpc_send_chctl_openrequest_uv()
1245 xpc_send_activate_IRQ_ch_uv(ch, irq_flags, &msg, sizeof(msg), in xpc_send_chctl_openreply_uv()
1255 xpc_send_activate_IRQ_ch_uv(ch, irq_flags, &msg, sizeof(msg), in xpc_send_chctl_opencomplete_uv()
1287 xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg), in xpc_indicate_partition_engaged_uv()
1296 xpc_send_activate_IRQ_part_uv(part, &msg, sizeof(msg), in xpc_indicate_partition_disengaged_uv()
[all …]
/openbmc/linux/arch/s390/mm/
H A Dcmm.c365 if (!cmm_skip_blanks(msg + 6, &msg)) in cmm_smsg_target()
367 nr = simple_strtoul(msg, &msg, 0); in cmm_smsg_target()
368 cmm_skip_blanks(msg, &msg); in cmm_smsg_target()
372 if (!cmm_skip_blanks(msg + 7, &msg)) in cmm_smsg_target()
374 nr = simple_strtoul(msg, &msg, 0); in cmm_smsg_target()
375 cmm_skip_blanks(msg, &msg); in cmm_smsg_target()
379 if (!cmm_skip_blanks(msg + 5, &msg)) in cmm_smsg_target()
381 nr = simple_strtoul(msg, &msg, 0); in cmm_smsg_target()
382 if (!cmm_skip_blanks(msg, &msg)) in cmm_smsg_target()
384 seconds = simple_strtoul(msg, &msg, 0); in cmm_smsg_target()
[all …]
/openbmc/libpldm/src/dsp/
H A Dfru.c14 struct pldm_msg *msg, in encode_get_fru_record_table_metadata_req() argument
17 if (msg == NULL) { in encode_get_fru_record_table_metadata_req()
50 *completion_code = msg->payload[0]; in decode_get_fru_record_table_metadata_resp()
82 if (msg == NULL) { in encode_get_fru_record_table_metadata_resp()
144 struct pldm_msg *msg) in encode_get_fru_record_table_resp() argument
146 if (msg == NULL) { in encode_get_fru_record_table_resp()
302 if (msg == NULL) { in encode_get_fru_record_by_option_req()
423 *completion_code = msg->payload[0]; in decode_get_fru_record_by_option_resp()
451 if (msg == NULL) { in encode_get_fru_record_table_req()
566 struct pldm_msg *msg) in encode_set_fru_record_table_resp() argument
[all …]
/openbmc/linux/drivers/hsi/clients/
H A Dcmt_speech.c33 u32 msg; member
168 data = entry->msg; in cs_pop_entry()
234 cs_release_cmd(msg); in cs_cmd_destructor()
241 struct hsi_msg *msg; in cs_claim_cmd() local
249 return msg; in cs_claim_cmd()
260 hsi_free_msg(msg); in cs_free_cmds()
274 if (!msg) in cs_alloc_cmds()
283 msg->context = hi; in cs_alloc_cmds()
356 hsi_free_msg(msg); in cs_hsi_free_data_msg()
472 msg->sgt.nents = 1; in cs_hsi_peek_on_control_complete()
[all …]
/openbmc/linux/drivers/vdpa/
H A Dvdpa.c531 if (!msg) in vdpa_nl_cmd_mgmtdev_get_doit()
551 nlmsg_free(msg); in vdpa_nl_cmd_mgmtdev_get_doit()
578 return msg->len; in vdpa_nl_cmd_mgmtdev_get_dumpit()
797 if (!msg) in vdpa_nl_cmd_dev_get_doit()
825 nlmsg_free(msg); in vdpa_nl_cmd_dev_get_doit()
861 info.msg = msg; in vdpa_nl_cmd_dev_get_dumpit()
870 return msg->len; in vdpa_nl_cmd_dev_get_dumpit()
1122 if (!msg) in vdpa_nl_cmd_dev_config_get_doit()
1179 info.msg = msg; in vdpa_nl_cmd_dev_config_get_dumpit()
1188 return msg->len; in vdpa_nl_cmd_dev_config_get_dumpit()
[all …]
/openbmc/qemu/ui/
H A Dinput-barrier.c246 msg->cmd = cmd; in readcmd()
255 msg->set.nb /= 2; in readcmd()
263 msg->set.option[i].id = htonl(msg->set.option[i].id); in readcmd()
284 msg->mousepos.x = 0; in readcmd()
286 msg->mousepos.x = msg->mousepos.y; in readcmd()
354 switch (msg->cmd) { in writecmd()
435 input_barrier_to_qcode(msg->key.keyid, msg->key.button), in writecmd()
441 input_barrier_to_qcode(msg->repeat.keyid, msg->repeat.button), in writecmd()
444 input_barrier_to_qcode(msg->repeat.keyid, msg->repeat.button), in writecmd()
450 input_barrier_to_qcode(msg->key.keyid, msg->key.button), in writecmd()
[all …]
H A Dvdagent.c209 vdagent_send_msg(vd, msg); in vdagent_send_caps()
339 uint8_t *s = msg->data; in vdagent_send_clipboard_grab()
403 uint8_t *s = msg->data; in vdagent_send_clipboard_data()
498 uint8_t *s = msg->data; in vdagent_clipboard_request()
627 void *data = msg->data; in vdagent_chr_recv_clipboard()
641 switch (msg->type) { in vdagent_chr_recv_clipboard()
735 trace_vdagent_recv_msg(GET_NAME(msg_name, msg->type), msg->size); in vdagent_chr_recv_msg()
737 switch (msg->type) { in vdagent_chr_recv_msg()
771 if (vd->msgsize == msg->size + sizeof(*msg)) { in vdagent_chr_recv_chunk()
778 vd->xsize = msg->size + sizeof(*msg); in vdagent_chr_recv_chunk()
[all …]
/openbmc/linux/drivers/staging/nvec/
H A Dnvec.c147 msg, msg[1] + 2, true); in nvec_status_notifier()
221 return (msg->pos || msg->size) ? (msg->data[1] + 2) : 0; in nvec_msg_size()
263 if (!msg) in nvec_write_async()
303 *msg = NULL; in nvec_write_sync()
392 msg->pos = 0; in nvec_request_master()
415 if ((msg->data[0] & 1 << 7) == 0 && msg->data[3]) { in parse_msg()
420 if ((msg->data[0] >> 7) == 1 && (msg->data[0] & 0x0f) == 5) in parse_msg()
426 msg->data); in parse_msg()
451 (msg->data[2] << 8) + msg->data[0]) { in nvec_dispatch()
860 msg->data[4], msg->data[5], in tegra_nvec_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_7k.c49 struct spi_message msg; in qcaspi_read_register() local
54 spi_message_init(&msg); in qcaspi_read_register()
67 spi_sync(qca->spi_dev, &msg); in qcaspi_read_register()
68 spi_message_init(&msg); in qcaspi_read_register()
71 ret = spi_sync(qca->spi_dev, &msg); in qcaspi_read_register()
74 ret = msg.status; in qcaspi_read_register()
89 struct spi_message msg; in __qcaspi_write_register() local
94 spi_message_init(&msg); in __qcaspi_write_register()
106 spi_sync(qca->spi_dev, &msg); in __qcaspi_write_register()
107 spi_message_init(&msg); in __qcaspi_write_register()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dresulttooltests.py87 msg="regression not correct:%s" % result['test2']['base'])
89 msg="regression not correct:%s" % result['test2']['target'])
91 msg="regression not correct:%s" % result['test3']['base'])
93 msg="regression not correct:%s" % result['test3']['target'])
99 …self.assertEqual(len(results[''].keys()), 5, msg="Flattened results not correct %s" % str(results))
121msg="incorrect metadata filtering, tests without metadata should be compared")
148 msg="incorrect metadata filtering, tests should not be compared")
182msg="incorrect metadata filtering, tests with matching metadata should be compared")
257msg="incorrect machine filtering, identical machine tests should be compared")
305msg="incorrect ltpresult filtering, matching ltpresult content should be compared")
[all …]
/openbmc/linux/net/batman-adv/
H A Dbat_v.c157 genlmsg_end(msg, hdr); in batadv_v_neigh_dump_neigh()
161 genlmsg_cancel(msg, hdr); in batadv_v_neigh_dump_neigh()
314 genlmsg_end(msg, hdr); in batadv_v_orig_dump_subentry()
318 genlmsg_cancel(msg, hdr); in batadv_v_orig_dump_subentry()
699 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
705 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
710 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
716 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
722 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
728 genlmsg_cancel(msg, hdr); in batadv_v_gw_dump_entry()
[all …]
/openbmc/linux/drivers/mfd/
H A Dipaq-micro.c34 struct ipaq_micro_msg *msg = micro->msg; in ipaq_micro_trigger_tx() local
42 checksum = ((msg->id & 0x0f) << 4) | (msg->tx_len & 0x0f); in ipaq_micro_trigger_tx()
64 dev_dbg(micro->dev, "TX msg: %02x, %d bytes\n", msg->id, msg->tx_len); in ipaq_micro_tx_msg()
67 if (micro->msg) { in ipaq_micro_tx_msg()
72 micro->msg = msg; in ipaq_micro_tx_msg()
93 if (micro->msg && micro->msg->id == id) { in micro_rx_msg()
94 struct ipaq_micro_msg *msg = micro->msg; in micro_rx_msg() local
97 msg->rx_len = len; in micro_rx_msg()
111 if (!micro->msg) in micro_rx_msg()
214 msg.tx_len = 2; in ipaq_micro_eeprom_read()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dbq27xxx_battery_i2c.c40 msg[0].flags = 0; in bq27xxx_battery_i2c_read()
41 msg[0].buf = &reg; in bq27xxx_battery_i2c_read()
47 msg[1].len = 1; in bq27xxx_battery_i2c_read()
49 msg[1].len = 2; in bq27xxx_battery_i2c_read()
51 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in bq27xxx_battery_i2c_read()
77 msg.len = 2; in bq27xxx_battery_i2c_write()
80 msg.len = 3; in bq27xxx_battery_i2c_write()
83 msg.buf = data; in bq27xxx_battery_i2c_write()
85 msg.flags = 0; in bq27xxx_battery_i2c_write()
126 msg.buf = buf; in bq27xxx_battery_i2c_bulk_write()
[all …]
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dapparmor.py16 msg = ('apparmor command does not work as expected. '
18 self.assertEqual(status, 0, msg = msg)
25 msg = ('aa-status failed. '
27 self.assertEqual(status, 0, msg = msg)
34 msg = ('aa-complain failed. '
36 self.assertEqual(status, 0, msg = msg)
43 msg = ('aa-enforce failed. '
45 self.assertEqual(status, 0, msg = msg)
H A Dsamhain.py18 msg = ("samhain can't append hosts. "
20 self.assertEqual(status, 0, msg = msg)
23 msg = ('samhain command does not work as expected. '
25 self.assertEqual(status, 0, msg = msg)
32 msg = ('samhain database init had an unexpected failure. '
34 self.assertEqual(status, 0, msg = msg)
41 msg = ('samhain errors found in db. '
43 self.assertEqual(status, 0, msg = msg)
H A Dtripwire.py16 msg = ('tripwire command does not work as expected. '
18 self.assertEqual(status, 8, msg = msg)
25 msg = ('/etc/tripwire/twinstall.sh failed. '
27 self.assertEqual(status, 0, msg = msg)
35 msg = ('twadmin --create-profile ; failed. '
37 self.assertEqual(status, 0, msg = msg)
45 msg = ('tripwire --init; Failed for host: %s. '
47 self.assertEqual(status, 0, msg = msg)
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/decorator/
H A Dpackage.py49 msg = 'Checking if %s is not installed' % ', '.join(unneed_pkgs)
50 self.logger.debug(msg)
52 msg = "Test can't run with %s installed" % ', or '.join(unneed_pkgs)
53 self._decorator_fail(msg)
57 self.logger.debug(msg)
59 msg = "Test requires %s to be installed" % ', or '.join(need_pkgs)
60 self._decorator_fail(msg)
62 def _decorator_fail(self, msg): argument
63 self.case.skipTest(msg)
89 def _decorator_fail(self, msg): argument
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-i2c.c441 msg->addr, (msg->flags & I2C_M_RD) ? msg->len : 0, in mxl111sf_i2c_hw_xfer_msg()
442 (!(msg->flags & I2C_M_RD)) ? msg->len : 0); in mxl111sf_i2c_hw_xfer_msg()
478 if (!(msg->flags & I2C_M_RD) && (msg->len > 0)) { in mxl111sf_i2c_hw_xfer_msg()
479 mxl_i2c("%d\t%02x", msg->len, msg->buf[0]); in mxl111sf_i2c_hw_xfer_msg()
496 msg->addr); in mxl111sf_i2c_hw_xfer_msg()
527 msg->addr); in mxl111sf_i2c_hw_xfer_msg()
558 msg->addr); in mxl111sf_i2c_hw_xfer_msg()
578 if ((msg->flags & I2C_M_RD) && (msg->len > 0)) { in mxl111sf_i2c_hw_xfer_msg()
602 msg->addr); in mxl111sf_i2c_hw_xfer_msg()
639 msg->addr); in mxl111sf_i2c_hw_xfer_msg()
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-master-gpio.c121 msg->msg <<= 1; in serial_in()
164 msg->msg <<= bits; in msg_push_bits()
177 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
180 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc()
348 msg.msg = 0; in read_one_response()
350 if (msg.msg) in read_one_response()
361 msg.msg = 0; in read_one_response()
366 tag = msg.msg & 0x3; in read_one_response()
379 crc = crc4(crc, msg.msg, msg.bits); in read_one_response()
382 if (((~msg.msg) & ((1ull << msg.bits) - 1)) == 0) in read_one_response()
[all …]
/openbmc/u-boot/drivers/misc/
H A Di2c_eeprom_emul.c55 for (; nmsgs > 0; nmsgs--, msg++) { in sandbox_i2c_eeprom_xfer()
63 if (msg->addr + msg->len > plat->size) { in sandbox_i2c_eeprom_xfer()
65 __func__, msg->addr, msg->len, plat->size); in sandbox_i2c_eeprom_xfer()
68 len = msg->len; in sandbox_i2c_eeprom_xfer()
71 msg->len); in sandbox_i2c_eeprom_xfer()
72 if (msg->flags & I2C_M_RD) { in sandbox_i2c_eeprom_xfer()
76 memcpy(msg->buf, priv->data + offset, len); in sandbox_i2c_eeprom_xfer()
77 memset(msg->buf + len, '\xff', msg->len - len); in sandbox_i2c_eeprom_xfer()
78 debug_buffer(0, msg->buf, 1, msg->len, 0); in sandbox_i2c_eeprom_xfer()
82 ptr = msg->buf; in sandbox_i2c_eeprom_xfer()
[all …]
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-reg.c186 u8 msg[6]; in cdn_dp_reg_write() local
195 sizeof(msg), msg); in cdn_dp_reg_write()
227 sizeof(msg), msg); in cdn_dp_dpcd_read()
259 sizeof(msg), msg); in cdn_dp_dpcd_write()
373 sizeof(msg), msg); in cdn_dp_set_host_cap()
391 memset(msg, 0, sizeof(msg)); in cdn_dp_event_config()
396 sizeof(msg), msg); in cdn_dp_event_config()
446 sizeof(msg), msg); in cdn_dp_get_edid_block()
485 sizeof(msg), &msg); in cdn_dp_training_start()
570 u8 msg; in cdn_dp_set_video_status() local
[all …]
/openbmc/linux/drivers/hwmon/
H A Dsbrmi.c98 struct sbrmi_mailbox_msg *msg) in rmi_mailbox_xfer() argument
114 SBRMI_INBNDMSG0, msg->cmd); in rmi_mailbox_xfer()
169 if (msg->read) { in rmi_mailbox_xfer()
175 msg->data_out |= ret << i * 8; in rmi_mailbox_xfer()
201 msg.read = true; in sbrmi_read()
221 *val = (long)msg.data_out * 1000; in sbrmi_read()
242 msg.data_in = val; in sbrmi_write()
243 msg.read = false; in sbrmi_write()
291 msg.read = true; in sbrmi_get_max_pwr_limit()
292 ret = rmi_mailbox_xfer(data, &msg); in sbrmi_get_max_pwr_limit()
[all …]
/openbmc/linux/io_uring/
H A Dnet.c216 if (copy_from_user(msg, sr->umsg_compat, sizeof(*msg))) in io_compat_msg_copy_hdr()
280 ret = __import_iovec(ddir, msg->msg_iov, msg->msg_iovlen, UIO_FASTIOV, in io_msg_copy_hdr()
314 ret = __copy_msghdr(&iomsg->msg, &msg, NULL); in io_sendmsg_copy_hdr()
467 struct msghdr msg; in io_send() local
591 ret = __copy_msghdr(&iomsg->msg, &msg, &iomsg->uaddr); in io_recvmsg_copy_hdr()
682 if (msg->msg_inq && msg->msg_inq != -1) in io_recv_finish()
799 hdr.msg.namelen = kmsg->msg.msg_namelen; in io_recvmsg_multishot()
927 struct msghdr msg; in io_recv() local
969 msg.msg_inq = -1; in io_recv()
970 msg.msg_flags = 0; in io_recv()
[all …]
/openbmc/linux/net/ieee802154/
H A Dnl-phy.c60 genlmsg_end(msg, hdr); in ieee802154_nl_fill_phy()
65 genlmsg_cancel(msg, hdr); in ieee802154_nl_fill_phy()
76 struct sk_buff *msg; in ieee802154_list_phy() local
95 if (!msg) in ieee802154_list_phy()
107 nlmsg_free(msg); in ieee802154_list_phy()
163 struct sk_buff *msg; in ieee802154_add_iface() local
200 if (!msg) in ieee802154_add_iface()
260 nlmsg_free(msg); in ieee802154_add_iface()
268 struct sk_buff *msg; in ieee802154_del_iface() local
319 if (!msg) in ieee802154_del_iface()
[all …]

12345678910>>...165