Home
last modified time | relevance | path

Searched refs:msglen (Results 1 – 25 of 37) 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.h55 u32 msglen; member
Dprism2fw.c297 getmsg.msglen = sizeof(getmsg); in prism2_fwapply()
793 msg->msglen = sizeof(msg); in read_cardpda()
1027 rstmsg->msglen = sizeof(*rstmsg); in writeimage()
1040 rwrmsg->msglen = sizeof(*rwrmsg); in writeimage()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dvendor.c40 u16 msglen, maxmsglen = PAGE_SIZE - 0x100; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
89 msglen = ret_len > maxmsglen ? maxmsglen : ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
90 ret_len -= msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
91 payload = msglen + sizeof(msglen); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
98 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler()
99 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
109 wr_pointer += msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c44 u16 msglen) in i40e_vc_vf_broadcast() argument
61 msg, msglen, NULL); in i40e_vc_vf_broadcast()
1410 u32 v_retval, u8 *msg, u16 msglen) in i40e_vc_send_msg_to_vf() argument
1445 msg, msglen, NULL); in i40e_vc_send_msg_to_vf()
1654 u8 *msg, u16 msglen) in i40e_vc_config_promiscuous_mode_msg() argument
1800 static int i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_config_queues_msg() argument
1857 static int i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_config_irq_map_msg() argument
1919 static int i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_enable_queues_msg() argument
1959 static int i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_disable_queues_msg() argument
1997 static int i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_get_stats_msg() argument
[all …]
Di40e_virtchnl_pf.h122 u32 v_retval, u8 *msg, u16 msglen);
Di40e_prototype.h185 u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen,
339 u8 *msg, u16 msglen,
/drivers/infiniband/core/
Dnetlink.c219 int msglen; in rdma_nl_rcv_skb() local
251 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in rdma_nl_rcv_skb()
252 if (msglen > skb->len) in rdma_nl_rcv_skb()
253 msglen = skb->len; in rdma_nl_rcv_skb()
254 skb_pull(skb, msglen); in rdma_nl_rcv_skb()
/drivers/i2c/busses/
Di2c-imx-lpi2c.c115 unsigned int msglen; member
356 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_set_rx_watermark()
373 if (lpi2c_imx->delivered == lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
381 if (lpi2c_imx->delivered < lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
406 lpi2c_imx->msglen += blocklen; in lpi2c_imx_read_rxfifo()
409 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_read_rxfifo()
479 lpi2c_imx->msglen = msgs[i].len; in lpi2c_imx_xfer()
/drivers/char/tpm/
Dtpm_i2c_infineon.c115 unsigned int msglen = len; in iic_tpm_read() local
160 msglen = min_t(unsigned int, in iic_tpm_read()
163 msg2.len = msglen; in iic_tpm_read()
173 if (msglen > len) in iic_tpm_read()
176 len -= msglen; in iic_tpm_read()
177 msg2.buf += msglen; in iic_tpm_read()
/drivers/scsi/arm/
Dfas216.c1053 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument
1059 if (msglen != 1) in fas216_parse_message()
1068 if (msglen != 1) in fas216_parse_message()
1087 if (msglen != 1) in fas216_parse_message()
1100 if (msglen != 1) in fas216_parse_message()
1107 if (msglen != 1) in fas216_parse_message()
1125 if (msglen < 3) in fas216_parse_message()
1146 for (i = 0; i < msglen; i++) in fas216_parse_message()
1230 unsigned int msglen = 1; in fas216_message() local
1243 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message()
[all …]
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1424 int msglen = 0; local
1447 msglen += spi_populate_sync_msg(msgptr + msglen, goal->period,
1451 msglen += spi_populate_width_msg(msgptr + msglen, goal->width);
1454 msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period,
1474 return msglen;
3048 int msglen; local
3109 msglen = 1;
3122 msglen += sym_prepare_nego(np, cp, &cp->scsi_smsg2[msglen]);
3127 cp->phys.smsg.size = cpu_to_scr(msglen);
5149 u_int msglen; local
[all …]
/drivers/net/ethernet/intel/i40evf/
Di40evf_virtchnl.c933 u8 *msg, u16 msglen) in i40evf_virtchnl_completion() argument
1031 memcpy(adapter->vf_res, msg, min(msglen, len)); in i40evf_virtchnl_completion()
1064 if (msglen && CLIENT_ENABLED(adapter)) in i40evf_virtchnl_completion()
1066 msg, msglen); in i40evf_virtchnl_completion()
1075 if (msglen == sizeof(*vrh)) in i40evf_virtchnl_completion()
Di40e_common.c1060 u8 *msg, u16 msglen, in i40e_aq_send_msg_to_pf() argument
1071 if (msglen) { in i40e_aq_send_msg_to_pf()
1074 if (msglen > I40E_AQ_LARGE_BUF) in i40e_aq_send_msg_to_pf()
1076 desc.datalen = cpu_to_le16(msglen); in i40e_aq_send_msg_to_pf()
1083 status = i40evf_asq_send_command(hw, &desc, msg, msglen, cmd_details); in i40e_aq_send_msg_to_pf()
Di40e_prototype.h95 u8 *msg, u16 msglen,
Di40evf.h368 i40e_status v_retval, u8 *msg, u16 msglen);
/drivers/crypto/nx/
Dnx-aes-ccm.c116 static int set_msg_len(u8 *block, unsigned int msglen, int csize) in set_msg_len() argument
125 else if (msglen > (unsigned int)(1 << (8 * csize))) in set_msg_len()
128 data = cpu_to_be32(msglen); in set_msg_len()
/drivers/scsi/
Dscsi_netlink.c85 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_msg()
Dncr53c8xx.c4063 int msglen = 0; in ncr_prepare_nego() local
4087 msglen += spi_populate_sync_msg(msgptr + msglen, in ncr_prepare_nego()
4091 msglen += spi_populate_width_msg(msgptr + msglen, tp->usrwide); in ncr_prepare_nego()
4105 return msglen; in ncr_prepare_nego()
4128 u32 msglen; in ncr_queue_command() local
4199 msglen = 0; in ncr_queue_command()
4200 msgptr[msglen++] = idmsg; in ncr_queue_command()
4235 msgptr[msglen++] = order; in ncr_queue_command()
4241 msgptr[msglen++] = (cp->tag << 1) + 1; in ncr_queue_command()
4276 msglen += ncr_prepare_nego (np, cp, msgptr + msglen); in ncr_queue_command()
[all …]
/drivers/isdn/capi/
Dcapidrv.c2056 int msglen; in if_sendbuf() local
2110 msglen = CAPIMSG_LEN(sendcmsg.buf); in if_sendbuf()
2111 if (skb_headroom(skb) < msglen) { in if_sendbuf()
2112 struct sk_buff *nskb = skb_realloc_headroom(skb, msglen); in if_sendbuf()
2120 card->contrnr, skb_headroom(skb), msglen); in if_sendbuf()
2121 memcpy(skb_push(nskb, msglen), sendcmsg.buf, msglen); in if_sendbuf()
2135 memcpy(skb_push(skb, msglen), sendcmsg.buf, msglen); in if_sendbuf()
2144 skb_pull(skb, msglen); in if_sendbuf()
/drivers/isdn/gigaset/
Dcapi.c2072 u16 msglen = CAPIMSG_LEN(skb->data); in do_data_b3_req() local
2089 if (msglen != CAPI_DATA_B3_REQ_LEN && msglen != CAPI_DATA_B3_REQ_LEN64) in do_data_b3_req()
2091 "DATA_B3_REQ", msglen); in do_data_b3_req()
2092 if (msglen + datalen != skb->len) in do_data_b3_req()
2094 "DATA_B3_REQ", msglen, datalen, skb->len); in do_data_b3_req()
2095 if (msglen + datalen > skb->len) { in do_data_b3_req()
2115 skb->mac_len = msglen; in do_data_b3_req()
2116 skb_pull(skb, msglen); in do_data_b3_req()
/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c100 u32 msglen; in DBG_BT_INFO() local
109 msglen = strlen(dbgmsg); in DBG_BT_INFO()
110 if (pinfo->len + msglen > pinfo->size) in DBG_BT_INFO()
114 memcpy(pbuf, dbgmsg, msglen); in DBG_BT_INFO()
115 pinfo->len += msglen; in DBG_BT_INFO()
/drivers/rpmsg/
Dqcom_glink_native.c917 const size_t msglen = sizeof(*msg) + sizeof(struct intent_pair) * count; in qcom_glink_handle_intent() local
922 if (avail < msglen) { in qcom_glink_handle_intent()
935 msg = kmalloc(msglen, GFP_ATOMIC); in qcom_glink_handle_intent()
939 qcom_glink_rx_peak(glink, msg, 0, msglen); in qcom_glink_handle_intent()
959 qcom_glink_rx_advance(glink, ALIGN(msglen, 8)); in qcom_glink_handle_intent()
/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c1999 int sptlrpc_svc_alloc_rs(struct ptlrpc_request *req, int msglen) in sptlrpc_svc_alloc_rs() argument
2011 rc = policy->sp_sops->alloc_rs(req, msglen); in sptlrpc_svc_alloc_rs()
2016 msglen + sizeof(struct ptlrpc_reply_state)) { in sptlrpc_svc_alloc_rs()
2019 msglen + sizeof(struct ptlrpc_reply_state), in sptlrpc_svc_alloc_rs()
2030 rc = policy->sp_sops->alloc_rs(req, msglen); in sptlrpc_svc_alloc_rs()
/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h163 __be32 msglen; member

12