Home
last modified time | relevance | path

Searched refs:msg_data (Results 1 – 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/common/siano/
Dsmsendian.c27 msg->msg_data[0] = le32_to_cpu((__force __le32)(msg->msg_data[0])); in smsendian_handle_tx_message()
36 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->msg_data[i]); in smsendian_handle_tx_message()
73 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->msg_data[i]); in smsendian_handle_rx_message()
Dsmscoreapi.c798 msg->msg_data[0] = coredev->ir.controller; in smscore_init_ir()
799 msg->msg_data[1] = coredev->ir.timeout; in smscore_init_ir()
842 mtu_msg.msg_data[0] = board->mtu; in smscore_configure_board()
855 crys_msg.msg_data[0] = board->crystal; in smscore_configure_board()
981 msg->msg_data[0] = firmware->start_address; in smscore_load_firmware_family2()
983 msg->msg_data[1] = firmware->length; in smscore_load_firmware_family2()
984 msg->msg_data[2] = 0; /* Regular checksum*/ in smscore_load_firmware_family2()
997 msg->msg_data[0] = firmware->start_address; in smscore_load_firmware_family2()
999 msg->msg_data[1] = 6; /* Priority */ in smscore_load_firmware_family2()
1000 msg->msg_data[2] = 0x200; /* Stack size */ in smscore_load_firmware_family2()
[all …]
Dsmscoreapi.h624 u32 msg_data[1]; member
629 u32 msg_data[2]; member
634 u32 msg_data[5]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c126 u8 msg_data[2]; in hclge_inform_reset_assert_to_vf() local
140 memcpy(&msg_data[0], &reset_type, sizeof(u16)); in hclge_inform_reset_assert_to_vf()
143 return hclge_send_mbx_msg(vport, msg_data, sizeof(msg_data), in hclge_inform_reset_assert_to_vf()
272 u8 msg_data[2]; in hclge_inform_vf_promisc_info() local
274 memcpy(&msg_data[0], &vport->vf_info.promisc_enable, sizeof(u16)); in hclge_inform_vf_promisc_info()
276 hclge_send_mbx_msg(vport, msg_data, sizeof(msg_data), in hclge_inform_vf_promisc_info()
352 u8 msg_data[MSG_DATA_SIZE]; in hclge_push_vf_port_base_vlan_info() local
354 memcpy(&msg_data[0], &state, sizeof(u16)); in hclge_push_vf_port_base_vlan_info()
355 memcpy(&msg_data[2], &vlan_proto, sizeof(u16)); in hclge_push_vf_port_base_vlan_info()
356 memcpy(&msg_data[4], &qos, sizeof(u16)); in hclge_push_vf_port_base_vlan_info()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Dllcp_commands.c650 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
676 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_i_frame()
677 if (msg_data == NULL) in nfc_llcp_send_i_frame()
680 if (memcpy_from_msg(msg_data, msg, len)) { in nfc_llcp_send_i_frame()
681 kfree(msg_data); in nfc_llcp_send_i_frame()
686 msg_ptr = msg_data; in nfc_llcp_send_i_frame()
700 kfree(msg_data); in nfc_llcp_send_i_frame()
721 kfree(msg_data); in nfc_llcp_send_i_frame()
732 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local
742 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_ui_frame()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c712 mbx, mbx->msg_data); in fm10k_mbx_dequeue_rx()
1476 static s32 fm10k_mbx_validate_handlers(const struct fm10k_msg_data *msg_data) in fm10k_mbx_validate_handlers() argument
1482 if (!msg_data) in fm10k_mbx_validate_handlers()
1485 while (msg_data->id != FM10K_TLV_ERROR) { in fm10k_mbx_validate_handlers()
1487 if (!msg_data->func) in fm10k_mbx_validate_handlers()
1491 attr = msg_data->attr; in fm10k_mbx_validate_handlers()
1509 id = msg_data->id; in fm10k_mbx_validate_handlers()
1510 msg_data++; in fm10k_mbx_validate_handlers()
1512 if (id >= msg_data->id) in fm10k_mbx_validate_handlers()
1517 if ((msg_data->id != FM10K_TLV_ERROR) || !msg_data->func) in fm10k_mbx_validate_handlers()
[all …]
Dfm10k_mbx.h253 const struct fm10k_msg_data *msg_data; member
/kernel/linux/linux-5.10/sound/soc/sof/
Dipc.c210 struct sof_ipc_cmd_hdr *hdr = msg->msg_data; in tx_wait_done()
241 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_unlocked() argument
267 memcpy(msg->msg_data, msg_data, msg_bytes); in sof_ipc_tx_message_unlocked()
296 void *msg_data, size_t msg_bytes, void *reply_data, in sof_ipc_tx_message() argument
311 return sof_ipc_tx_message_no_pm(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message()
322 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_no_pm() argument
334 ret = sof_ipc_tx_message_unlocked(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message_no_pm()
838 msg->msg_data = devm_kzalloc(sdev->dev, SOF_IPC_MSG_MAX_SIZE, in snd_sof_ipc_init()
840 if (!msg->msg_data) in snd_sof_ipc_init()
Dsof-priv.h334 void *msg_data; member
496 void *msg_data, size_t msg_bytes, void *reply_data,
499 void *msg_data, size_t msg_bytes,
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-designware-ep.c497 u16 msg_ctrl, msg_data; in dw_pcie_ep_raise_msi_irq() local
519 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
523 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
533 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
545 u32 msg_data; in dw_pcie_ep_raise_msix_irq_doorbell() local
551 msg_data = (func_no << PCIE_MSIX_DOORBELL_PF_SHIFT) | in dw_pcie_ep_raise_msix_irq_doorbell()
554 dw_pcie_writel_dbi(pci, PCIE_MSIX_DOORBELL, msg_data); in dw_pcie_ep_raise_msix_irq_doorbell()
567 u32 reg, msg_data, vec_ctrl; in dw_pcie_ep_raise_msix_irq() local
587 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in dw_pcie_ep_raise_msix_irq()
601 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/kernel/linux/linux-5.10/net/tipc/
Dname_distr.c107 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_publish()
134 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_withdraw()
169 item = (struct distr_item *)msg_data(hdr); in named_distribute()
383 item = (struct distr_item *)msg_data(hdr); in tipc_named_rcv()
Dmsg.h375 static inline unchar *msg_data(struct tipc_msg *m) in msg_data() function
382 return (struct tipc_msg *)msg_data(m); in msg_inner_hdr()
889 m = (void *)msg_data(m); in msg_link_selector()
1170 memcpy(msg_data(hdr), id, 16); in msg_set_node_id()
1175 return (u8 *)msg_data(hdr); in msg_node_id()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dcnl.c152 pm_gate = msg->msg_data; in cnl_compact_ipc_compress()
191 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in cnl_ipc_send_msg()
196 hdr = msg->msg_data; in cnl_ipc_send_msg()
Dhda-ipc.c60 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
85 hdr = msg->msg_data; in hda_dsp_ipc_get_reply()
/kernel/linux/linux-5.10/drivers/ntb/test/
Dntb_pingpong.c190 u32 msg_data = -1, spad_data = -1; in pp_pong() local
195 msg_data = ntb_msg_read(pp->ntb, &pidx, 0); in pp_pong()
204 spad_data, msg_data, ntb_peer_port_number(pp->ntb, pidx)); in pp_pong()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_msgs.h257 u8 msg_data[1]; member
265 u8 msg_data[1]; member
/kernel/linux/linux-5.10/include/linux/
Dmailbox_controller.h125 void *msg_data[MBOX_TX_QUEUE_LEN]; member
Dpci-epf.h149 u32 msg_data; member
Dipmi.h72 unsigned char msg_data[IPMI_MAX_MSG_LENGTH]; member
Dblktrace_api.h19 unsigned char __percpu *msg_data; member
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c388 u32 tbl_offset, msg_data, reg; in cdns_pcie_ep_send_msix_irq() local
410 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in cdns_pcie_ep_send_msix_irq()
424 writel(msg_data, ep->irq_cpu_addr + (msg_addr & pci_addr_mask)); in cdns_pcie_ep_send_msix_irq()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_msghandler.c935 msg->msg_data[0] = err; in deliver_err_response()
938 msg->msg.data = msg->msg_data; in deliver_err_response()
2049 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_ipmb()
2051 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_ipmb()
2167 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_lan()
2169 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_lan()
3687 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3694 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp()
3799 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_cmd()
3806 memcpy(recv_msg->msg_data, &msg->rsp[9], in handle_ipmb_get_msg_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/char/xillybus/
Dxillybus_core.c104 int msg_channel, msg_bufno, msg_data, msg_dir; in malformed_message() local
110 msg_data = buf[1] & 0xfffffff; in malformed_message()
114 opcode, msg_channel, msg_dir, msg_bufno, msg_data); in malformed_message()
130 unsigned int msg_channel, msg_bufno, msg_data, msg_dir; in xillybus_isr() local
181 msg_data = buf[i+1] & 0xfffffff; in xillybus_isr()
200 msg_data; in xillybus_isr()
253 ep->idtlen = msg_data; in xillybus_isr()
/kernel/linux/linux-5.10/arch/m68k/mac/
Diop.c467 uint msg_len, __u8 *msg_data, in iop_send_message() argument
484 memcpy(msg->message, msg_data, msg_len); in iop_send_message()
/kernel/linux/linux-5.10/drivers/mailbox/
Dmailbox.c40 chan->msg_data[idx] = mssg; in add_to_rbuf()
72 data = chan->msg_data[idx]; in msg_submit()

12