Home
last modified time | relevance | path

Searched refs:msg (Results 51 – 75 of 3847) sorted by relevance

12345678910>>...154

/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.h131 } __packed * msg = ap_msg->msg; in rng_type6cprb_msgx() local
137 .tocardlen1 = sizeof(*msg) - sizeof(msg->hdr), in rng_type6cprb_msgx()
138 .fromcardlen1 = sizeof(*msg) - sizeof(msg->hdr), in rng_type6cprb_msgx()
144 .req_parml = sizeof(*msg) - sizeof(msg->hdr) - in rng_type6cprb_msgx()
145 sizeof(msg->cprbx), in rng_type6cprb_msgx()
146 .rpl_msgbl = sizeof(*msg) - sizeof(msg->hdr), in rng_type6cprb_msgx()
151 msg->cprbx = local_cprbx; in rng_type6cprb_msgx()
153 memcpy(msg->function_code, msg->hdr.function_code, 0x02); in rng_type6cprb_msgx()
154 msg->rule_length = 0x0a; in rng_type6cprb_msgx()
156 msg->verb_length = 0x02; in rng_type6cprb_msgx()
[all …]
/openbmc/linux/drivers/hsi/clients/
H A Dhsi_char.c142 return msg; in hsc_get_first_msg()
179 if (!msg) in hsc_msg_alloc()
190 return msg; in hsc_msg_alloc()
202 if (!msg) in hsc_msgs_alloc()
295 ret = hsi_async_read(msg->cl, msg); in hsc_break_received()
310 if (!msg) { in hsc_break_request()
330 if (!msg) in hsc_break_send()
430 if (!msg) { in hsc_read()
452 if (msg) { in hsc_read()
455 sg_virt(msg->sgt.sgl), hsc_msg_len_get(msg)); in hsc_read()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Duser_ringbuf_success.c69 switch (msg->msg_op) { in handle_sample_msg()
93 msg = bpf_dynptr_data(dynptr, 0, sizeof(*msg)); in read_protocol_msg()
94 if (!msg) { in read_protocol_msg()
100 handle_sample_msg(msg); in read_protocol_msg()
107 struct test_msg *msg = NULL; in publish_next_kern_msg() local
111 msg = bpf_ringbuf_reserve(&kernel_ringbuf, sizeof(*msg), 0); in publish_next_kern_msg()
112 if (!msg) { in publish_next_kern_msg()
119 msg->operand_64 = operand_64; in publish_next_kern_msg()
124 msg->operand_32 = operand_32; in publish_next_kern_msg()
139 bpf_ringbuf_discard(msg, 0); in publish_next_kern_msg()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl.h32 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg);
33 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg);
37 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg);
38 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg);
39 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg);
40 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg);
41 int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg);
42 int (*config_rss_key)(struct ice_vf *vf, u8 *msg);
43 int (*config_rss_lut)(struct ice_vf *vf, u8 *msg);
44 int (*get_stats_msg)(struct ice_vf *vf, u8 *msg);
[all …]
/openbmc/ipmitool/src/plugins/serial/
H A Dserial_terminal.c511 outer_rq->msg.csum1 = -(outer_rq->msg.rsSA + outer_rq->msg.netFn); in serial_term_build_msg()
526 inner_rq->msg.netFn = (req->msg.netfn << 2) | req->msg.lun; in serial_term_build_msg()
527 inner_rq->msg.csum1 = -(inner_rq->msg.rsSA + inner_rq->msg.netFn); in serial_term_build_msg()
530 inner_rq->msg.cmd = req->msg.cmd; in serial_term_build_msg()
570 memcpy(msg, req->msg.data, req->msg.data_len); in serial_term_build_msg()
573 msg += req->msg.data_len; in serial_term_build_msg()
577 *msg++ = ipmi_csum(&inner_rq->msg.rqSA, req->msg.data_len + 3); in serial_term_build_msg()
582 *msg++ = ipmi_csum(&outer_rq->msg.rqSA, 4); in serial_term_build_msg()
783 uint8_t msg[IPMI_SERIAL_MAX_RESPONSE], * resp = msg; in ipmi_serial_term_send_cmd() local
823 msg, sizeof (msg)); in ipmi_serial_term_send_cmd()
[all …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dvirtio.c195 return msg; in scmi_virtio_get_free_msg()
295 if (msg) { in scmi_vio_complete_cb()
298 msg_read_header(msg->input), msg); in scmi_vio_complete_cb()
343 msg_read_header(msg->input), msg); in scmi_vio_deferred_tx_worker()
452 msg = devm_kzalloc(dev, sizeof(*msg), GFP_KERNEL); in virtio_chan_setup()
453 if (!msg) in virtio_chan_setup()
510 if (!msg) { in virtio_send_message()
564 if (msg) in virtio_fetch_response()
565 msg_fetch_response(msg->input, msg->rx_len, xfer); in virtio_fetch_response()
573 if (msg) in virtio_fetch_notification()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-bus.c129 if (!msg) { in saa7164_bus_set()
152 bytes_to_write = sizeof(*msg) + msg->size; in saa7164_bus_set()
215 msg->size = (__force u16)cpu_to_le16(msg->size); in saa7164_bus_set()
216 msg->command = (__force u32)cpu_to_le32(msg->command); in saa7164_bus_set()
250 memcpy_toio(bus->m_pdwSetRing + curr_swp, msg, sizeof(*msg)); in saa7164_bus_set()
272 memcpy_toio(bus->m_pdwSetRing + curr_swp, msg, sizeof(*msg)); in saa7164_bus_set()
283 msg->size = le16_to_cpu((__force __le16)msg->size); in saa7164_bus_set()
284 msg->command = le32_to_cpu((__force __le32)msg->command); in saa7164_bus_set()
382 memcpy(msg, &msg_tmp, sizeof(*msg)); in saa7164_bus_get()
405 bytes_to_read = sizeof(*msg) + msg->size; in saa7164_bus_get()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_lightbar.c94 msg = kmalloc(sizeof(*msg) + len, GFP_KERNEL); in alloc_lightbar_cmd_msg()
95 if (!msg) in alloc_lightbar_cmd_msg()
103 return msg; in alloc_lightbar_cmd_msg()
115 if (!msg) in get_lightbar_version()
189 if (!msg) in brightness_store()
227 if (!msg) in led_rgb_store()
294 if (!msg) in sequence_show()
327 if (!msg) in lb_send_empty_cmd()
355 if (!msg) in lb_manual_suspend_ctrl()
402 if (!msg) in sequence_store()
[all …]
/openbmc/linux/net/nfc/
H A Dnetlink.c178 if (!msg) in nfc_genl_targets_found()
205 if (!msg) in nfc_genl_target_lost()
235 if (!msg) in nfc_genl_tm_activated()
266 if (!msg) in nfc_genl_tm_deactivated()
306 if (!msg) in nfc_genl_device_added()
335 if (!msg) in nfc_genl_device_removed()
369 if (!msg) in nfc_genl_llc_send_sdres()
430 if (!msg) in nfc_genl_se_added()
461 if (!msg) in nfc_genl_se_removed()
493 if (!msg) in nfc_genl_se_transaction()
[all …]
/openbmc/linux/drivers/platform/x86/amd/
H A Dhsmp.c174 if (msg->msg_id < HSMP_TEST || msg->msg_id >= HSMP_MSG_ID_MAX) in validate_message()
182 if (msg->num_args != hsmp_msg_desc_table[msg->msg_id].num_args || in validate_message()
183 msg->response_sz != hsmp_msg_desc_table[msg->msg_id].response_sz) in validate_message()
194 if (!msg) in hsmp_send_message()
238 msg.msg_id = HSMP_TEST; in hsmp_test()
239 msg.num_args = 1; in hsmp_test()
240 msg.response_sz = 1; in hsmp_test()
241 msg.args[0] = value; in hsmp_test()
242 msg.sock_ind = sock_ind; in hsmp_test()
264 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message))) in hsmp_ioctl()
[all …]
/openbmc/linux/net/ceph/
H A Dmsgpool.c15 struct ceph_msg *msg; in msgpool_alloc() local
19 if (!msg) { in msgpool_alloc()
23 msg->pool = pool; in msgpool_alloc()
25 return msg; in msgpool_alloc()
31 struct ceph_msg *msg = element; in msgpool_free() local
34 msg->pool = NULL; in msgpool_free()
35 ceph_msg_put(msg); in msgpool_free()
62 struct ceph_msg *msg; in ceph_msgpool_get() local
78 return msg; in ceph_msgpool_get()
89 msg->data_length = 0; in ceph_msgpool_put()
[all …]
/openbmc/ipmitool/src/plugins/dummy/
H A Ddummy.c157 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()
258 rsp.msg.netfn = rsp_dummy.msg.netfn; in ipmi_dummyipmi_send_cmd()
259 rsp.msg.cmd = rsp_dummy.msg.cmd; in ipmi_dummyipmi_send_cmd()
260 rsp.msg.seq = rsp_dummy.msg.seq; in ipmi_dummyipmi_send_cmd()
[all …]
/openbmc/linux/arch/m68k/mac/
H A Diop.c333 msg->iop_num, msg->channel, IOP_MSG_LEN, msg->reply); in iop_complete_message()
358 msg->iop_num, msg->channel, IOP_MSG_LEN, msg->message); in iop_do_send()
379 struct iop_msg *msg; in iop_handle_send() local
394 if (msg->handler) (*msg->handler)(msg); in iop_handle_send()
396 msg = msg->next; in iop_handle_send()
399 iop_do_send(msg); in iop_handle_send()
432 if (msg->handler) { in iop_handle_recv()
433 (*msg->handler)(msg); in iop_handle_recv()
461 msg->next = NULL; in iop_send_message()
471 iop_do_send(msg); in iop_send_message()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_ipmb.c85 netfn = msg[1] >> 2; in valid_ipmb()
231 msg->rsp[0] = msg->data[0] | (1 << 2); in ipmi_ipmb_send_response()
233 msg->rsp[1] = msg->data[1]; in ipmi_ipmb_send_response()
234 msg->rsp[2] = msg->data[2]; in ipmi_ipmb_send_response()
235 msg->rsp[3] = msg->data[3]; in ipmi_ipmb_send_response()
236 msg->rsp[4] = cc; in ipmi_ipmb_send_response()
239 msg->rsp[1] = msg->data[1]; in ipmi_ipmb_send_response()
252 memcpy(iidev->xmitmsg + 4, msg->data + 2, msg->data_size - 2); in ipmi_ipmb_format_for_xmit()
258 memcpy(iidev->xmitmsg + 5, msg->data + 1, msg->data_size - 1); in ipmi_ipmb_format_for_xmit()
298 if (!msg) in ipmi_ipmb_thread()
[all …]
/openbmc/linux/drivers/net/can/
H A Djanz-ican3.c661 memset(&msg, 0, sizeof(msg)); in ican3_msg_connect()
672 memset(&msg, 0, sizeof(msg)); in ican3_msg_disconnect()
684 memset(&msg, 0, sizeof(msg)); in ican3_msg_newhostif()
705 memset(&msg, 0, sizeof(msg)); in ican3_msg_fasthostif()
739 memset(&msg, 0, sizeof(msg)); in ican3_set_id_filter()
755 memset(&msg, 0, sizeof(msg)); in ican3_set_id_filter()
810 memset(&msg, 0, sizeof(msg)); in ican3_set_bus_state()
818 memset(&msg, 0, sizeof(msg)); in ican3_set_bus_state()
860 memset(&msg, 0, sizeof(msg)); in ican3_set_termination()
873 memset(&msg, 0, sizeof(msg)); in ican3_send_inquiry()
[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)
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)
52 self.assertEqual(status, 0, msg=msg)
61 self.assertEqual(status, 0, msg=msg)
63 msg = 'Incorrect output: %s' % output
[all …]
H A Dstorage.py19 msg = ('Mount failed: %s.' % status)
20 cls.assertFalse(output, msg = msg)
26 cls.assertTrue(match, msg = msg)
32 cls.assertFalse(output, msg = msg)
39 cls.assertFalse(status, msg = msg)
44 cls.assertFalse(status, msg = msg)
48 cls.assertFalse(status, msg = msg)
57 cls.assertEqual(status, 0, msg = msg)
64 cls.assertEqual(status, 0, msg = msg)
75 cls.assertEqual(status, 0, msg = msg)
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dqmp_client.py116 self.msg: Message = msg
351 if 'event' in msg:
377 msg
404 return msg
433 if 'id' in msg:
491 elif 'id' in msg:
531 msg = Message(msg)
567 if not ('execute' in msg or 'exec-oob' in msg):
573 msg = Message(msg)
590 reply, msg,
[all …]
/openbmc/linux/drivers/slimbus/
H A Dmessaging.c37 msg = txn->msg; in slim_msg_response()
38 if (msg == NULL || msg->rbuf == NULL) { in slim_msg_response()
143 if (!txn->msg->comp) in slim_do_transfer()
182 if (!msg || msg->num_bytes > 16 || in slim_val_inf_sanity()
183 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity()
200 if (msg->rbuf != NULL && msg->wbuf != NULL) in slim_val_inf_sanity()
205 if (msg) in slim_val_inf_sanity()
252 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg()
279 msg->rbuf = rbuf; in slim_fill_msg()
280 msg->wbuf = wbuf; in slim_fill_msg()
[all …]
/openbmc/libpldm/tests/transport/
H A Dtransport.cpp26 .msg = msg, in TEST()
37 rc = pldm_transport_send_msg(ctx, 1, msg, sizeof(msg)); in TEST()
52 .msg = msg, in TEST()
68 EXPECT_EQ(len, sizeof(msg)); in TEST()
95 .msg = req, in TEST()
104 .msg = resp, in TEST()
112 void* msg = NULL; in TEST() local
121 free(msg); in TEST()
136 .msg = req, in TEST()
162 void* msg; in TEST() local
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddibx000_common.c36 mst->msg[0].flags = 0; in dibx000_write_word()
38 mst->msg[0].len = 4; in dibx000_write_word()
60 mst->msg[0].flags = 0; in dibx000_read_word()
62 mst->msg[0].len = 2; in dibx000_read_word()
66 mst->msg[1].len = 2; in dibx000_read_word()
142 u8 *b = msg->buf; in dibx000_master_i2c_read()
310 mst->msg[0].len = 4; in dibx000_i2c_gated_gpio67_xfer()
312 memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num); in dibx000_i2c_gated_gpio67_xfer()
356 mst->msg[0].len = 4; in dibx000_i2c_gated_tuner_xfer()
358 memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num); in dibx000_i2c_gated_tuner_xfer()
[all …]
/openbmc/libpldm/src/dsp/
H A Dbios.c12 if (msg == NULL) { in encode_get_date_time_req()
30 if (msg == NULL) { in encode_get_date_time_resp()
100 if (msg == NULL) { in encode_set_date_time_req()
168 if (msg == NULL) { in encode_set_date_time_resp()
219 if (msg == NULL) { in encode_get_bios_table_resp()
361 msg->payload; in encode_get_bios_attribute_current_value_by_handle_req()
382 msg->payload; in decode_get_bios_attribute_current_value_by_handle_resp()
421 msg->payload; in decode_get_bios_attribute_current_value_by_handle_req()
455 msg->payload; in encode_get_bios_current_value_by_handle_resp()
523 msg->payload; in decode_set_bios_attribute_current_value_resp()
[all …]
/openbmc/u-boot/tools/patman/
H A Dtout.py89 msg = _color.Color(color, msg)
102 def Error(msg): argument
110 def Warning(msg): argument
118 def Notice(msg): argument
124 _Output(2, msg)
126 def Info(msg): argument
132 _Output(3, msg)
134 def Debug(msg): argument
140 _Output(4, msg)
142 def UserOutput(msg): argument
[all …]
/openbmc/linux/net/core/
H A Dskmsg.c15 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok()
19 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok()
66 sge = &msg->sg.data[msg->sg.end]; in sk_msg_alloc()
203 sk_msg_check_to_free(msg, i, msg->sg.size); in __sk_msg_free()
287 if (msg->sg.curr == i && msg->sg.copybreak > msg->sg.data[i].length) in sk_msg_trim()
288 msg->sg.copybreak = msg->sg.data[i].length; in sk_msg_trim()
300 msg->sg.curr = msg->sg.start; in sk_msg_trim()
306 msg->sg.copybreak = msg->sg.data[i].length; in sk_msg_trim()
340 sg_set_page(&msg->sg.data[msg->sg.end], in sk_msg_zerocopy_from_iter()
342 sg_unmark_end(&msg->sg.data[msg->sg.end]); in sk_msg_zerocopy_from_iter()
[all …]
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus.c1428 msg[len++] = req->msg.netfn << 2 | (req->msg.lun & 3); in getIpmiPayloadWireRep()
1432 msg[len++] = ipmi_csum(msg+cs, tmp); in getIpmiPayloadWireRep()
1445 msg[len++] = req->msg.cmd; in getIpmiPayloadWireRep()
1449 memcpy(msg + len, req->msg.data, req->msg.data_len); in getIpmiPayloadWireRep()
1455 msg[len++] = ipmi_csum(msg+cs, tmp); in getIpmiPayloadWireRep()
2013 msg[len++] = req->msg.data_len + 7; in ipmi_lanplus_build_v15_ipmi_cmd()
2018 msg[len++] = req->msg.netfn << 2; in ipmi_lanplus_build_v15_ipmi_cmd()
2020 msg[len++] = ipmi_csum(msg+cs, tmp); in ipmi_lanplus_build_v15_ipmi_cmd()
2027 msg[len++] = req->msg.cmd; in ipmi_lanplus_build_v15_ipmi_cmd()
2048 memcpy(msg+len, req->msg.data, req->msg.data_len); in ipmi_lanplus_build_v15_ipmi_cmd()
[all …]

12345678910>>...154