Home
last modified time | relevance | path

Searched refs:msg (Results 301 – 325 of 4089) sorted by relevance

1...<<11121314151617181920>>...164

/openbmc/linux/net/devlink/
H A Dport.c267 struct sk_buff *msg, in devlink_port_fn_hw_addr_fill() argument
489 genlmsg_end(msg, hdr); in devlink_nl_port_fill()
503 struct sk_buff *msg; in devlink_port_notify() local
512 if (!msg) in devlink_port_notify()
517 nlmsg_free(msg); in devlink_port_notify()
548 struct sk_buff *msg; in devlink_nl_port_get_doit() local
552 if (!msg) in devlink_nl_port_get_doit()
559 nlmsg_free(msg); in devlink_nl_port_get_doit()
842 struct sk_buff *msg; in devlink_nl_cmd_port_new_doit() local
880 if (!msg) { in devlink_nl_cmd_port_new_doit()
[all …]
H A Dregion.c163 genlmsg_end(msg, hdr); in devlink_nl_region_fill()
177 struct sk_buff *msg; in devlink_nl_region_notify_build() local
182 if (!msg) in devlink_nl_region_notify_build()
218 genlmsg_end(msg, hdr); in devlink_nl_region_notify_build()
220 return msg; in devlink_nl_region_notify_build()
225 nlmsg_free(msg); in devlink_nl_region_notify_build()
234 struct sk_buff *msg; in devlink_nl_region_notify() local
241 if (IS_ERR(msg)) in devlink_nl_region_notify()
478 struct sk_buff *msg; in devlink_nl_region_get_doit() local
503 if (!msg) in devlink_nl_region_get_doit()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py61 logger.console(msg="", newline=True)
65 logger.console(msg="", newline=True)
96 logger.console(msg="", newline=True)
130 logger.console(msg="", newline=True)
131 msg = (
141 logger.info(msg, also_console=True)
178 msg = (
190 logger.info(msg, also_console=True)
227 msg = (
285 msg = (
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_vf.c11 struct enetc_msg_swbd *msg) in enetc_msg_vsi_write_msg() argument
15 val = enetc_vsi_set_msize(msg->size) | lower_32_bits(msg->dma); in enetc_msg_vsi_write_msg()
16 enetc_wr(hw, ENETC_VSIMSGSNDAR1, upper_32_bits(msg->dma)); in enetc_msg_vsi_write_msg()
25 enetc_msg_vsi_write_msg(&si->hw, msg); in enetc_msg_vsi_send()
52 struct enetc_msg_swbd msg; in enetc_msg_vsi_set_primary_mac_addr() local
56 msg.vaddr = dma_alloc_coherent(priv->dev, msg.size, &msg.dma, in enetc_msg_vsi_set_primary_mac_addr()
58 if (!msg.vaddr) { in enetc_msg_vsi_set_primary_mac_addr()
60 msg.size); in enetc_msg_vsi_set_primary_mac_addr()
64 cmd = (struct enetc_msg_cmd_set_primary_mac *)msg.vaddr; in enetc_msg_vsi_set_primary_mac_addr()
70 err = enetc_msg_vsi_send(priv->si, &msg); in enetc_msg_vsi_set_primary_mac_addr()
[all …]
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dtrace_rvt.h19 const char *msg),
20 TP_ARGS(rdi, msg),
23 __string(msg, msg)
27 __assign_str(msg, msg);
29 TP_printk("[%s]: %s", __get_str(dev), __get_str(msg))
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.c56 struct msghdr msg = {0}; in do_send() local
68 msg.msg_iov = &iov; in do_send()
69 msg.msg_iovlen = 1; in do_send()
72 msg.msg_name = &addr; in do_send()
83 msg.msg_control = control; in do_send()
87 ret = sendmsg(fd, &msg, 0); in do_send()
101 struct msghdr msg = {0}; in do_recv() local
110 msg.msg_iov = &iov; in do_recv()
111 msg.msg_iovlen = 1; in do_recv()
114 msg.msg_control = control; in do_recv()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_spi.c1186 msg[1] = 2; in spi_populate_width_msg()
1188 msg[3] = width; in spi_populate_width_msg()
1196 msg[1] = 3; in spi_populate_sync_msg()
1208 msg[1] = 6; in spi_populate_ppr_msg()
1211 msg[4] = 0; in spi_populate_ppr_msg()
1280 int ptr = (msg[msb] << 24) | (msg[msb+1] << 16) | (msg[msb+2] << 8) | in print_ptr()
1281 msg[msb+3]; in print_ptr()
1336 msg[1]); in spi_print_msg()
1339 msg[0], msg[1]); in spi_print_msg()
1363 } else if ((msg[0] < 0x1f) || (msg[0] == 0x55)) { in spi_print_msg()
[all …]
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_trace.h44 const struct rndis_message *msg),
45 TP_ARGS(ndev, q, msg),
56 __entry->req_id = msg->msg.init_req.req_id;
67 const struct rndis_message *msg),
68 TP_ARGS(ndev, q, msg)
73 const struct rndis_message *msg),
74 TP_ARGS(ndev, q, msg)
117 const struct nvsp_message *msg),
118 TP_ARGS(ndev, msg),
160 const struct nvsp_message *msg),
[all …]
/openbmc/linux/include/net/iucv/
H A Diucv.h326 int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg,
398 int iucv_message_reply(struct iucv_path *path, struct iucv_message *msg,
418 int iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
438 int __iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
465 int (*message_receive)(struct iucv_path *path, struct iucv_message *msg,
468 struct iucv_message *msg, u8 flags, void *buffer, size_t size,
470 int (*message_reply)(struct iucv_path *path, struct iucv_message *msg,
473 int (*message_send)(struct iucv_path *path, struct iucv_message *msg,
475 int (*__message_send)(struct iucv_path *path, struct iucv_message *msg,
478 struct iucv_message *msg, u8 flags, u32 srccls, void *buffer,
[all …]
/openbmc/qemu/crypto/
H A Dcipher-afalg.c94 afalg->msg = g_new0(struct msghdr, 1); in qcrypto_afalg_cipher_ctx_new()
100 afalg->msg->msg_control = g_new0(uint8_t, afalg->msg->msg_controllen); in qcrypto_afalg_cipher_ctx_new()
103 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()
111 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()
156 origin_controllen = afalg->msg->msg_controllen; in qcrypto_afalg_cipher_op()
158 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_op()
162 afalg->msg->msg_iov = &iov; in qcrypto_afalg_cipher_op()
163 afalg->msg->msg_iovlen = 1; in qcrypto_afalg_cipher_op()
176 ret = sendmsg(afalg->opfd, afalg->msg, 0); in qcrypto_afalg_cipher_op()
191 afalg->msg->msg_controllen = 0; in qcrypto_afalg_cipher_op()
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Dhfi-events.c56 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() argument
84 struct nl_msg *msg, in send_and_recv_msgs() argument
95 err = nl_send_auto_complete(drv->nl_handle, msg); in send_and_recv_msgs()
113 nlmsg_free(msg); in send_and_recv_msgs()
126 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler()
155 struct nl_msg *msg; in nl_get_multicast_id() local
159 msg = nlmsg_alloc(); in nl_get_multicast_id()
160 if (!msg) in nl_get_multicast_id()
164 NLA_PUT_STRING(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
167 msg = NULL; in nl_get_multicast_id()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_dcmi.c1124 req.msg.data_len = 3; in ipmi_dcmi_getmngctrlids()
1480 req.msg.data_len = 7; in ipmi_dcmi_setthermalpolicy()
1518 req.msg.data_len = 5; in ipmi_dcmi_get_temp_readings()
1589 req.msg.data_len = 3; in ipmi_dcmi_getconfparam()
1702 req.msg.data_len = 3; in ipmi_dcmi_pwr_glimit()
2018 req.msg.data_len = 3; in _ipmi_nm_discover()
2051 req.msg.data_len = 5; in _ipmi_nm_getcapabilities()
2076 req.msg.data_len = 5; in _ipmi_nm_get_policy()
2118 req.msg.data_len = 4; in _ipmi_nm_policy_limiting()
2145 req.msg.data_len = 6; in _ipmi_nm_control()
[all …]
H A Dipmi_kontronoem.c184 req.msg.netfn = 0x3E; in ipmi_kontronoem_send_set_large_buffer()
186 req.msg.cmd = 0x82; in ipmi_kontronoem_send_set_large_buffer()
188 req.msg.data_len = 2; in ipmi_kontronoem_send_set_large_buffer()
189 req.msg.lun = 0x00; in ipmi_kontronoem_send_set_large_buffer()
239 req.msg.netfn = 0x3E; in ipmi_kontron_set_serial_number()
240 req.msg.cmd = 0x0C; in ipmi_kontron_set_serial_number()
244 req.msg.lun = 0x03; in ipmi_kontron_set_serial_number()
529 req.msg.cmd = 0x0E; in ipmi_kontron_set_mfg_date()
533 req.msg.lun = 0x03; in ipmi_kontron_set_mfg_date()
687 req.msg.cmd = 0x02; in ipmi_kontron_nextboot_set()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() local
59 msg->version = 1; in cros_ec_sensorhub_register()
60 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
61 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
67 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in cros_ec_sensorhub_register()
70 i, ret, msg->result); in cros_ec_sensorhub_register()
129 struct cros_ec_command *msg; in cros_ec_sensorhub_probe() local
132 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) + in cros_ec_sensorhub_probe()
135 if (!msg) in cros_ec_sensorhub_probe()
138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
[all …]
/openbmc/hiomapd/
H A Dtransport_mbox.c461 io.req.flags = req->msg.args[0]; in mbox_handle_close_window()
478 io.req.flags = req->msg.args[0]; in mbox_handle_ack()
492 uint8_t cmd = req->msg.command; in check_req_valid()
493 uint8_t seq = req->msg.seq; in check_req_valid()
560 .command = req->msg.command, in handle_mbox_req()
561 .seq = req->msg.seq, in handle_mbox_req()
578 req->msg.command); in handle_mbox_req()
619 rc = read(context->fds[MBOX_FD].fd, msg, sizeof(msg->raw)); in get_message()
629 MSG_DBG("MBOX cmd: %u\n", msg->msg.command); in get_message()
630 MSG_DBG("MBOX seq: %u\n", msg->msg.seq); in get_message()
[all …]
/openbmc/linux/tools/lib/thermal/
H A Dthermal_nl.c19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler() argument
35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler() argument
45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler() argument
61 err = nl_send_auto_complete(sock, msg); in nl_send_msg()
75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler() argument
79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
116 struct nl_msg *msg; in nl_get_multicast_id() local
123 msg = nlmsg_alloc(); in nl_get_multicast_id()
124 if (!msg) in nl_get_multicast_id()
131 nla_put_string(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-imx-sc.c44 struct imx_sc_msg_timer_get_rtc_time msg; in imx_sc_rtc_read_time() local
45 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rtc_read_time()
59 rtc_time64_to_tm(msg.time, tm); in imx_sc_rtc_read_time()
85 struct imx_sc_msg_timer_rtc_set_alarm msg; in imx_sc_rtc_set_alarm() local
86 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rtc_set_alarm()
95 msg.year = alrm_tm->tm_year + 1900; in imx_sc_rtc_set_alarm()
96 msg.mon = alrm_tm->tm_mon + 1; in imx_sc_rtc_set_alarm()
97 msg.day = alrm_tm->tm_mday; in imx_sc_rtc_set_alarm()
98 msg.hour = alrm_tm->tm_hour; in imx_sc_rtc_set_alarm()
99 msg.min = alrm_tm->tm_min; in imx_sc_rtc_set_alarm()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_mbox.c68 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
72 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg()
97 switch (mbx.msg) { in otx_cptvf_handle_mbox_intr()
123 mbx.msg); in otx_cptvf_handle_mbox_intr()
148 mbx->msg, cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
163 mbx.msg = OTX_CPT_MSG_READY; in otx_cptvf_check_pf_ready()
176 mbx.msg = OTX_CPT_MSG_QLEN; in otx_cptvf_send_vq_size_msg()
190 mbx.msg = OTX_CPT_MSG_QBIND_GRP; in otx_cptvf_send_vf_to_grp_msg()
208 mbx.msg = OTX_CPT_MSG_VQ_PRIORITY; in otx_cptvf_send_vf_priority_msg()
222 mbx.msg = OTX_CPT_MSG_VF_UP; in otx_cptvf_send_vf_up()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs3proc.c46 #define rpc_call_sync(clnt, msg, flags) nfs3_rpc_wrapper(clnt, msg, flags) argument
64 struct rpc_message msg = { in do_proc_get_root() local
77 msg.rpc_resp = info->fattr; in do_proc_get_root()
106 struct rpc_message msg = { in nfs3_proc_getattr() local
134 struct rpc_message msg = { in nfs3_proc_setattr() local
169 struct rpc_message msg = { in __nfs3_proc_lookup() local
185 msg.rpc_argp = fhandle; in __nfs3_proc_lookup()
186 msg.rpc_resp = fattr; in __nfs3_proc_lookup()
275 msg.rpc_resp = fattr; in nfs3_proc_readlink()
286 struct rpc_message msg; member
[all …]
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c252 struct pucan_rx_msg *msg) in pucan_handle_can_rx() argument
322 pucan_netif_rx(skb, msg->ts_low, msg->ts_high); in pucan_handle_can_rx()
331 priv->bec.txerr = msg->tx_err_cnt; in pucan_handle_error()
332 priv->bec.rxerr = msg->rx_err_cnt; in pucan_handle_error()
364 if (pucan_status_is_busoff(msg)) { in pucan_handle_status()
413 pucan_netif_rx(skb, msg->ts_low, msg->ts_high); in pucan_handle_status()
447 struct pucan_rx_msg *msg) in peak_canfd_handle_msg() argument
647 struct pucan_tx_msg *msg; in peak_canfd_start_xmit() local
663 if (!msg) { in peak_canfd_start_xmit()
711 msg->client = priv->echo_idx; in peak_canfd_start_xmit()
[all …]
/openbmc/linux/drivers/firmware/imx/
H A Dimx-scu-soc.c36 struct imx_sc_msg_misc_get_soc_uid msg; in imx_scu_soc_uid() local
37 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_scu_soc_uid()
45 ret = imx_scu_call_rpc(imx_sc_soc_ipc_handle, &msg, true); in imx_scu_soc_uid()
51 *soc_uid = msg.uid_high; in imx_scu_soc_uid()
53 *soc_uid |= msg.uid_low; in imx_scu_soc_uid()
60 struct imx_sc_msg_misc_get_soc_id msg; in imx_scu_soc_id() local
61 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_scu_soc_id()
69 msg.data.req.control = IMX_SC_C_ID; in imx_scu_soc_id()
70 msg.data.req.resource = IMX_SC_R_SYSTEM; in imx_scu_soc_id()
72 ret = imx_scu_call_rpc(imx_sc_soc_ipc_handle, &msg, true); in imx_scu_soc_id()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_vf.c170 u32 msg[4]; in fm10k_update_vlan_vf() local
189 return mbx->ops.enqueue_tx(hw, mbx, msg); in fm10k_update_vlan_vf()
276 u32 msg[7]; in fm10k_update_uc_addr_vf() local
300 return mbx->ops.enqueue_tx(hw, mbx, msg); in fm10k_update_uc_addr_vf()
319 u32 msg[7]; in fm10k_update_mc_addr_vf() local
339 return mbx->ops.enqueue_tx(hw, mbx, msg); in fm10k_update_mc_addr_vf()
352 u32 msg[1]; in fm10k_update_int_moderator_vf() local
358 mbx->ops.enqueue_tx(hw, mbx, msg); in fm10k_update_int_moderator_vf()
403 u32 msg[2]; in fm10k_update_lport_state_vf() local
414 return mbx->ops.enqueue_tx(hw, mbx, msg); in fm10k_update_lport_state_vf()
[all …]
/openbmc/linux/drivers/firmware/tegra/
H A Dbpmp.c97 (msg->tx.size == 0 || msg->tx.data) && in tegra_bpmp_message_valid()
98 (msg->rx.size == 0 || msg->rx.data); in tegra_bpmp_message_valid()
343 msg->tx.data, msg->tx.size); in tegra_bpmp_transfer_atomic()
359 return __tegra_bpmp_channel_read(channel, msg->rx.data, msg->rx.size, in tegra_bpmp_transfer_atomic()
360 &msg->rx.ret); in tegra_bpmp_transfer_atomic()
385 channel = tegra_bpmp_write_threaded(bpmp, msg->mrq, msg->tx.data, in tegra_bpmp_transfer()
400 return tegra_bpmp_channel_read(channel, msg->rx.data, msg->rx.size, in tegra_bpmp_transfer()
574 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_ping()
575 msg.mrq = MRQ_PING; in tegra_bpmp_ping()
618 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_get_firmware_tag_old()
[all …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-i2c.c131 if (0 == msg->len) in bttv_i2c_sendbytes()
135 xmit = (msg->addr << 25) | (msg->buf[0] << 16) | I2C_HW; in bttv_i2c_sendbytes()
136 if (msg->len > 1 || !last) in bttv_i2c_sendbytes()
145 pr_cont(" <W %02x %02x", msg->addr << 1, msg->buf[0]); in bttv_i2c_sendbytes()
151 if (cnt < msg->len-1 || !last) in bttv_i2c_sendbytes()
160 pr_cont(" %02x", msg->buf[cnt]); in bttv_i2c_sendbytes()
164 return msg->len; in bttv_i2c_sendbytes()
183 if (cnt < msg->len-1) in bttv_i2c_readbytes()
185 if (cnt < msg->len-1 || !last) in bttv_i2c_readbytes()
203 pr_cont(" =%02x", msg->buf[cnt]); in bttv_i2c_readbytes()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_pfvf.c132 *msg &= ~(ADF_GEN2_CSR_IN_USE_MASK << offset); in gen2_csr_clear_in_use()
137 *msg |= (ADF_GEN2_CSR_IN_USE << offset); in gen2_csr_set_in_use()
140 static bool is_legacy_user_pfvf_message(u32 msg) in is_legacy_user_pfvf_message() argument
142 return !(msg & ADF_PFVF_MSGORIGIN_SYSTEM); in is_legacy_user_pfvf_message()
176 struct pfvf_message msg, in adf_gen2_pfvf_send() argument
277 struct pfvf_message msg = { 0 }; in adf_gen2_pfvf_recv() local
289 return msg; in adf_gen2_pfvf_recv()
302 return msg; in adf_gen2_pfvf_recv()
312 !params->is_notification_message(msg.type)) in adf_gen2_pfvf_recv()
319 return msg; in adf_gen2_pfvf_recv()
[all …]

1...<<11121314151617181920>>...164