/drivers/staging/wlan-ng/ |
D | p80211metastruct.h | 52 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 …]
|
D | p80211msg.h | 56 u32 msglen; member
|
D | prism2fw.c | 298 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/ |
D | vendor.c | 29 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/ |
D | netvsc.c | 817 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/ |
D | netlink.c | 216 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/ |
D | qmi_interface.c | 529 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()
|
D | qmi_encdec.c | 720 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/ |
D | i2c-imx-lpi2c.c | 102 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/ |
D | ice_sriov.h | 19 u8 *msg, u16 msglen, struct ice_sq_cd *cd); 38 u16 __always_unused msglen, in ice_aq_send_msg_to_vf() argument
|
D | ice_sriov.c | 23 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()
|
D | ice_virtchnl_pf.h | 164 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen);
|
/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 110 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/ |
D | fas216.c | 1051 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/ |
D | sym_hipd.c | 1411 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/ |
D | nx-aes-ccm.c | 104 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/ |
D | iavf_common.c | 771 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()
|
D | iavf_prototype.h | 67 u8 *msg, u16 msglen,
|
D | iavf_virtchnl.c | 1496 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/ |
D | scsi_netlink.c | 71 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_msg()
|
D | ncr53c8xx.c | 4027 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/ |
D | vchiq_dev.c | 515 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/ |
D | i40e_virtchnl_pf.h | 119 u32 v_retval, u8 *msg, u16 msglen);
|
/drivers/rpmsg/ |
D | qcom_glink_native.c | 921 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/ |
D | ar5523_hw.h | 163 __be32 msglen; member
|