Home
last modified time | relevance | path

Searched refs:msg (Results 101 – 125 of 4110) sorted by relevance

12345678910>>...165

/openbmc/linux/tools/testing/selftests/
H A Dkselftest.h153 va_start(args, msg); in ksft_print_msg()
156 vprintf(msg, args); in ksft_print_msg()
180 va_start(args, msg); in ksft_test_result_pass()
183 vprintf(msg, args); in ksft_test_result_pass()
194 va_start(args, msg); in ksft_test_result_fail()
197 vprintf(msg, args); in ksft_test_result_fail()
223 vprintf(msg, args); in ksft_test_result_xfail()
237 vprintf(msg, args); in ksft_test_result_skip()
252 vprintf(msg, args); in ksft_test_result_error()
297 vprintf(msg, args); in ksft_exit_fail_msg()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvhost-user.c554 msg->hdr.size = sizeof(msg->payload.memory.nregions); in vhost_user_fill_set_mem_table_msg()
555 msg->hdr.size += sizeof(msg->payload.memory.padding); in vhost_user_fill_set_mem_table_msg()
839 msg->hdr.size = sizeof(msg->payload.mem_reg); in vhost_user_add_remove_regions()
870 msg->hdr.size = sizeof(msg->payload.u64); in vhost_user_add_remove_regions()
993 msg.hdr.size = sizeof(msg.payload.u64); in vhost_user_set_mem_table_postcopy()
1108 if (msg.hdr.size != sizeof(msg.payload.u64)) { in vhost_user_get_u64()
1318 if (msg.hdr.size != sizeof(msg.payload.state)) { in vhost_user_get_vring_base()
2370 msg.hdr.size = sizeof(msg.payload.u64); in vhost_user_migration_done()
2390 msg.hdr.size = sizeof(msg.payload.u64); in vhost_user_net_set_mtu()
2938 if (msg.hdr.size != sizeof(msg.payload.u64)) { in vhost_user_set_device_state_fd()
[all …]
/openbmc/linux/drivers/hsi/clients/
H A Dssi_protocol.c176 sg = msg->sgt.sgl; in ssip_skb_to_msg()
191 skb = msg->context; in ssip_free_data()
192 pr_debug("free data: msg %p context %p skb %p\n", msg, msg->context, in ssip_free_data()
196 hsi_free_msg(msg); in ssip_free_data()
205 if (!msg) in ssip_alloc_data()
210 msg->context = skb; in ssip_alloc_data()
212 return msg; in ssip_alloc_data()
219 dev_dbg(&msg->cl->device, "Release cmd 0x%08x\n", ssip_get_cmd(msg)); in ssip_release_cmd()
237 return msg; in ssip_claim_cmd()
260 if (!msg) in ssip_alloc_cmds()
[all …]
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp15 if (msg.data() == nullptr) in parseVlanInfo()
19 while (!msg.empty()) in parseVlanInfo()
34 while (!msg.empty()) in parseLinkInfo()
54 InterfaceInfo intfFromRtm(std::string_view msg) in intfFromRtm() argument
61 while (!msg.empty()) in intfFromRtm()
92 parse(std::string_view msg) in parse() argument
96 while (!msg.empty()) in parse()
117 gatewayFromRtm(std::string_view msg) in gatewayFromRtm() argument
134 AddressInfo addrFromRtm(std::string_view msg) in addrFromRtm() argument
140 while (!msg.empty()) in addrFromRtm()
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Desd_usb.c515 esd_usb_rx_can_msg(dev->nets[msg->rx.net], msg); in esd_usb_read_bulk_callback()
622 msg, in esd_usb_send_msg()
635 msg, in esd_usb_wait_msg()
720 msg = kmalloc(sizeof(*msg), GFP_KERNEL); in esd_usb_start()
956 msg = kmalloc(sizeof(*msg), GFP_KERNEL); in esd_usb_close()
957 if (!msg) in esd_usb_close()
1045 msg = kmalloc(sizeof(*msg), GFP_KERNEL); in esd_usb_2_set_bittiming()
1046 if (!msg) in esd_usb_2_set_bittiming()
1107 msg = kmalloc(sizeof(*msg), GFP_KERNEL); in esd_usb_3_set_bittiming()
1108 if (!msg) in esd_usb_3_set_bittiming()
[all …]
/openbmc/linux/ipc/
H A Dmsgutil.c53 msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL_ACCOUNT); in alloc_msg()
54 if (msg == NULL) in alloc_msg()
57 msg->next = NULL; in alloc_msg()
61 pseg = &msg->next; in alloc_msg()
77 return msg; in alloc_msg()
80 free_msg(msg); in alloc_msg()
92 if (msg == NULL) in load_msg()
111 return msg; in load_msg()
114 free_msg(msg); in load_msg()
175 seg = msg->next; in free_msg()
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dmessages.c22 msg.boot_cfg.dma_id = dma_id; in avs_ipc_set_boot_config()
24 request.header = msg.val; in avs_ipc_set_boot_config()
40 request.header = msg.val; in avs_ipc_load_modules()
58 request.header = msg.val; in avs_ipc_unload_modules()
77 request.header = msg.val; in avs_ipc_load_library()
98 request.header = msg.val; in avs_ipc_create_pipeline()
114 request.header = msg.val; in avs_ipc_delete_pipeline()
132 request.header = msg.val; in avs_ipc_set_pipeline_state()
150 request.header = msg.val; in avs_ipc_get_pipeline_state()
196 request.header = msg.val; in avs_ipc_init_instance()
[all …]
/openbmc/linux/drivers/hsi/controllers/
H A Domap_ssi_port.c178 msg->complete(msg); in ssi_process_errqueue()
349 msg->complete(msg); in ssi_async_break()
407 msg->status, msg->ttype, msg->channel); in ssi_async()
439 msg->channel, msg, msg->sgt.sgl->length, in ssi_flush_queue()
440 msg->ttype, msg->context); in ssi_flush_queue()
442 msg->destructor(msg); in ssi_flush_queue()
651 msg->complete(msg); in ssi_transfer()
733 if ((!msg) || (msg->cl != cl)) in ssi_cleanup_gdd()
849 msg->complete(msg); in ssi_error()
882 msg->complete(msg); in ssi_break_complete()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c57 const char *msg; member
108 .msg = "mmap(NULL)",
115 .msg = "mmap(LOW_ADDR)",
122 .msg = "mmap(HIGH_ADDR)",
129 .msg = "mmap(HIGH_ADDR) again",
136 .msg = "mmap(HIGH_ADDR, MAP_FIXED)",
142 .msg = "mmap(-1)",
149 .msg = "mmap(-1) again",
193 .msg = "mmap(NULL, MAP_HUGETLB)",
227 .msg = "mmap(-1, MAP_HUGETLB)",
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-ipaq-micro.c37 struct ipaq_micro_msg msg = { in micro_leds_brightness_set() local
42 msg.tx_data[0] = LED_GREEN; in micro_leds_brightness_set()
43 msg.tx_data[1] = 0; in micro_leds_brightness_set()
45 msg.tx_data[2] = 0; /* Duty cycle 256 */ in micro_leds_brightness_set()
46 msg.tx_data[3] = 1; in micro_leds_brightness_set()
48 msg.tx_data[2] = 1; in micro_leds_brightness_set()
74 struct ipaq_micro_msg msg = { in micro_leds_blink_set() local
79 msg.tx_data[0] = LED_GREEN; in micro_leds_blink_set()
89 msg.tx_data[1] = 0; in micro_leds_blink_set()
91 msg.tx_data[2] = 0; in micro_leds_blink_set()
[all …]
/openbmc/phosphor-mboxd/
H A Dmboxctl.c120 rc = sd_bus_message_append_array(m, 'y', msg->args, msg->num_args); in send_dbus_msg()
176 msg.cmd = DBUS_C_PING; in handle_cmd_ping()
228 msg.cmd = DBUS_C_LPC_STATE; in handle_cmd_lpc_state()
264 msg.cmd = DBUS_C_KILL; in handle_cmd_kill()
283 msg.cmd = DBUS_C_RESET; in handle_cmd_reset()
302 msg.cmd = DBUS_C_SUSPEND; in handle_cmd_suspend()
326 msg.cmd = DBUS_C_RESUME; in handle_cmd_resume()
328 msg.args = calloc(msg.num_args, sizeof(*msg.args)); in handle_cmd_resume()
329 if (!msg.args) { in handle_cmd_resume()
355 free(msg.args); in handle_cmd_resume()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmcu.c28 } __packed __aligned(4) msg = { in mt76x2_mcu_set_channel()
37 sizeof(msg), true); in mt76x2_mcu_set_channel()
41 msg.ext_chan = 0xe0 + bw_index; in mt76x2_mcu_set_channel()
43 sizeof(msg), true); in mt76x2_mcu_set_channel()
57 } __packed __aligned(4) msg = { in mt76x2_mcu_load_cr()
67 msg.cfg = cpu_to_le32(val); in mt76x2_mcu_load_cr()
70 return mt76_mcu_send_msg(&dev->mt76, CMD_LOAD_CR, &msg, sizeof(msg), in mt76x2_mcu_load_cr()
81 } __packed __aligned(4) msg = { in mt76x2_mcu_init_gain()
90 sizeof(msg), true); in mt76x2_mcu_init_gain()
100 } __packed __aligned(4) msg = { in mt76x2_mcu_tssi_comp()
[all …]
/openbmc/linux/net/core/
H A Dscm.c143 for_each_cmsghdr(cmsg, msg) { in __scm_send()
154 if (!CMSG_OK(msg, cmsg)) in __scm_send()
227 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg()
228 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
232 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
233 cmlen = msg->msg_controllen; in put_cmsg()
236 if (msg->msg_control_is_user) { in put_cmsg()
260 if (msg->msg_control_is_user) in put_cmsg()
263 msg->msg_control += cmlen; in put_cmsg()
264 msg->msg_controllen -= cmlen; in put_cmsg()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_mbox.c37 if (msg == NULL) { in forward_to_af()
44 msg->id = req->id; in forward_to_af()
46 msg->sig = req->sig; in forward_to_af()
47 msg->ver = req->ver; in forward_to_af()
420 msg->sig, msg->id); in process_afpf_mbox_msg()
426 switch (msg->id) { in process_afpf_mbox_msg()
433 if (msg->rc) { in process_afpf_mbox_msg()
436 msg->rc); in process_afpf_mbox_msg()
443 if (!msg->rc) in process_afpf_mbox_msg()
447 if (!msg->rc) in process_afpf_mbox_msg()
[all …]
/openbmc/linux/drivers/media/common/siano/
H A Dsmsendian.c20 struct sms_msg_data *msg = buffer; in smsendian_handle_tx_message() local
24 switch (msg->x_msg_header.msg_type) { in smsendian_handle_tx_message()
27 msg->msg_data[0] = le32_to_cpu((__force __le32)(msg->msg_data[0])); in smsendian_handle_tx_message()
32 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_tx_message()
36 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->msg_data[i]); in smsendian_handle_tx_message()
51 switch (msg->x_msg_header.msg_type) { in smsendian_handle_rx_message()
55 (struct sms_version_res *) msg; in smsendian_handle_rx_message()
69 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_rx_message()
73 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->msg_data[i]); in smsendian_handle_rx_message()
82 void smsendian_handle_message_header(void *msg) in smsendian_handle_message_header() argument
[all …]
/openbmc/linux/drivers/nfc/st-nci/
H A Dvendor_cmds.c105 if (!msg) { in st_nci_hci_dm_get_info()
111 kfree_skb(msg); in st_nci_hci_dm_get_info()
137 if (!msg) { in st_nci_hci_dm_get_data()
143 kfree_skb(msg); in st_nci_hci_dm_get_data()
221 if (!msg) { in st_nci_hci_get_param()
227 kfree_skb(msg); in st_nci_hci_get_param()
266 if (!msg) { in st_nci_hci_dm_vdc_measurement_value()
272 kfree_skb(msg); in st_nci_hci_dm_vdc_measurement_value()
302 if (!msg) { in st_nci_hci_dm_vdc_value_comparison()
336 if (!msg) { in st_nci_loopback()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_bpf.c102 sge = sk_msg_elem(msg, msg->sg.start); in tcp_bpf_push()
115 if (size < sge->length && msg->sg.start != msg->sg.end) in tcp_bpf_push()
140 if (msg->sg.start == msg->sg.end) in tcp_bpf_push()
404 msg->cork_bytes > msg->sg.size && !enospc) { in tcp_bpf_send_verdict()
405 psock->cork_bytes = msg->cork_bytes - msg->sg.size; in tcp_bpf_send_verdict()
412 memcpy(psock->cork, msg, sizeof(*msg)); in tcp_bpf_send_verdict()
464 kfree(msg); in tcp_bpf_send_verdict()
465 msg = NULL; in tcp_bpf_send_verdict()
485 if (msg && in tcp_bpf_send_verdict()
486 msg->sg.data[msg->sg.start].page_link && in tcp_bpf_send_verdict()
[all …]
/openbmc/linux/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c101 } __packed msg = {}; in cros_ec_cec_set_log_addr() local
104 msg.msg.command = EC_CMD_CEC_SET; in cros_ec_cec_set_log_addr()
105 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_set_log_addr()
109 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_set_log_addr()
130 msg.msg.command = EC_CMD_CEC_WRITE_MSG; in cros_ec_cec_transmit()
131 msg.msg.outsize = cec_msg->len; in cros_ec_cec_transmit()
132 memcpy(msg.data.msg, cec_msg->msg, cec_msg->len); in cros_ec_cec_transmit()
134 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_transmit()
154 msg.msg.command = EC_CMD_CEC_SET; in cros_ec_cec_adap_enable()
155 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_adap_enable()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dipc.c53 msg = &ipc->msg; in sof_ipc_send_msg()
56 msg->msg_data = msg_data; in sof_ipc_send_msg()
57 msg->msg_size = msg_bytes; in sof_ipc_send_msg()
60 msg->reply_error = 0; in sof_ipc_send_msg()
62 sdev->msg = msg; in sof_ipc_send_msg()
120 if (!sdev->msg) { in snd_sof_ipc_get_reply()
132 struct snd_sof_ipc_msg *msg = &sdev->ipc->msg; in snd_sof_ipc_reply() local
134 if (msg->ipc_complete) { in snd_sof_ipc_reply()
142 msg->ipc_complete = true; in snd_sof_ipc_reply()
143 wake_up(&msg->waitq); in snd_sof_ipc_reply()
[all …]
/openbmc/linux/drivers/net/wan/
H A Dixp4xx_hss.c377 struct msg msg; in hss_config_set_lut() local
380 memset(&msg, 0, sizeof(msg)); in hss_config_set_lut()
400 struct msg msg; in hss_config() local
402 memset(&msg, 0, sizeof(msg)); in hss_config()
416 memset(&msg, 0, sizeof(msg)); in hss_config()
424 memset(&msg, 0, sizeof(msg)); in hss_config()
467 struct msg msg; in hss_set_hdlc_cfg() local
479 struct msg msg; in hss_get_status() local
495 struct msg msg; in hss_start_hdlc() local
506 struct msg msg; in hss_stop_hdlc() local
[all …]
/openbmc/linux/drivers/pmdomain/tegra/
H A Dpowergate-bpmp.c43 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_set_state()
44 msg.mrq = MRQ_PG; in tegra_bpmp_powergate_set_state()
45 msg.tx.data = &request; in tegra_bpmp_powergate_set_state()
51 else if (msg.rx.ret < 0) in tegra_bpmp_powergate_set_state()
71 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_state()
72 msg.mrq = MRQ_PG; in tegra_bpmp_powergate_get_state()
73 msg.tx.data = &request; in tegra_bpmp_powergate_get_state()
99 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_max_id()
100 msg.mrq = MRQ_PG; in tegra_bpmp_powergate_get_max_id()
129 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_name()
[all …]
/openbmc/linux/include/trace/events/
H A Di2c.h28 TP_ARGS(adap, msg, num),
39 __entry->addr = msg->addr;
40 __entry->flags = msg->flags;
41 __entry->len = msg->len;
42 memcpy(__get_dynamic_array(buf), msg->buf, msg->len);
61 TP_ARGS(adap, msg, num),
72 __entry->addr = msg->addr;
74 __entry->len = msg->len;
92 TP_ARGS(adap, msg, num),
105 __entry->len = msg->len;
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/
H A Ddata.py45 self.logger.debug(msg)
47 self.case.skipTest(self.msg)
64 self.logger.debug(msg)
66 self.case.skipTest(self.msg)
78 self.logger.debug(msg)
80 self.case.skipTest(self.msg)
92 self.logger.debug(msg)
122 self.logger.debug(msg)
140 self.logger.debug(msg)
157 self.logger.debug(msg)
[all …]
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dmailbox.c96 rq->mailbox_id = msg->type; in wilco_ec_prepare()
98 rq->data_size = msg->request_size; in wilco_ec_prepare()
102 rq->checksum += wilco_ec_checksum(msg->request_data, msg->request_size); in wilco_ec_prepare()
116 struct wilco_ec_message *msg, in wilco_ec_transfer() argument
126 msg->request_data); in wilco_ec_transfer()
171 if (rs->data_size < msg->response_size) { in wilco_ec_transfer()
173 rs->data_size, msg->response_size); in wilco_ec_transfer()
177 memcpy(msg->response_data, rs->data, msg->response_size); in wilco_ec_transfer()
202 msg->type, msg->flags, msg->response_size, msg->request_size); in wilco_ec_mailbox()
207 wilco_ec_prepare(msg, rq); in wilco_ec_mailbox()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_net.c46 msg->sg_num = 1; in init_send_req()
47 msg->sg_list[0].msg = buf; in init_send_req()
48 msg->sg_list[0].sz = msg->hdr.s.sz; in init_send_req()
50 msg->hdr.s.is_vf = 1; in init_send_req()
51 msg->hdr.s.vf_idx = vfid; in init_send_req()
285 if (pos->msg.hdr.s.msg_id == msg->hdr.s.msg_id) { in process_mbox_resp()
287 msg->sg_list[0].msg, in process_mbox_resp()
303 req = (struct octep_ctrl_net_f2h_req *)msg->sg_list[0].msg; in process_mbox_notify()
338 msg.hdr.s.sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
339 msg.sg_num = 1; in octep_ctrl_net_recv_fw_messages()
[all …]

12345678910>>...165