Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 2162) sorted by relevance

12345678910>>...87

/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_hfi.c237 struct a6xx_hfi_msg_gmu_init_cmd msg = { 0 }; in a6xx_hfi_send_gmu_init() local
239 msg.dbg_buffer_addr = (u32) gmu->debug.iova; in a6xx_hfi_send_gmu_init()
240 msg.dbg_buffer_size = (u32) gmu->debug.size; in a6xx_hfi_send_gmu_init()
241 msg.boot_state = boot_state; in a6xx_hfi_send_gmu_init()
243 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_INIT, &msg, sizeof(msg), in a6xx_hfi_send_gmu_init()
249 struct a6xx_hfi_msg_fw_version msg = { 0 }; in a6xx_hfi_get_fw_version() local
252 msg.supported_version = (1 << 28) | (1 << 19) | (1 << 17); in a6xx_hfi_get_fw_version()
254 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_FW_VERSION, &msg, sizeof(msg), in a6xx_hfi_get_fw_version()
260 struct a6xx_hfi_msg_perf_table_v1 msg = { 0 }; in a6xx_hfi_send_perf_table_v1() local
263 msg.num_gpu_levels = gmu->nr_gpu_freqs; in a6xx_hfi_send_perf_table_v1()
[all …]
/linux/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_async_ids_map_extended.h26 int msg; member
32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
44 { .fc_id = 6, .cpu_id = 6, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
46 { .fc_id = 7, .cpu_id = 7, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
48 { .fc_id = 8, .cpu_id = 8, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c210 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() local
222 msg->length = mex->inputdatalength + 2; in icamex_msg_to_type6mex_msgx()
223 if (copy_from_user(msg->text, mex->inputdata, mex->inputdatalength)) in icamex_msg_to_type6mex_msgx()
227 size = zcrypt_type6_mex_key_en(mex, msg->text + mex->inputdatalength); in icamex_msg_to_type6mex_msgx()
230 size += sizeof(*msg) + mex->inputdatalength; in icamex_msg_to_type6mex_msgx()
233 msg->hdr = static_type6_hdrX; in icamex_msg_to_type6mex_msgx()
234 msg->hdr.tocardlen1 = size - sizeof(msg->hdr); in icamex_msg_to_type6mex_msgx()
235 msg->hdr.fromcardlen1 = CEXXC_MAX_ICA_RESPONSE_SIZE - sizeof(msg->hdr); in icamex_msg_to_type6mex_msgx()
237 msg->cprbx = static_cprbx; in icamex_msg_to_type6mex_msgx()
238 msg->cprbx.domain = AP_QID_QUEUE(zq->queue->qid); in icamex_msg_to_type6mex_msgx()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_proto.c60 struct cros_ec_command *msg) in prepare_tx() argument
67 if (msg->outsize + sizeof(*request) > ec_dev->dout_size) in prepare_tx()
74 request->command = msg->command; in prepare_tx()
75 request->command_version = msg->version; in prepare_tx()
77 request->data_len = msg->outsize; in prepare_tx()
83 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_tx()
84 for (i = 0; i < msg->outsize; i++) in prepare_tx()
85 csum += msg->data[i]; in prepare_tx()
89 return sizeof(*request) + msg->outsize; in prepare_tx()
93 struct cros_ec_command *msg) in prepare_tx_legacy() argument
[all …]
H A Dcros_ec_sysfs.c54 struct cros_ec_command *msg; in reboot_store() local
61 msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL); in reboot_store()
62 if (!msg) in reboot_store()
65 param = (struct ec_params_reboot_ec *)msg->data; in reboot_store()
98 msg->version = 0; in reboot_store()
99 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in reboot_store()
100 msg->outsize = sizeof(*param); in reboot_store()
101 msg->insize = 0; in reboot_store()
102 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in reboot_store()
106 kfree(msg); in reboot_store()
[all …]
H A Dcros_ec_lightbar.c101 struct cros_ec_command *msg; in alloc_lightbar_cmd_msg() local
103 msg = kmalloc(sizeof(*msg) + len, GFP_KERNEL); in alloc_lightbar_cmd_msg()
104 if (!msg) in alloc_lightbar_cmd_msg()
107 msg->version = 0; in alloc_lightbar_cmd_msg()
108 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
114 msg->outsize = sizeof(struct ec_params_lightbar); in alloc_lightbar_cmd_msg()
115 msg->insize = sizeof(struct ec_response_lightbar); in alloc_lightbar_cmd_msg()
117 return msg; in alloc_lightbar_cmd_msg()
125 struct cros_ec_command *msg; in get_lightbar_version() local
128 msg = alloc_lightbar_cmd_msg(ec); in get_lightbar_version()
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument
47 enum mcu_msg_version version = msg->header.version; in allegro_enc_init()
49 dst[i++] = msg->reserved0; in allegro_enc_init()
50 dst[i++] = msg->suballoc_dma; in allegro_enc_init()
51 dst[i++] = msg->suballoc_size; in allegro_enc_init()
52 dst[i++] = msg->encoder_buffer_size; in allegro_enc_init()
53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init()
54 dst[i++] = msg->num_cores; in allegro_enc_init()
56 dst[i++] = msg->clk_rate; in allegro_enc_init()
233 allegro_enc_create_channel(u32 *dst, struct mcu_msg_create_channel *msg) in allegro_enc_create_channel() argument
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Drestrack.c39 static int fill_sq(struct sk_buff *msg, struct t4_wq *wq) in fill_sq() argument
42 if (rdma_nl_put_driver_u32(msg, "sqid", wq->sq.qid)) in fill_sq()
44 if (rdma_nl_put_driver_u32(msg, "flushed", wq->flushed)) in fill_sq()
46 if (rdma_nl_put_driver_u32(msg, "memsize", wq->sq.memsize)) in fill_sq()
48 if (rdma_nl_put_driver_u32(msg, "cidx", wq->sq.cidx)) in fill_sq()
50 if (rdma_nl_put_driver_u32(msg, "pidx", wq->sq.pidx)) in fill_sq()
52 if (rdma_nl_put_driver_u32(msg, "wq_pidx", wq->sq.wq_pidx)) in fill_sq()
54 if (rdma_nl_put_driver_u32(msg, "flush_cidx", wq->sq.flush_cidx)) in fill_sq()
56 if (rdma_nl_put_driver_u32(msg, "in_use", wq->sq.in_use)) in fill_sq()
58 if (rdma_nl_put_driver_u32(msg, "size", wq->sq.size)) in fill_sq()
[all …]
/linux/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c36 static int imx_rpmsg_pcm_send_message(struct rpmsg_msg *msg, in imx_rpmsg_pcm_send_message() argument
48 dev_dbg(&rpdev->dev, "send cmd %d\n", msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message()
50 if (!(msg->s_msg.header.type == MSG_TYPE_C)) in imx_rpmsg_pcm_send_message()
53 ret = rpmsg_send(rpdev->ept, (void *)&msg->s_msg, in imx_rpmsg_pcm_send_message()
60 /* No receive msg for TYPE_C command */ in imx_rpmsg_pcm_send_message()
61 if (msg->s_msg.header.type == MSG_TYPE_C) in imx_rpmsg_pcm_send_message()
69 msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message()
73 memcpy(&msg->r_msg, &info->r_msg, sizeof(struct rpmsg_r_msg)); in imx_rpmsg_pcm_send_message()
74 memcpy(&info->msg[msg in imx_rpmsg_pcm_send_message()
109 imx_rpmsg_insert_workqueue(struct snd_pcm_substream * substream,struct rpmsg_msg * msg,struct rpmsg_info * info) imx_rpmsg_insert_workqueue() argument
143 struct rpmsg_msg *msg; imx_rpmsg_pcm_hw_params() local
194 struct rpmsg_msg *msg; imx_rpmsg_pcm_pointer() local
215 struct rpmsg_msg *msg; imx_rpmsg_timer_callback() local
236 struct rpmsg_msg *msg; imx_rpmsg_pcm_open() local
289 struct rpmsg_msg *msg; imx_rpmsg_pcm_close() local
354 struct rpmsg_msg *msg; imx_rpmsg_prepare_and_submit() local
383 struct rpmsg_msg *msg; imx_rpmsg_async_issue_pending() local
400 struct rpmsg_msg *msg; imx_rpmsg_restart() local
417 struct rpmsg_msg *msg; imx_rpmsg_pause() local
434 struct rpmsg_msg *msg; imx_rpmsg_terminate_all() local
525 struct rpmsg_msg *msg; imx_rpmsg_pcm_ack() local
642 struct rpmsg_msg msg; imx_rpmsg_pcm_work() local
[all...]
/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c33 static u8 fill_wep_pair(struct wfx_hif_wep_pairwise_key *msg, in fill_wep_pair() argument
36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair()
37 msg->key_length = key->keylen; in fill_wep_pair()
38 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_pair()
39 ether_addr_copy(msg->peer_address, peer_addr); in fill_wep_pair()
43 static u8 fill_wep_group(struct wfx_hif_wep_group_key *msg, in fill_wep_group() argument
46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group()
47 msg->key_id = key->keyidx; in fill_wep_group()
48 msg->key_length = key->keylen; in fill_wep_group()
49 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_group()
[all …]
/linux/drivers/connector/
H A Dcn_proc.c88 static inline void send_msg(struct cn_msg *msg) in send_msg() argument
94 msg->seq = __this_cpu_inc_return(local_event.count) - 1; in send_msg()
95 ((struct proc_event *)msg->data)->cpu = smp_processor_id(); in send_msg()
103 filter_data[0] = ((struct proc_event *)msg->data)->what; in send_msg()
106 ((struct proc_event *)msg->data)->event_data.exit.exit_code; in send_msg()
111 cn_netlink_send_mult(msg, msg->len, 0, CN_IDX_PROC, GFP_NOWAIT, in send_msg()
119 struct cn_msg *msg; in proc_fork_connector() local
127 msg = buffer_to_cn_msg(buffer); in proc_fork_connector()
128 ev = (struct proc_event *)msg->data; in proc_fork_connector()
140 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_fork_connector()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c29 void mod_hdcp_dump_binary_message(uint8_t *msg, uint32_t msg_size, in mod_hdcp_dump_binary_message() argument
54 sprintf((char *)&buf[buf_pos], "%02X ", msg[i]); in mod_hdcp_dump_binary_message()
63 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace()
64 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace()
65 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace()
66 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace()
68 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_log_ddc_trace()
69 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_log_ddc_trace()
70 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace()
71 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c69 int (*format)(struct tipc_nl_compat_msg *msg, struct nlattr **attrs);
75 struct sk_buff *skb, struct tipc_nl_compat_msg *msg);
179 struct tipc_nl_compat_msg *msg, in __tipc_nl_compat_dumpit() argument
199 buf->sk = msg->dst_sk; in __tipc_nl_compat_dumpit()
200 if (__tipc_dump_start(&cb, msg->net)) { in __tipc_nl_compat_dumpit()
238 err = (*cmd->format)(msg, attrbuf); in __tipc_nl_compat_dumpit()
242 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
264 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
265 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
279 struct tipc_nl_compat_msg *msg) in tipc_nl_compat_dumpit() argument
[all …]
/linux/sound/soc/sof/
H A Dsof-client-probes-ipc3.c66 struct sof_ipc_probe_dma_add_params *msg; in ipc3_probes_init() local
67 size_t size = struct_size(msg, dma, 1); in ipc3_probes_init()
70 msg = kmalloc(size, GFP_KERNEL); in ipc3_probes_init()
71 if (!msg) in ipc3_probes_init()
73 msg->hdr.size = size; in ipc3_probes_init()
74 msg->hdr.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_INIT; in ipc3_probes_init()
75 msg->num_elems = 1; in ipc3_probes_init()
76 msg->dma[0].stream_tag = stream_tag; in ipc3_probes_init()
77 msg->dma[0].dma_buffer_size = buffer_size; in ipc3_probes_init()
79 ret = sof_client_ipc_tx_message_no_reply(cdev, msg); in ipc3_probes_init()
[all …]
H A Dsof-client-probes-ipc4.c139 struct sof_ipc4_msg msg; in ipc4_probes_init() local
151 msg.primary = mentry->id; in ipc4_probes_init()
152 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_INIT_INSTANCE); in ipc4_probes_init()
153 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_init()
154 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_init()
155 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID); in ipc4_probes_init()
156 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0); in ipc4_probes_init()
157 msg.extension |= SOF_IPC4_MOD_EXT_PARAM_SIZE(sizeof(cfg) / sizeof(uint32_t)); in ipc4_probes_init()
159 msg.data_size = sizeof(cfg); in ipc4_probes_init()
160 msg.data_ptr = &cfg; in ipc4_probes_init()
[all …]
/linux/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c71 static int __hsmp_send_message(struct hsmp_socket *sock, struct hsmp_message *msg) in __hsmp_send_message() argument
91 while (index < msg->num_args) { in __hsmp_send_message()
93 &msg->args[index], HSMP_WR); in __hsmp_send_message()
102 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_id_off, &msg->msg_id, HSMP_WR); in __hsmp_send_message()
104 dev_err(sock->dev, "Error %d writing message ID %u\n", ret, msg->msg_id); in __hsmp_send_message()
139 msg->msg_id, mbox_status); in __hsmp_send_message()
143 msg->msg_id, mbox_status); in __hsmp_send_message()
147 msg->msg_id, mbox_status); in __hsmp_send_message()
151 msg->msg_id, mbox_status); in __hsmp_send_message()
155 msg->msg_id, mbox_status); in __hsmp_send_message()
[all …]
/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c42 static void ipmi_set_recv_msg_user(struct ipmi_recv_msg *msg,
49 struct ipmi_smi_msg *msg);
571 struct ipmi_recv_msg *msg);
707 struct ipmi_recv_msg *msg, *msg2; in free_recv_msg_list() local
709 list_for_each_entry_safe(msg, msg2, q, link) { in free_recv_msg_list()
710 list_del(&msg->link); in free_recv_msg_list()
711 ipmi_free_recv_msg(msg); in free_recv_msg_list()
717 struct ipmi_smi_msg *msg, *msg2; in free_smi_msg_list() local
719 list_for_each_entry_safe(msg, msg2, q, link) { in free_smi_msg_list()
720 list_del(&msg->link); in free_smi_msg_list()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.h349 static inline __le16 wil_rx_status_get_length(void *msg) in wil_rx_status_get_length() argument
351 return ((struct wil_rx_status_compressed *)msg)->length; in wil_rx_status_get_length()
354 static inline u8 wil_rx_status_get_mcs(void *msg) in wil_rx_status_get_mcs() argument
356 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_mcs()
360 static inline u8 wil_rx_status_get_cb_mode(void *msg) in wil_rx_status_get_cb_mode() argument
362 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_cb_mode()
366 static inline u16 wil_rx_status_get_flow_id(void *msg) in wil_rx_status_get_flow_id() argument
368 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_flow_id()
372 static inline u8 wil_rx_status_get_mcast(void *msg) in wil_rx_status_get_mcast() argument
374 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_mcast()
[all …]
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c16 struct cec_msg *msg, u8 reason) in cec_feature_abort_reason() argument
24 if (msg->msg[1] == CEC_MSG_FEATURE_ABORT) in cec_feature_abort_reason()
27 if (cec_msg_initiator(msg) == CEC_LOG_ADDR_UNREGISTERED) in cec_feature_abort_reason()
29 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
30 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
38 struct cec_msg msg; in cec_port_out_active_source() local
43 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_port_out_active_source()
44 cec_msg_active_source(&msg, adap->phys_addr); in cec_port_out_active_source()
45 cec_transmit_msg(adap, &msg, false); in cec_port_out_active_source()
61 struct cec_msg msg; in cec_port_out_standby() local
[all …]
/linux/net/devlink/
H A Ddev.c13 struct sk_buff *msg; member
58 static int devlink_reload_stat_put(struct sk_buff *msg, in devlink_reload_stat_put() argument
63 reload_stats_entry = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS_ENTRY); in devlink_reload_stat_put()
67 if (nla_put_u8(msg, DEVLINK_ATTR_RELOAD_STATS_LIMIT, limit) || in devlink_reload_stat_put()
68 nla_put_u32(msg, DEVLINK_ATTR_RELOAD_STATS_VALUE, value)) in devlink_reload_stat_put()
70 nla_nest_end(msg, reload_stats_entry); in devlink_reload_stat_put()
74 nla_nest_cancel(msg, reload_stats_entry); in devlink_reload_stat_put()
79 devlink_reload_stats_put(struct sk_buff *msg, struct devlink *devlink, bool is_remote) in devlink_reload_stats_put() argument
86 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS); in devlink_reload_stats_put()
88 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_REMOTE_RELOAD_STATS); in devlink_reload_stats_put()
[all …]
/linux/include/linux/
H A Dskmsg.h127 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len,
131 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len);
132 int sk_msg_free(struct sock *sk, struct sk_msg *msg);
133 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg);
134 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes);
135 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg,
138 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes);
139 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes);
142 struct sk_msg *msg, u32 bytes);
144 struct sk_msg *msg, u32 bytes);
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_err.c11 .msg = "imp_itcm0_ecc_mbit_err",
15 .msg = "imp_itcm1_ecc_mbit_err",
19 .msg = "imp_itcm2_ecc_mbit_err",
23 .msg = "imp_itcm3_ecc_mbit_err",
27 .msg = "imp_dtcm0_mem0_ecc_mbit_err",
31 .msg = "imp_dtcm0_mem1_ecc_mbit_err",
35 .msg = "imp_dtcm1_mem0_ecc_mbit_err",
39 .msg = "imp_dtcm1_mem1_ecc_mbit_err",
43 .msg = "imp_itcm4_ecc_mbit_err",
53 .msg = "cmdq_nic_rx_depth_ecc_mbit_err",
[all …]
/linux/drivers/clk/tegra/
H A Dclk-bpmp.c63 struct tegra_bpmp_message msg; in tegra_bpmp_clk_transfer() local
79 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer()
80 msg.mrq = MRQ_CLK; in tegra_bpmp_clk_transfer()
81 msg.tx.data = &request; in tegra_bpmp_clk_transfer()
82 msg.tx.size = sizeof(request); in tegra_bpmp_clk_transfer()
83 msg.rx.data = clk->rx.data; in tegra_bpmp_clk_transfer()
84 msg.rx.size = clk->rx.size; in tegra_bpmp_clk_transfer()
86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer()
89 else if (msg.rx.ret < 0) in tegra_bpmp_clk_transfer()
98 struct tegra_bpmp_clk_message msg; in tegra_bpmp_clk_prepare() local
[all …]
/linux/net/sctp/
H A Dchunk.c35 static void sctp_datamsg_init(struct sctp_datamsg *msg) in sctp_datamsg_init() argument
37 refcount_set(&msg->refcnt, 1); in sctp_datamsg_init()
38 msg->send_failed = 0; in sctp_datamsg_init()
39 msg->send_error = 0; in sctp_datamsg_init()
40 msg->can_delay = 1; in sctp_datamsg_init()
41 msg->abandoned = 0; in sctp_datamsg_init()
42 msg->expires_at = 0; in sctp_datamsg_init()
43 INIT_LIST_HEAD(&msg->chunks); in sctp_datamsg_init()
49 struct sctp_datamsg *msg; in sctp_datamsg_new() local
50 msg = kmalloc_obj(struct sctp_datamsg, gfp); in sctp_datamsg_new()
[all …]
/linux/net/nfc/
H A Dnetlink.c61 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target() argument
66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
73 if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) || in nfc_genl_send_target()
74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target()
75 nla_put_u16(msg, NFC_ATTR_TARGET_SENS_RES, target->sens_res) || in nfc_genl_send_target()
76 nla_put_u8(msg, NFC_ATTR_TARGET_SEL_RES, target->sel_res)) in nfc_genl_send_target()
79 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
83 nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, in nfc_genl_send_target()
87 nla_put(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, in nfc_genl_send_target()
92 if (nla_put_u8(msg, NFC_ATTR_TARGET_ISO15693_DSFID, in nfc_genl_send_target()
[all …]

12345678910>>...87