Home
last modified time | relevance | path

Searched refs:msg (Results 251 – 275 of 4110) sorted by relevance

1...<<11121314151617181920>>...165

/openbmc/linux/net/rxrpc/
H A Doutput.c190 struct msghdr msg; in rxrpc_send_ack_packet() local
206 msg.msg_flags = 0; in rxrpc_send_ack_packet()
264 struct msghdr msg; in rxrpc_send_abort_packet() local
288 msg.msg_flags = 0; in rxrpc_send_abort_packet()
328 struct msghdr msg; in rxrpc_send_data_packet() local
353 msg.msg_flags = 0; in rxrpc_send_data_packet()
528 struct msghdr msg; in rxrpc_send_conn_abort() local
539 msg.msg_flags = 0; in rxrpc_send_conn_abort()
586 struct msghdr msg; in rxrpc_reject_packet() local
602 msg.msg_flags = 0; in rxrpc_reject_packet()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c85 char msg[]; member
110 struct xsd_sockmsg msg; member
397 rc = queue_reply(&staging_q, &req->msg, sizeof(req->msg)); in xenbus_dev_queue_reply()
425 } msg; in xenbus_command_reply() local
428 msg.hdr = u->u.msg; in xenbus_command_reply()
431 if (msg.hdr.len > sizeof(msg.body)) in xenbus_command_reply()
433 memcpy(&msg.body, reply, msg.hdr.len); in xenbus_command_reply()
436 rc = queue_reply(&u->read_buffers, &msg, sizeof(msg.hdr) + msg.hdr.len); in xenbus_command_reply()
469 (!strcmp(msg->body, "T") || !strcmp(msg->body, "F")))) in xenbus_write_transaction()
607 if ((sizeof(u->u.msg) + u->u.msg.len) > sizeof(u->u.buffer)) { in xenbus_file_write()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis_i2c.c108 struct i2c_msg *msg) in tpm_tis_i2c_retry_transfer_until_ack() argument
115 if (msg->flags & I2C_M_RD) in tpm_tis_i2c_retry_transfer_until_ack()
196 msg.len = sizeof(reg); in tpm_tis_i2c_read_bytes()
197 msg.buf = &reg; in tpm_tis_i2c_read_bytes()
198 msg.flags = 0; in tpm_tis_i2c_read_bytes()
204 msg.buf = result + read; in tpm_tis_i2c_read_bytes()
205 msg.len = len - read; in tpm_tis_i2c_read_bytes()
206 msg.flags = I2C_M_RD; in tpm_tis_i2c_read_bytes()
212 read += msg.len; in tpm_tis_i2c_read_bytes()
239 msg.buf = phy->io_buf; in tpm_tis_i2c_write_bytes()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-tegra-bpmp.c91 struct i2c_msg *msg = &msgs[i]; in tegra_bpmp_serialize_i2c_msg() local
96 buf[pos++] = msg->addr & 0xff; in tegra_bpmp_serialize_i2c_msg()
100 buf[pos++] = msg->len & 0xff; in tegra_bpmp_serialize_i2c_msg()
104 for (j = 0; j < msg->len; j++) in tegra_bpmp_serialize_i2c_msg()
105 buf[pos++] = msg->buf[j]; in tegra_bpmp_serialize_i2c_msg()
179 struct tegra_bpmp_message msg; in tegra_bpmp_i2c_msg_xfer() local
185 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_i2c_msg_xfer()
186 msg.mrq = MRQ_I2C; in tegra_bpmp_i2c_msg_xfer()
187 msg.tx.data = request; in tegra_bpmp_i2c_msg_xfer()
189 msg.rx.data = response; in tegra_bpmp_i2c_msg_xfer()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-cros-ec.c41 } __packed msg; in cros_ec_rtc_get() local
43 memset(&msg, 0, sizeof(msg)); in cros_ec_rtc_get()
44 msg.msg.command = command; in cros_ec_rtc_get()
45 msg.msg.insize = sizeof(msg.data); in cros_ec_rtc_get()
47 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_get()
63 } __packed msg; in cros_ec_rtc_set() local
65 memset(&msg, 0, sizeof(msg)); in cros_ec_rtc_set()
66 msg.msg.command = command; in cros_ec_rtc_set()
67 msg.msg.outsize = sizeof(msg.data); in cros_ec_rtc_set()
68 msg.data.time = param; in cros_ec_rtc_set()
[all …]
/openbmc/phosphor-led-manager/manager/
H A Dconfig-validator.hpp40 const std::string& msg) : in ConfigValidationException() argument
41 std::runtime_error(msg), reason(err) in ConfigValidationException()
43 lg2::error(msg.c_str()); in ConfigValidationException()
48 const std::string& msg) : in ConfigValidationException() argument
49 std::runtime_error(msg), reason(err) in ConfigValidationException()
52 "GROUP", groupName, "MSG", msg.c_str()); in ConfigValidationException()
58 const std::string& msg) : in ConfigValidationException() argument
59 std::runtime_error(msg), reason(err) in ConfigValidationException()
63 "GROUP", groupName, "LED", ledName, "MSG", msg.c_str()); in ConfigValidationException()
/openbmc/qemu/hw/remote/
H A Dproxy.c53 MPQemuMsg msg; in setup_irqfd() local
59 memset(&msg, 0, sizeof(MPQemuMsg)); in setup_irqfd()
60 msg.cmd = MPQEMU_CMD_SET_IRQFD; in setup_irqfd()
61 msg.num_fds = 2; in setup_irqfd()
64 msg.size = 0; in setup_irqfd()
147 MPQemuMsg msg = { 0 }; in config_op_send() local
151 msg.cmd = op; in config_op_send()
236 MPQemuMsg msg = { 0 }; in type_init() local
240 msg.size = sizeof(BarAccessMsg); in type_init()
371 MPQemuMsg msg = { 0 }; in proxy_device_reset() local
[all …]
/openbmc/linux/drivers/gpu/drm/msm/dp/
H A Ddp_aux.c48 struct drm_dp_aux_msg *msg) in dp_aux_write() argument
53 u8 *msgdata = msg->buffer; in dp_aux_write()
60 len = msg->size; in dp_aux_write()
121 ret = dp_aux_write(aux, msg); in dp_aux_cmd_fifo_tx()
134 struct drm_dp_aux_msg *msg) in dp_aux_cmd_fifo_rx() argument
139 u32 len = msg->size; in dp_aux_cmd_fifo_rx()
149 dp = msg->buffer; in dp_aux_cmd_fifo_rx()
281 if (msg->size == 0 || !msg->buffer) { in dp_aux_transfer()
282 msg->reply = aux->native ? in dp_aux_transfer()
284 return msg->size; in dp_aux_transfer()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_lpc.c75 const u8 *msg) in cros_ec_lpc_write_bytes() argument
81 outb(msg[i], offset + i); in cros_ec_lpc_write_bytes()
82 sum += msg[i]; in cros_ec_lpc_write_bytes()
113 const u8 *msg) in cros_ec_lpc_mec_write_bytes() argument
123 length, (u8 *)msg) : in cros_ec_lpc_mec_write_bytes()
179 msg->result = response.result; in cros_ec_pkt_xfer_lpc()
192 msg->data); in cros_ec_pkt_xfer_lpc()
219 msg->outsize, msg->insize); in cros_ec_cmd_xfer_lpc()
233 msg->data); in cros_ec_cmd_xfer_lpc()
241 sum = msg->command; in cros_ec_cmd_xfer_lpc()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dkona_i2c.c449 addr = msg->addr << 1; in bcm_kona_i2c_do_addr()
644 msg[0].addr = chip; in kona_i2c_read()
645 msg[0].flags = 0; in kona_i2c_read()
646 msg[0].len = 1; in kona_i2c_read()
649 msg[1].addr = chip; in kona_i2c_read()
650 msg[1].flags = I2C_M_RD; in kona_i2c_read()
654 msg[1].buf = buffer; in kona_i2c_read()
655 msg[1].len = len; in kona_i2c_read()
673 msg[0].addr = chip; in kona_i2c_write()
674 msg[0].flags = 0; in kona_i2c_write()
[all …]
H A Di2c-uclass.c35 msg->addr, msg->len); in i2c_dump_msgs()
60 msg->buf = offset_buf; in i2c_setup_offset()
85 ptr = msg + 1; in i2c_read_bytewise()
92 ret = ops->xfer(bus, msg, ptr - msg); in i2c_read_bytewise()
106 struct i2c_msg msg[1]; in i2c_write_bytewise() local
137 ptr = msg; in dm_i2c_read()
149 msg_count = ptr - msg; in dm_i2c_read()
189 msg->len += len; in dm_i2c_write()
201 msg->len += len; in dm_i2c_write()
268 msg->len = 0; in i2c_probe_chip()
[all …]
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol_ops.c15 union ipc_mem_msg_entry *msg; in ipc_protocol_free_msg_get() local
26 memset(msg, 0, sizeof(*msg)); in ipc_protocol_free_msg_get()
31 return msg; in ipc_protocol_free_msg_get()
57 union ipc_mem_msg_entry *msg = in ipc_protocol_msg_prepipe_open() local
63 if (!msg) { in ipc_protocol_msg_prepipe_open()
109 union ipc_mem_msg_entry *msg = in ipc_protocol_msg_prepipe_close() local
113 if (!msg) in ipc_protocol_msg_prepipe_close()
120 msg->close_pipe.pipe_nr); in ipc_protocol_msg_prepipe_close()
132 if (!msg) { in ipc_protocol_msg_prep_sleep()
145 msg->host_sleep.target, msg->host_sleep.state); in ipc_protocol_msg_prep_sleep()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c176 if (!msg->msg_control) in add_zcopy_cookie()
199 memset(&msg->msg_control, 0, sizeof(msg->msg_control)); in do_sendmsg()
222 msg->msg_control = NULL; in do_sendmsg()
367 struct msghdr msg; in do_recvmsg_completion() local
370 memset(&msg, 0, sizeof(msg)); in do_recvmsg_completion()
380 for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) { in do_recvmsg_completion()
398 struct msghdr msg = {}; in do_recv_completion() local
510 msg.msg_iovlen++; in do_tx()
534 msg.msg_iovlen++; in do_tx()
546 msg.msg_iovlen++; in do_tx()
[all …]
/openbmc/linux/include/trace/events/
H A Dnetlink.h11 TP_PROTO(const char *msg),
13 TP_ARGS(msg),
16 __string( msg, msg )
20 __assign_str(msg, msg);
23 TP_printk("msg=%s", __get_str(msg))
/openbmc/linux/net/tipc/
H A Deth_media.c52 static int tipc_eth_addr2msg(char *msg, struct tipc_media_addr *addr) in tipc_eth_addr2msg() argument
54 memset(msg, 0, TIPC_MEDIA_INFO_SIZE); in tipc_eth_addr2msg()
55 msg[TIPC_MEDIA_TYPE_OFFSET] = TIPC_MEDIA_TYPE_ETH; in tipc_eth_addr2msg()
56 memcpy(msg + TIPC_MEDIA_ADDR_OFFSET, addr->value, ETH_ALEN); in tipc_eth_addr2msg()
63 const char *msg) in tipc_eth_raw2addr() argument
66 ether_addr_copy(addr->value, msg); in tipc_eth_raw2addr()
75 char *msg) in tipc_eth_msg2addr() argument
78 msg += TIPC_MEDIA_ADDR_OFFSET; in tipc_eth_msg2addr()
79 return tipc_eth_raw2addr(b, addr, msg); in tipc_eth_msg2addr()
/openbmc/linux/drivers/firmware/imx/
H A Drm.c26 struct imx_sc_msg_rm_rsrc_owned msg; in imx_sc_rm_is_resource_owned() local
27 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rm_is_resource_owned()
34 msg.resource = resource; in imx_sc_rm_is_resource_owned()
41 imx_scu_call_rpc(ipc, &msg, true); in imx_sc_rm_is_resource_owned()
70 struct imx_sc_msg_rm_get_resource_owner msg; in imx_sc_rm_get_resource_owner() local
71 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rm_get_resource_owner()
79 msg.data.req.resource = resource; in imx_sc_rm_get_resource_owner()
81 ret = imx_scu_call_rpc(ipc, &msg, true); in imx_sc_rm_get_resource_owner()
86 *pt = msg.data.resp.val; in imx_sc_rm_get_resource_owner()
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-powercycle44 msg="Do power cycle fail, fail to set host$CHASSIS_ID power off"
45 echo "${msg}"
46 add_sel "${msg}"
60 msg="Do power cycle, failed to set host$CHASSIS_ID power on"
61 echo "${msg}"
62 add_sel "${msg}"
70 msg="Host$1 power cycle success"
71 echo "${msg}"
72 add_sel "${msg}"
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dethtool_extended_state.sh47 local msg
53 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \
55 check_err $? "$msg"
64 local msg
78 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \
80 check_err $? "$msg"
82 msg=$(busywait $TIMEOUT ethtool_ext_state $swp2 \
84 check_err $? "$msg"
97 local msg
103 msg=$(busywait $TIMEOUT ethtool_ext_state $swp3 "No cable")
[all …]
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dhandlers.hpp28 static bool propertiesChanged(message& msg, const SignalObject& obj, in propertiesChanged()
32 msg.read(intf); in propertiesChanged()
40 msg.read(props); in propertiesChanged()
65 msg.read(op); in interfacesAdded()
74 msg.read(intfProps); in interfacesAdded()
106 msg.read(op); in interfacesRemoved()
114 msg.read(intfs); in interfacesRemoved()
134 static bool nameOwnerChanged(message& msg, const SignalObject&, in nameOwnerChanged()
140 msg.read(serv); in nameOwnerChanged()
143 msg.read(oldOwner); in nameOwnerChanged()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_picmg.c563 req.msg.data_len = 2; in ipmi_picmg_getaddr()
644 req.msg.data_len = 1; in ipmi_picmg_properties()
696 req.msg.data_len = 3; in ipmi_picmg_fru_activation()
730 req.msg.data_len = 2; in ipmi_picmg_fru_activation_policy_get()
769 req.msg.data_len = 4; in ipmi_picmg_fru_activation_policy_set()
825 req.msg.data_len = 2; in ipmi_picmg_portstate_get()
964 req.msg.data_len = 6; in ipmi_picmg_portstate_set()
1158 req.msg.data_len = 6; in ipmi_picmg_amc_portstate_set()
1196 req.msg.data_len = 2; in ipmi_picmg_get_led_properties()
1236 req.msg.data_len = 3; in ipmi_picmg_get_led_capabilities()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.h96 #define fm10k_tlv_attr_put_u8(msg, attr_id, val) \ argument
97 fm10k_tlv_attr_put_value(msg, attr_id, val, 1)
98 #define fm10k_tlv_attr_put_u16(msg, attr_id, val) \ argument
99 fm10k_tlv_attr_put_value(msg, attr_id, val, 2)
101 fm10k_tlv_attr_put_value(msg, attr_id, val, 4)
103 fm10k_tlv_attr_put_value(msg, attr_id, val, 8)
104 #define fm10k_tlv_attr_put_s8(msg, attr_id, val) \ argument
105 fm10k_tlv_attr_put_value(msg, attr_id, val, 1)
107 fm10k_tlv_attr_put_value(msg, attr_id, val, 2)
109 fm10k_tlv_attr_put_value(msg, attr_id, val, 4)
[all …]
/openbmc/u-boot/drivers/misc/imx8/
H A Dscu.c65 writel(msg, &base->tr[reg_index]); in mu_hal_sendmsg()
85 *msg = readl(&base->rr[reg_index]); in mu_hal_receivemsg()
96 if (!msg) in sc_ipc_read()
106 if (msg->size > SC_RPC_MAX_MSG) { in sc_ipc_read()
107 *((u32 *)msg) = 0; in sc_ipc_read()
112 while (count < msg->size) { in sc_ipc_read()
114 &msg->DATA.u32[count - 1]); in sc_ipc_read()
129 if (!msg) in sc_ipc_write()
133 if (msg->size > SC_RPC_MAX_MSG) in sc_ipc_write()
143 while (count < msg->size) { in sc_ipc_write()
[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"
6 kvm_failed_fpscr_set(const char *msg) "Unable to set FPSCR 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"
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"
14 kvm_failed_vpa_addr_get(const char *msg) "Unable to get VPA address from KVM: %s"
15 kvm_failed_slb_get(const char *msg) "Unable to get SLB shadow state from KVM: %s"
17 kvm_failed_vpa_addr_set(const char *msg) "Unable to set VPA address to KVM: %s"
[all …]
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Ddebugfs.c99 struct wilco_ec_message msg; in raw_write() local
120 msg.flags = 0; in raw_write()
122 msg.request_size = ret - 2; in raw_write()
180 struct wilco_ec_message msg; in send_ec_cmd() local
187 memset(&msg, 0, sizeof(msg)); in send_ec_cmd()
188 msg.type = WILCO_EC_MSG_LEGACY; in send_ec_cmd()
189 msg.request_data = &rq; in send_ec_cmd()
190 msg.request_size = sizeof(rq); in send_ec_cmd()
191 msg.response_data = &rs; in send_ec_cmd()
192 msg.response_size = sizeof(rs); in send_ec_cmd()
[all …]
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-i2c.c82 addr = msg[0].addr; in ddb_i2c_master_xfer()
83 if (msg[0].len > i2c->bsize) in ddb_i2c_master_xfer()
87 if (msg[0].flags & I2C_M_RD) { in ddb_i2c_master_xfer()
92 ddbcpyfrom(dev, msg[0].buf, in ddb_i2c_master_xfer()
93 i2c->rbuf, msg[0].len); in ddb_i2c_master_xfer()
96 ddbcpyto(dev, i2c->wbuf, msg[0].buf, msg[0].len); in ddb_i2c_master_xfer()
106 if (msg[1].len > i2c->bsize) in ddb_i2c_master_xfer()
108 ddbcpyto(dev, i2c->wbuf, msg[0].buf, msg[0].len); in ddb_i2c_master_xfer()
109 ddbwritel(dev, msg[0].len | (msg[1].len << 16), in ddb_i2c_master_xfer()
113 ddbcpyfrom(dev, msg[1].buf, in ddb_i2c_master_xfer()
[all …]

1...<<11121314151617181920>>...165