Home
last modified time | relevance | path

Searched refs:ret_len (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/brcm80211/brcmfmac/
Dvendor.c38 unsigned int payload, ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
59 ret_len = cmdhdr->len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
60 if (ret_len > 0 || len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
65 if (ret_len > BRCMF_DCMD_MAXLEN) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
66 brcmf_err("oversize return buffer %d\n", ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
67 ret_len = BRCMF_DCMD_MAXLEN; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
69 payload = max_t(unsigned int, ret_len, len) + 1; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
80 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
83 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
88 while (ret_len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
[all …]
/drivers/net/wireless/mwifiex/
D11ac.c180 int ret_len = 0; in mwifiex_cmd_append_11ac_tlv() local
201 ret_len += sizeof(*vht_cap); in mwifiex_cmd_append_11ac_tlv()
246 ret_len += sizeof(*vht_op); in mwifiex_cmd_append_11ac_tlv()
259 ret_len += sizeof(*oper_ntf); in mwifiex_cmd_append_11ac_tlv()
262 return ret_len; in mwifiex_cmd_append_11ac_tlv()
D11n.c322 int ret_len = 0; in mwifiex_cmd_append_11n_tlv() local
328 return ret_len; in mwifiex_cmd_append_11n_tlv()
346 ret_len += sizeof(struct mwifiex_ie_types_htcap); in mwifiex_cmd_append_11n_tlv()
372 ret_len += sizeof(struct mwifiex_ie_types_htinfo); in mwifiex_cmd_append_11n_tlv()
397 ret_len += sizeof(struct mwifiex_ie_types_chan_list_param_set); in mwifiex_cmd_append_11n_tlv()
415 ret_len += sizeof(struct mwifiex_ie_types_2040bssco); in mwifiex_cmd_append_11n_tlv()
436 ret_len += sizeof(struct mwifiex_ie_types_extcap) + hdr->len; in mwifiex_cmd_append_11n_tlv()
439 return ret_len; in mwifiex_cmd_append_11n_tlv()
Djoin.c42 int ret_len = 0; in mwifiex_cmd_append_generic_ie() local
68 ret_len += sizeof(ie_header); in mwifiex_cmd_append_generic_ie()
77 ret_len += priv->gen_ie_buf_len; in mwifiex_cmd_append_generic_ie()
84 return ret_len; in mwifiex_cmd_append_generic_ie()
Dwmm.c1021 u32 ret_len = 0; in mwifiex_wmm_process_association_req() local
1051 ret_len = sizeof(wmm_tlv->header) in mwifiex_wmm_process_association_req()
1054 *assoc_buf += ret_len; in mwifiex_wmm_process_association_req()
1057 return ret_len; in mwifiex_wmm_process_association_req()
Dscan.c2549 int id, ret_len = 0; in mwifiex_cmd_append_vsie_tlv() local
2582 ret_len += le16_to_cpu(vs_param_set->header.len) + in mwifiex_cmd_append_vsie_tlv()
2586 return ret_len; in mwifiex_cmd_append_vsie_tlv()
/drivers/media/rc/
Dredrat3.c720 int ret, ret_len; in redrat3_transmit_ir() local
794 sendbuf_len, &ret_len, 10 * HZ); in redrat3_transmit_ir()
795 dev_dbg(dev, "sent %d bytes, (ret %d)\n", ret_len, ret); in redrat3_transmit_ir()
/drivers/usb/gadget/
Dconfigfs.c1011 size_t ret_len = len; in ext_prop_data_store() local
1036 return ret_len; in ext_prop_data_store()