Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dvendor.c27 unsigned int payload, ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
48 ret_len = cmdhdr->len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
49 if (ret_len > 0 || len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
54 if (ret_len > BRCMF_DCMD_MAXLEN) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
55 brcmf_err("oversize return buffer %d\n", ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
56 ret_len = BRCMF_DCMD_MAXLEN; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
58 payload = max_t(unsigned int, ret_len, len) + 1; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
69 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
72 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
77 while (ret_len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
D11ac.c168 int ret_len = 0; in mwifiex_cmd_append_11ac_tlv() local
189 ret_len += sizeof(*vht_cap); in mwifiex_cmd_append_11ac_tlv()
234 ret_len += sizeof(*vht_op); in mwifiex_cmd_append_11ac_tlv()
247 ret_len += sizeof(*oper_ntf); in mwifiex_cmd_append_11ac_tlv()
250 return ret_len; in mwifiex_cmd_append_11ac_tlv()
D11n.c308 int ret_len = 0; in mwifiex_cmd_append_11n_tlv() local
314 return ret_len; in mwifiex_cmd_append_11n_tlv()
364 ret_len += sizeof(struct mwifiex_ie_types_htcap); in mwifiex_cmd_append_11n_tlv()
390 ret_len += sizeof(struct mwifiex_ie_types_htinfo); in mwifiex_cmd_append_11n_tlv()
415 ret_len += sizeof(struct mwifiex_ie_types_chan_list_param_set); in mwifiex_cmd_append_11n_tlv()
433 ret_len += sizeof(struct mwifiex_ie_types_2040bssco); in mwifiex_cmd_append_11n_tlv()
454 ret_len += sizeof(struct mwifiex_ie_types_extcap) + hdr->len; in mwifiex_cmd_append_11n_tlv()
457 return ret_len; in mwifiex_cmd_append_11n_tlv()
Dwmm.c1015 u32 ret_len = 0; in mwifiex_wmm_process_association_req() local
1045 ret_len = sizeof(wmm_tlv->header) in mwifiex_wmm_process_association_req()
1048 *assoc_buf += ret_len; in mwifiex_wmm_process_association_req()
1051 return ret_len; in mwifiex_wmm_process_association_req()
Djoin.c30 int ret_len = 0; in mwifiex_cmd_append_generic_ie() local
56 ret_len += sizeof(ie_header); in mwifiex_cmd_append_generic_ie()
65 ret_len += priv->gen_ie_buf_len; in mwifiex_cmd_append_generic_ie()
72 return ret_len; in mwifiex_cmd_append_generic_ie()
Dscan.c2847 int id, ret_len = 0; in mwifiex_cmd_append_vsie_tlv() local
2880 ret_len += le16_to_cpu(vs_param_set->header.len) + in mwifiex_cmd_append_vsie_tlv()
2884 return ret_len; in mwifiex_cmd_append_vsie_tlv()
/linux-6.6.21/tools/perf/tests/
Dcode-reading.c234 size_t ret_len; in read_object_code() local
273 ret_len = dso__data_read_offset(dso, maps__machine(thread__maps(thread)), in read_object_code()
275 if (ret_len != len) { in read_object_code()
/linux-6.6.21/drivers/media/rc/
Dredrat3.c754 int ret, ret_len; in redrat3_transmit_ir() local
828 sendbuf_len, &ret_len, 10000); in redrat3_transmit_ir()
829 dev_dbg(dev, "sent %d bytes, (ret %d)\n", ret_len, ret); in redrat3_transmit_ir()
/linux-6.6.21/fs/smb/client/
Dsmb2ops.c2149 __u32 ret_len = 0; in smb3_notify() local
2193 notify.data_len, &returned_ioctl_info, &ret_len); in smb3_notify()
2198 if (return_changes && (ret_len > 0) && (notify.data_len > 0)) { in smb3_notify()
2199 if (ret_len > notify.data_len) in smb3_notify()
2200 ret_len = notify.data_len; in smb3_notify()
2202 if (copy_to_user(pnotify_buf->notify_data, returned_ioctl_info, ret_len)) in smb3_notify()
2204 else if (copy_to_user(&pnotify_buf->data_len, &ret_len, sizeof(ret_len))) in smb3_notify()
/linux-6.6.21/drivers/usb/gadget/
Dconfigfs.c1336 size_t ret_len = len; in ext_prop_data_store() local
1361 return ret_len; in ext_prop_data_store()
/linux-6.6.21/include/linux/platform_data/
Dcros_ec_commands.h1122 uint32_t ret_len; member