/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 741 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 746 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 748 *len_attr = attr_len; in rtw_get_wps_attr() 751 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 770 u32 attr_len; in rtw_get_wps_attr_content() local 775 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 777 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 779 memcpy(buf_content, attr_ptr + 4, attr_len - 4); in rtw_get_wps_attr_content() 782 *len_content = attr_len - 4; in rtw_get_wps_attr_content() 1186 u16 attr_len = attr_data_len + 3; in rtw_get_p2p_attr() local [all …]
|
D | rtw_p2p.c | 29 u16 attr_len = 0; in go_add_group_info_attr() local 98 attr_len += tmplen; in go_add_group_info_attr() 106 if (attr_len > 0) in go_add_group_info_attr() 107 len = rtw_set_p2p_attr_content(pbuf, P2P_ATTR_GROUP_INFO, attr_len, pdata_attr); in go_add_group_info_attr()
|
/drivers/net/wireless/ath/ath10k/ |
D | p2p.c | 19 u16 attr_len; in ath10k_p2p_noa_ie_fill() local 49 attr_len = 2; /* index + oppps_ctwindow */ in ath10k_p2p_noa_ie_fill() 50 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath10k_p2p_noa_ie_fill() 51 *noa_attr_len = __cpu_to_le16(attr_len); in ath10k_p2p_noa_ie_fill()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 739 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 745 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 748 *len_attr = attr_len; in rtw_get_wps_attr() 752 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 772 u32 attr_len; in rtw_get_wps_attr_content() local 777 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 779 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 781 memcpy(buf_content, attr_ptr+4, attr_len-4); in rtw_get_wps_attr_content() 784 *len_content = attr_len-4; in rtw_get_wps_attr_content()
|
/drivers/memstick/core/ |
D | mspro_block.c | 981 unsigned int addr, attr_offset = 0, attr_len = msb->page_size; in mspro_block_read_attributes() local 994 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() 1026 buffer = kmemdup(attr, attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1077 if ((attr_offset + attr_len) < (addr + s_attr->size)) { in mspro_block_read_attributes() 1079 attr_len = (((addr + s_attr->size) / msb->page_size) in mspro_block_read_attributes() 1081 buffer = kmalloc(attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1088 sg_init_one(&msb->req_sg[0], buffer, attr_len); in mspro_block_read_attributes() 1096 attr_offset, attr_len); in mspro_block_read_attributes() 1098 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_plx.c | 334 static int prism2_plx_check_cis(void __iomem *attr_mem, int attr_len, in prism2_plx_check_cis() argument 382 if (*cor_offset > attr_len) { in prism2_plx_check_cis()
|
/drivers/s390/crypto/ |
D | zcrypt_ep11misc.c | 683 u8 attr_len; in ep11_genaeskey() member 737 req_pl->attr_len = 5 * sizeof(u32); in ep11_genaeskey() 938 u8 attr_len; in ep11_unwrapkey() member 985 req_pl->attr_len = 7 * sizeof(u32); in ep11_unwrapkey()
|
D | zcrypt_ccamisc.c | 592 u16 attr_len; in cca_sec2protkey() member 597 u16 attr_len; in cca_sec2protkey() member 607 u16 attr_len; in cca_sec2protkey() member 639 preqparm->lv1.attr_len = sizeof(struct lv1) - sizeof(preqparm->lv1.len); in cca_sec2protkey() 642 preqparm->lv2.attr_len = sizeof(struct lv2) in cca_sec2protkey()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 80 __le16 attr_len; member 86 __le16 attr_len; member 94 __le16 attr_len; member 948 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 972 elem_size = le16_to_cpu(ch_list->attr_len) - in wilc_wfi_cfg_parse_ch_attr()
|
/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 1865 int len, attr_len; in bfa_fcs_lport_fdmi_send_rhba() local 1886 attr_len = in bfa_fcs_lport_fdmi_send_rhba() 1890 if (attr_len < 0) in bfa_fcs_lport_fdmi_send_rhba() 1894 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba() 2206 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rprt() local 2227 attr_len = in bfa_fcs_lport_fdmi_send_rprt() 2233 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt() 2529 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rpa() local 2550 attr_len = bfa_fcs_lport_fdmi_build_rpa_pyld(fdmi, in bfa_fcs_lport_fdmi_send_rpa() 2554 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
|
/drivers/staging/r8188eu/include/ |
D | ieee80211.h | 1196 u32 rtw_set_p2p_attr_content(u8 *pbuf, u8 attr_id, u16 attr_len,
|