Home
last modified time | relevance | path

Searched refs:msglen (Results 1 – 25 of 41) sorted by relevance

12

/drivers/staging/wlan-ng/
Dp80211metastruct.h52 u32 msglen; member
60 u32 msglen; member
68 u32 msglen; member
88 u32 msglen; member
137 u32 msglen; member
175 u32 msglen; member
183 u32 msglen; member
197 u32 msglen; member
206 u32 msglen; member
218 u32 msglen; member
[all …]
Dp80211msg.h56 u32 msglen; member
Dprism2fw.c298 getmsg.msglen = sizeof(getmsg); in prism2_fwapply()
788 msg->msglen = sizeof(msg); in read_cardpda()
1022 rstmsg->msglen = sizeof(*rstmsg); in writeimage()
1035 rwrmsg->msglen = sizeof(*rwrmsg); in writeimage()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dvendor.c29 u16 msglen, maxmsglen = PAGE_SIZE - 0x100; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
78 msglen = ret_len > maxmsglen ? maxmsglen : ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
79 ret_len -= msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
80 payload = msglen + sizeof(msglen); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
87 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler()
88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
98 wr_pointer += msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/drivers/net/hyperv/
Dnetvsc.c817 u32 msglen = hv_pkt_datalen(desc); in netvsc_send_completion() local
823 if (!msglen) { in netvsc_send_completion()
844 if (msglen < sizeof(struct nvsp_message_header)) { in netvsc_send_completion()
845 netdev_err(ndev, "nvsp_message length too small: %u\n", msglen); in netvsc_send_completion()
852 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
855 msglen); in netvsc_send_completion()
861 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
864 msglen); in netvsc_send_completion()
870 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
873 msglen); in netvsc_send_completion()
[all …]
/drivers/infiniband/core/
Dnetlink.c216 int msglen; in rdma_nl_rcv_skb() local
248 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in rdma_nl_rcv_skb()
249 if (msglen > skb->len) in rdma_nl_rcv_skb()
250 msglen = skb->len; in rdma_nl_rcv_skb()
251 skb_pull(skb, msglen); in rdma_nl_rcv_skb()
/drivers/soc/qcom/
Dqmi_interface.c529 ssize_t msglen; in qmi_data_ready_work() local
537 msglen = kernel_recvmsg(qmi->sock, &msg, &iv, 1, in qmi_data_ready_work()
540 msglen = -EPIPE; in qmi_data_ready_work()
542 if (msglen == -EAGAIN) in qmi_data_ready_work()
545 if (msglen == -ENETRESET) { in qmi_data_ready_work()
552 if (msglen < 0) { in qmi_data_ready_work()
553 pr_err("qmi recvmsg failed: %zd\n", msglen); in qmi_data_ready_work()
559 qmi_recv_ctrl_pkt(qmi, qmi->recv_buf, msglen); in qmi_data_ready_work()
561 ops->msg_handler(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
563 qmi_handle_message(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
Dqmi_encdec.c720 ssize_t msglen = 0; in qmi_encode_message() local
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1); in qmi_encode_message()
741 if (msglen < 0) { in qmi_encode_message()
743 return ERR_PTR(msglen); in qmi_encode_message()
751 hdr->msg_len = msglen; in qmi_encode_message()
753 *len = sizeof(*hdr) + msglen; in qmi_encode_message()
/drivers/i2c/busses/
Di2c-imx-lpi2c.c102 unsigned int msglen; member
343 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_set_rx_watermark()
360 if (lpi2c_imx->delivered == lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
368 if (lpi2c_imx->delivered < lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
393 lpi2c_imx->msglen += blocklen; in lpi2c_imx_read_rxfifo()
396 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_read_rxfifo()
468 lpi2c_imx->msglen = msgs[i].len; in lpi2c_imx_xfer()
/drivers/net/ethernet/intel/ice/
Dice_sriov.h19 u8 *msg, u16 msglen, struct ice_sq_cd *cd);
38 u16 __always_unused msglen, in ice_aq_send_msg_to_vf() argument
Dice_sriov.c23 u8 *msg, u16 msglen, struct ice_sq_cd *cd) in ice_aq_send_msg_to_vf() argument
36 if (msglen) in ice_aq_send_msg_to_vf()
39 return ice_sq_send_cmd(hw, &hw->mailboxq, &desc, msg, msglen, cd); in ice_aq_send_msg_to_vf()
Dice_virtchnl_pf.h164 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen);
/drivers/char/tpm/
Dtpm_i2c_infineon.c110 unsigned int msglen = len; in iic_tpm_read() local
155 msglen = min_t(unsigned int, in iic_tpm_read()
158 msg2.len = msglen; in iic_tpm_read()
168 if (msglen > len) in iic_tpm_read()
171 len -= msglen; in iic_tpm_read()
172 msg2.buf += msglen; in iic_tpm_read()
/drivers/scsi/arm/
Dfas216.c1051 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument
1057 if (msglen != 1) in fas216_parse_message()
1066 if (msglen != 1) in fas216_parse_message()
1085 if (msglen != 1) in fas216_parse_message()
1098 if (msglen != 1) in fas216_parse_message()
1105 if (msglen != 1) in fas216_parse_message()
1123 if (msglen < 3) in fas216_parse_message()
1144 for (i = 0; i < msglen; i++) in fas216_parse_message()
1228 unsigned int msglen = 1; in fas216_message() local
1241 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message()
[all …]
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1411 int msglen = 0; local
1434 msglen += spi_populate_sync_msg(msgptr + msglen, goal->period,
1438 msglen += spi_populate_width_msg(msgptr + msglen, goal->width);
1441 msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period,
1461 return msglen;
3035 int msglen; local
3097 msglen = 1;
3110 msglen += sym_prepare_nego(np, cp, &cp->scsi_smsg2[msglen]);
3115 cp->phys.smsg.size = cpu_to_scr(msglen);
5136 u_int msglen; local
[all …]
/drivers/crypto/nx/
Dnx-aes-ccm.c104 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument
113 else if (msglen > (unsigned int)(1 << (8 * csize))) in set_msg_len()
116 data = cpu_to_be32(msglen); in set_msg_len()
/drivers/net/ethernet/intel/iavf/
Diavf_common.c771 u8 *msg, u16 msglen, in iavf_aq_send_msg_to_pf() argument
782 if (msglen) { in iavf_aq_send_msg_to_pf()
785 if (msglen > IAVF_AQ_LARGE_BUF) in iavf_aq_send_msg_to_pf()
787 desc.datalen = cpu_to_le16(msglen); in iavf_aq_send_msg_to_pf()
794 status = iavf_asq_send_command(hw, &desc, msg, msglen, cmd_details); in iavf_aq_send_msg_to_pf()
Diavf_prototype.h67 u8 *msg, u16 msglen,
Diavf_virtchnl.c1496 enum iavf_status v_retval, u8 *msg, u16 msglen) in iavf_virtchnl_completion() argument
1642 if (msglen) in iavf_virtchnl_completion()
1752 memcpy(adapter->vf_res, msg, min(msglen, len)); in iavf_virtchnl_completion()
1814 if (msglen && CLIENT_ENABLED(adapter)) in iavf_virtchnl_completion()
1815 iavf_notify_client_message(&adapter->vsi, msg, msglen); in iavf_virtchnl_completion()
1825 if (msglen == sizeof(*vrh)) in iavf_virtchnl_completion()
/drivers/scsi/
Dscsi_netlink.c71 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_msg()
Dncr53c8xx.c4027 int msglen = 0; in ncr_prepare_nego() local
4051 msglen += spi_populate_sync_msg(msgptr + msglen, in ncr_prepare_nego()
4055 msglen += spi_populate_width_msg(msgptr + msglen, tp->usrwide); in ncr_prepare_nego()
4069 return msglen; in ncr_prepare_nego()
4092 u32 msglen; in ncr_queue_command() local
4163 msglen = 0; in ncr_queue_command()
4164 msgptr[msglen++] = idmsg; in ncr_queue_command()
4199 msgptr[msglen++] = order; in ncr_queue_command()
4205 msgptr[msglen++] = (cp->tag << 1) + 1; in ncr_queue_command()
4240 msglen += ncr_prepare_nego (np, cp, msgptr + msglen); in ncr_queue_command()
[all …]
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c515 int msglen; in vchiq_ioc_await_completion() local
517 msglen = header->size + sizeof(struct vchiq_header); in vchiq_ioc_await_completion()
519 if (args->msgbufsize < msglen) { in vchiq_ioc_await_completion()
522 header, args->msgbufsize, msglen); in vchiq_ioc_await_completion()
541 if (copy_to_user(msgbuf, header, msglen)) { in vchiq_ioc_await_completion()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h119 u32 v_retval, u8 *msg, u16 msglen);
/drivers/rpmsg/
Dqcom_glink_native.c921 const size_t msglen = struct_size(msg, intents, count); in qcom_glink_handle_intent() local
926 if (avail < msglen) { in qcom_glink_handle_intent()
936 qcom_glink_rx_advance(glink, ALIGN(msglen, 8)); in qcom_glink_handle_intent()
940 msg = kmalloc(msglen, GFP_ATOMIC); in qcom_glink_handle_intent()
944 qcom_glink_rx_peak(glink, msg, 0, msglen); in qcom_glink_handle_intent()
964 qcom_glink_rx_advance(glink, ALIGN(msglen, 8)); in qcom_glink_handle_intent()
/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h163 __be32 msglen; member

12