Home
last modified time | relevance | path

Searched refs:msg (Results 201 – 225 of 4110) sorted by relevance

12345678910>>...165

/openbmc/linux/drivers/rpmsg/
H A Dqcom_glink_ssr.c74 struct cleanup_done_msg *msg = data; in qcom_glink_ssr_callback() local
77 if (len < sizeof(*msg)) { in qcom_glink_ssr_callback()
82 if (le32_to_cpu(msg->version) != 0) in qcom_glink_ssr_callback()
88 if (le32_to_cpu(msg->seq_num) != ssr->seq_num) { in qcom_glink_ssr_callback()
103 struct do_cleanup_msg msg; in qcom_glink_ssr_notifier_call() local
110 memset(&msg, 0, sizeof(msg)); in qcom_glink_ssr_notifier_call()
111 msg.command = cpu_to_le32(GLINK_SSR_DO_CLEANUP); in qcom_glink_ssr_notifier_call()
112 msg.seq_num = cpu_to_le32(ssr->seq_num); in qcom_glink_ssr_notifier_call()
113 msg.name_len = cpu_to_le32(strlen(ssr_name)); in qcom_glink_ssr_notifier_call()
114 strscpy(msg.name, ssr_name, sizeof(msg.name)); in qcom_glink_ssr_notifier_call()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Di2c.c85 struct i2c_msg *msg; in gb_i2c_operation_create() local
104 msg = msgs; in gb_i2c_operation_create()
106 if (msg->flags & I2C_M_RD) in gb_i2c_operation_create()
125 msg = msgs; in gb_i2c_operation_create()
134 msg = msgs; in gb_i2c_operation_create()
137 memcpy(data, msg->buf, msg->len); in gb_i2c_operation_create()
138 data += msg->len; in gb_i2c_operation_create()
140 msg++; in gb_i2c_operation_create()
158 memcpy(msg->buf, data, msg->len); in gb_i2c_decode_response()
159 data += msg->len; in gb_i2c_decode_response()
[all …]
/openbmc/linux/sound/soc/intel/catpt/
H A Dmessages.c20 request.header = msg.val; in catpt_ipc_get_fw_version()
91 request.header = msg.val; in catpt_ipc_alloc_stream()
112 request.header = msg.val; in catpt_ipc_free_stream()
131 request.header = msg.val; in catpt_ipc_set_device_format()
149 request.header = msg.val; in catpt_ipc_enter_dxstate()
169 request.header = msg.val; in catpt_ipc_get_mixer_stream_info()
187 request.header = msg.val; in catpt_ipc_reset_stream()
204 request.header = msg.val; in catpt_ipc_pause_stream()
221 request.header = msg.val; in catpt_ipc_resume_stream()
254 request.header = msg.val; in catpt_ipc_set_volume()
[all …]
/openbmc/linux/drivers/staging/wlan-ng/
H A Dprism2mib.c79 struct p80211msg_dot11req_mibset *msg,
98 struct p80211msg_dot11req_mibset *msg,
105 struct p80211msg_dot11req_mibset *msg,
113 struct p80211msg_dot11req_mibset *msg,
281 msg->resultcode.data = in prism2mgmt_mibset_mibget()
287 msg->resultcode.data = in prism2mgmt_mibset_mibget()
306 msg->resultcode.data = in prism2mgmt_mibset_mibget()
310 msg->mibattribute.status = in prism2mgmt_mibset_mibget()
351 struct p80211msg_dot11req_mibset *msg, in prism2mib_bytearea2pstr() argument
598 struct p80211msg_dot11req_mibset *msg, in prism2mib_fragmentationthreshold() argument
[all …]
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.c38 #define msg_to_ctx(msg) ((struct delta_ipc_ctx *)(msg)->header.host_hdl) argument
39 #define msg_to_copro_hdl(msg) ((msg)->header.copro_hdl) argument
178 strscpy(msg.name, name, sizeof(msg.name)); in delta_ipc_open()
185 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_open()
284 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_set_stream()
398 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_decode()
464 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_close()
510 if (len != sizeof(*msg)) { in delta_ipc_cb()
513 len, src, sizeof(*msg)); in delta_ipc_cb()
525 ctx = msg_to_ctx(msg); in delta_ipc_cb()
[all …]
/openbmc/linux/sound/virtio/
H A Dvirtio_ctl_msg.h15 void virtsnd_ctl_msg_ref(struct virtio_snd_msg *msg);
17 void virtsnd_ctl_msg_unref(struct virtio_snd_msg *msg);
19 void *virtsnd_ctl_msg_request(struct virtio_snd_msg *msg);
21 void *virtsnd_ctl_msg_response(struct virtio_snd_msg *msg);
26 int virtsnd_ctl_msg_send(struct virtio_snd *snd, struct virtio_snd_msg *msg,
50 struct virtio_snd_msg *msg) in virtsnd_ctl_msg_send_sync() argument
52 return virtsnd_ctl_msg_send(snd, msg, NULL, NULL, false); in virtsnd_ctl_msg_send_sync()
64 struct virtio_snd_msg *msg) in virtsnd_ctl_msg_send_async() argument
66 return virtsnd_ctl_msg_send(snd, msg, NULL, NULL, true); in virtsnd_ctl_msg_send_async()
71 void virtsnd_ctl_msg_complete(struct virtio_snd_msg *msg);
/openbmc/openbmc/poky/scripts/lib/checklayer/cases/
H A Dbsp.py45 msg = []
51 msg.append(str(ex))
52 if msg:
54 self.fail('\n'.join(msg))
92 msg = []
176 msg.append(line)
187 if msg:
190 msg.append('')
193 msg.append('')
198 msg.append('Command: %s' % cmd)
[all …]
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dclamav.py33 msg = ('freshclam --hlep command does not work as expected. ',
35 self.assertEqual(status, 0, msg = msg)
43 msg = 'File could not be copied. Output: %s' % output
44 self.assertEqual(status, 0, msg=msg)
47 msg = ('ping database.clamav.net failed: output is:\n%s' % output)
48 self.assertEqual(status, 0, msg = msg)
53 msg = ('freshclam : DB dowbload failed. '
55 self.assertEqual(status, 0, msg = msg)
/openbmc/linux/include/linux/can/dev/
H A Dpeak_canfd.h215 return msg->channel_type_d & 0x0f; in pucan_error_get_channel()
234 return msg->channel_p_w_b & 0x0f; in pucan_status_get_channel()
239 return msg->channel_p_w_b & PUCAN_RX_BARRIER; in pucan_status_is_rx_barrier()
244 return msg->channel_p_w_b & PUCAN_BUS_PASSIVE; in pucan_status_is_passive()
249 return msg->channel_p_w_b & PUCAN_BUS_WARNING; in pucan_status_is_warning()
254 return msg->channel_p_w_b & PUCAN_BUS_BUSOFF; in pucan_status_is_busoff()
281 return msg->channel_dlc & 0xf; in pucan_msg_get_channel()
285 static inline u8 pucan_msg_get_dlc(const struct pucan_rx_msg *msg) in pucan_msg_get_dlc() argument
287 return msg->channel_dlc >> 4; in pucan_msg_get_dlc()
292 return msg->channel_type_d & 0x0f; in pucan_ermsg_get_channel()
[all …]
/openbmc/linux/drivers/mailbox/
H A Dbcm-flexrm-mailbox.c568 if (!msg->spu.src || !msg->spu.dst) in flexrm_spu_sanity_check()
623 rc = dma_map_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_map()
628 rc = dma_map_sg(dev, msg->spu.dst, sg_nents(msg->spu.dst), in flexrm_spu_dma_map()
631 dma_unmap_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_map()
641 dma_unmap_sg(dev, msg->spu.dst, sg_nents(msg->spu.dst), in flexrm_spu_dma_unmap()
643 dma_unmap_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_unmap()
709 if (!msg->sba.cmds || !msg->sba.cmds_count) in flexrm_sba_sanity_check()
836 if (!msg) in flexrm_sanity_check()
851 if (!msg) in flexrm_estimate_nonheader_desc_count()
1124 if (!msg) { in flexrm_process_completions()
[all …]
/openbmc/qemu/hw/hyperv/
H A Dhyperv.c618 len = sizeof(*msg); in hyperv_hcall_post_message()
624 if (msg->payload_size > sizeof(msg->payload)) { in hyperv_hcall_post_message()
750 HvSynDbgMsg msg; in hyperv_hcall_reset_dbg_session() local
797 HvSynDbgMsg msg; in hyperv_hcall_retreive_dbg_data() local
856 HvSynDbgMsg msg; in hyperv_hcall_post_dbg_data() local
910 HvSynDbgMsg msg; in hyperv_syndbg_send() local
930 HvSynDbgMsg msg; in hyperv_syndbg_recv() local
939 msg.u.recv.options = 0; in hyperv_syndbg_recv()
940 msg.u.recv.timeout = 0; in hyperv_syndbg_recv()
953 HvSynDbgMsg msg; in hyperv_syndbg_set_pending_page() local
[all …]
/openbmc/openpower-vpd-parser/
H A Dvpd_exceptions.hpp33 explicit VPDException(const std::string& msg) : in VPDException() argument
34 std::runtime_error(msg), errMsg(msg) in VPDException()
70 explicit VpdEccException(const std::string& msg) : VPDException(msg) {} in VpdEccException() argument
93 explicit VpdDataException(const std::string& msg) : VPDException(msg) {} in VpdDataException() argument
113 VpdJsonException(const std::string& msg, const std::string& path) : in VpdJsonException() argument
114 VPDException(msg), jsonPath(path) in VpdJsonException()
150 explicit GpioException(const std::string& msg) : VPDException(msg) {} in GpioException() argument
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_mbx.c59 union mbox_msg msg; in pf2vf_send_response() local
61 msg.value = vfdev->msg.value; in pf2vf_send_response()
63 switch (vfdev->msg.opcode) { in pf2vf_send_response()
65 msg.data = ndev->mode; in pf2vf_send_response()
72 msg.id.chipid = ndev->idx; in pf2vf_send_response()
73 msg.id.vfid = vfdev->vfno; in pf2vf_send_response()
80 msg.data = 0; in pf2vf_send_response()
81 msg.mcode_info.count = 2; in pf2vf_send_response()
95 msg.type = MBX_MSG_TYPE_ACK; in pf2vf_send_response()
98 vfdev->msg.value = 0; in pf2vf_send_response()
[all …]
/openbmc/linux/drivers/accel/qaic/
H A Dqaic_control.c364 msg = &wrapper->msg; in encode_passthrough()
382 msg->hdr.count = incr_le32(msg->hdr.count); in encode_passthrough()
574 msg = &wrapper->msg; in encode_dma()
599 msg->hdr.count = incr_le32(msg->hdr.count); in encode_dma()
645 msg = &wrapper->msg; in encode_activate()
691 msg->hdr.count = incr_le32(msg->hdr.count); in encode_activate()
729 msg = &wrapper->msg; in encode_status()
769 msg = &wrapper->msg; in encode_message()
1134 msg = &wrapper->msg; in abort_dma_cont()
1194 msg = &wrapper->msg; in qaic_manage_msg_xfer()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dgl861.c100 if (msg[0].len < 2 || msg[0].len > sizeof(ctx->buf)) { in gl861_i2c_master_xfer()
106 index = msg[0].buf[0]; in gl861_i2c_master_xfer()
108 if (msg[0].len == 2) { in gl861_i2c_master_xfer()
123 if (msg[0].len != 1 || msg[1].len > sizeof(ctx->buf)) { in gl861_i2c_master_xfer()
133 msg[1].buf, msg[1].len); in gl861_i2c_master_xfer()
145 msg[0].buf, msg[0].len); in gl861_i2c_master_xfer()
265 struct i2c_msg msg; in friio_ext_ctl() local
274 msg.addr = 0x00; in friio_ext_ctl()
275 msg.flags = 0; in friio_ext_ctl()
276 msg.len = 2; in friio_ext_ctl()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-stm32f4.c333 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_write_msg() local
336 msg->count--; in stm32f4_i2c_write_msg()
341 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_read_msg() local
346 msg->count--; in stm32f4_i2c_read_msg()
351 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_terminate_xfer() local
371 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_handle_write() local
396 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_handle_read() local
436 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_handle_rx_done() local
488 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_handle_rx_addr() local
559 struct stm32f4_i2c_msg *msg = &i2c_dev->msg; in stm32f4_i2c_isr_event() local
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-wilco-ec.c93 struct wilco_ec_message msg; in wilco_ec_rtc_read() local
96 memset(&msg, 0, sizeof(msg)); in wilco_ec_rtc_read()
97 msg.type = WILCO_EC_MSG_LEGACY; in wilco_ec_rtc_read()
98 msg.request_data = &read_rq; in wilco_ec_rtc_read()
100 msg.response_data = &rtc; in wilco_ec_rtc_read()
101 msg.response_size = sizeof(rtc); in wilco_ec_rtc_read()
127 struct wilco_ec_message msg; in wilco_ec_rtc_write() local
148 memset(&msg, 0, sizeof(msg)); in wilco_ec_rtc_write()
149 msg.type = WILCO_EC_MSG_LEGACY; in wilco_ec_rtc_write()
150 msg.request_data = &rtc; in wilco_ec_rtc_write()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_intf.c301 msg->rsp[0] = msg->data[0] | 4; in return_hosed_msg()
302 msg->rsp[1] = msg->data[1]; in return_hosed_msg()
451 if (!msg) { in alloc_msg_handle_irq()
456 msg = NULL; in alloc_msg_handle_irq()
458 return msg; in alloc_msg_handle_irq()
619 msg->done(msg); in handle_transaction_done()
657 msg->done(msg); in handle_transaction_done()
690 msg[2]); in handle_transaction_done()
702 msg[2] = enables | (msg[3] & ~GLOBAL_ENABLES_MASK); in handle_transaction_done()
1752 msg->rsp[0] = msg->data[0] | 4; in return_hosed_msg_badsize()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_msg.c69 struct enetc_msg_swbd *msg; in enetc_msg_alloc_mbx() local
72 msg = &pf->rxmsg[idx]; in enetc_msg_alloc_mbx()
76 msg->vaddr = dma_alloc_coherent(dev, msg->size, &msg->dma, in enetc_msg_alloc_mbx()
78 if (!msg->vaddr) { in enetc_msg_alloc_mbx()
80 msg->size); in enetc_msg_alloc_mbx()
85 val = lower_32_bits(msg->dma); in enetc_msg_alloc_mbx()
87 val = upper_32_bits(msg->dma); in enetc_msg_alloc_mbx()
97 struct enetc_msg_swbd *msg; in enetc_msg_free_mbx() local
99 msg = &pf->rxmsg[idx]; in enetc_msg_free_mbx()
100 dma_free_coherent(&si->pdev->dev, msg->size, msg->vaddr, msg->dma); in enetc_msg_free_mbx()
[all …]
/openbmc/linux/net/wireless/
H A Dpmsr.c347 struct sk_buff *msg; in cfg80211_pmsr_complete() local
353 if (!msg) in cfg80211_pmsr_complete()
370 genlmsg_end(msg, hdr); in cfg80211_pmsr_complete()
374 nlmsg_free(msg); in cfg80211_pmsr_complete()
537 nla_nest_end(msg, data); in nl80211_pmsr_send_result()
538 nla_nest_end(msg, resp); in nl80211_pmsr_send_result()
539 nla_nest_end(msg, peer); in nl80211_pmsr_send_result()
554 struct sk_buff *msg; in cfg80211_pmsr_report() local
567 if (!msg) in cfg80211_pmsr_report()
589 genlmsg_end(msg, hdr); in cfg80211_pmsr_report()
[all …]
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv-trace.h67 const struct rnbd_msg_io *msg,
72 TP_ARGS(srv, msg, id, datalen, usrlen),
94 __entry->flags = le32_to_cpu(msg->rw);
120 TP_ARGS(srv, msg),
131 __entry->clt_ver = msg->ver;
156 const struct rnbd_msg_open *msg),
158 TP_ARGS(srv, msg),
163 __string(dev_name, msg->dev_name)
169 __assign_str(dev_name, msg->dev_name);
181 const struct rnbd_msg_close *msg),
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c342 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_access %s: %s", in test_pcm_time()
370 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_format %s: %s", in test_pcm_time()
386 snprintf(msg, sizeof(msg), "rate mismatch %ld != %d", rate, rrate); in test_pcm_time()
403 snprintf(msg, sizeof(msg), "snd_pcm_hw_params: %s", snd_strerror(err)); in test_pcm_time()
429 snprintf(msg, sizeof(msg), "snd_pcm_sw_params: %s", snd_strerror(err)); in test_pcm_time()
451 snprintf(msg, sizeof(msg), in test_pcm_time()
456 snprintf(msg, sizeof(msg), in test_pcm_time()
463 snprintf(msg, sizeof(msg), in test_pcm_time()
468 snprintf(msg, sizeof(msg), in test_pcm_time()
482 msg[0] = '\0'; in test_pcm_time()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Di2c-versatile.c138 struct i2c_msg *msg) in versatile_i2c_send_slave_addr() argument
143 if (msg->flags & I2C_M_TEN) { in versatile_i2c_send_slave_addr()
159 if (msg->flags & I2C_M_RD) { in versatile_i2c_send_slave_addr()
170 addr = msg->addr << 1; in versatile_i2c_send_slave_addr()
171 if (msg->flags & I2C_M_RD) in versatile_i2c_send_slave_addr()
184 struct i2c_msg *msg) in versatile_i2c_message_xfer() argument
193 for (i = 0; i < msg->len; i++) { in versatile_i2c_message_xfer()
194 if (msg->flags & I2C_M_RD) { in versatile_i2c_message_xfer()
195 ack = (msg->len - i - 1) == 0 ? 1 : 0; in versatile_i2c_message_xfer()
211 struct i2c_msg *msg, int nmsgs) in versatile_i2c_xfer() argument
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Ddiag.sh58 local msg="$3"
64 printf "%-50s" "$msg"
68 mptcp_lib_result_skip "${msg}"
76 mptcp_lib_result_pass "${msg}"
99 local msg nr
104 msg=$*
114 printf "%-50s" "$msg"
144 local msg="$3"
173 msg+=" after flush"
213 msg+=" after flush"
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_kern.h237 int bpf_prog4(struct sk_msg_md *msg) in bpf_prog4() argument
244 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
247 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
267 int bpf_prog6(struct sk_msg_md *msg) in bpf_prog6() argument
276 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog6()
279 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog6()
312 int bpf_prog8(struct sk_msg_md *msg) in bpf_prog8() argument
333 int bpf_prog9(struct sk_msg_md *msg) in bpf_prog9() argument
351 int bpf_prog10(struct sk_msg_md *msg) in bpf_prog10() argument
358 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog10()
[all …]

12345678910>>...165