/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_tlv.c | 430 u16 attr_len; in fbnic_tlv_attr_parse_array() local 446 attr_len = FBNIC_TLV_MSG_SIZE(le16_to_cpu(attr->hdr.len)); in fbnic_tlv_attr_parse_array() 447 len -= attr_len; in fbnic_tlv_attr_parse_array() 448 attr += attr_len; in fbnic_tlv_attr_parse_array() 481 u16 attr_len; in fbnic_tlv_attr_parse() local 496 attr_len = FBNIC_TLV_MSG_SIZE(le16_to_cpu(attr->hdr.len)); in fbnic_tlv_attr_parse() 497 len -= attr_len; in fbnic_tlv_attr_parse() 498 attr += attr_len; in fbnic_tlv_attr_parse()
|
H A D | fbnic_fw.c | 538 int attr_len = le16_to_cpu(attr->hdr.len) / sizeof(u32) - 1; in fbnic_fw_parse_bmc_addrs() local 547 err = fbnic_tlv_attr_parse_array(&attr[1], attr_len, mac_results, in fbnic_fw_parse_bmc_addrs() 1054 int attr_len; in fbnic_fw_process_log_array() local 1069 attr_len = le16_to_cpu(attr->hdr.len) / sizeof(u32) - 1; in fbnic_fw_process_log_array() 1070 err = fbnic_tlv_attr_parse_array(&attr[1], attr_len, &tlv_array_out[1], in fbnic_fw_process_log_array()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A 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()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | p2p.c | 18 u16 attr_len; in ath11k_p2p_noa_ie_fill() local 55 attr_len = 2; /* index + oppps_ctwindow */ in ath11k_p2p_noa_ie_fill() 56 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath11k_p2p_noa_ie_fill() 57 *noa_attr_len = __cpu_to_le16(attr_len); in ath11k_p2p_noa_ie_fill()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | p2p.c | 19 u16 attr_len; in ath12k_p2p_noa_ie_fill() local 51 attr_len = 2; /* index + oppps_ctwindow */ in ath12k_p2p_noa_ie_fill() 52 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath12k_p2p_noa_ie_fill() 53 *noa_attr_len = __cpu_to_le16(attr_len); in ath12k_p2p_noa_ie_fill()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 714 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 720 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 723 *len_attr = attr_len; in rtw_get_wps_attr() 727 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 746 u32 attr_len; in rtw_get_wps_attr_content() local 751 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 753 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 755 memcpy(buf_content, attr_ptr+4, attr_len-4); in rtw_get_wps_attr_content() 758 *len_content = attr_len-4; in rtw_get_wps_attr_content()
|
/linux/drivers/memstick/core/ |
H A D | mspro_block.c | 903 * attr_offset and attr_len will be of large numeric types, we can be in mspro_block_read_attributes() 907 unsigned int addr, attr_offset = 0, attr_len = msb->page_size; in mspro_block_read_attributes() local 920 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() 952 buffer = kmemdup(attr, attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1003 if ((attr_offset + attr_len) < (addr + s_attr->size)) { in mspro_block_read_attributes() 1005 attr_len = (((addr + s_attr->size) / msb->page_size) in mspro_block_read_attributes() 1007 buffer = kmalloc(attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1014 sg_init_one(&msb->req_sg[0], buffer, attr_len); in mspro_block_read_attributes() 1022 attr_offset, attr_len); in mspro_block_read_attributes() 1024 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() [all...] |
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 385 noa_head->attr_len = cpu_to_le16(2); in rtw89_p2p_noa_renew() 405 le16_add_cpu(&noa_head->attr_len, sizeof(*desc)); in rtw89_p2p_noa_append()
|
H A D | core.h | 3550 __le16 attr_len; member
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_ccamisc.c | 618 u16 attr_len; in cca_sec2protkey() member 623 u16 attr_len; in cca_sec2protkey() member 633 u16 attr_len; in cca_sec2protkey() member 666 preqparm->lv1.attr_len = sizeof(struct lv1) - sizeof(preqparm->lv1.len); in cca_sec2protkey() 669 preqparm->lv2.attr_len = sizeof(struct lv2) in cca_sec2protkey()
|
H A D | zcrypt_ep11misc.c | 761 u8 attr_len; in _ep11_genaeskey() member 824 req_pl->attr_len = 5 * sizeof(u32); in _ep11_genaeskey() 1063 u8 attr_len; in _ep11_unwrapkey() member 1119 req_pl->attr_len = 7 * sizeof(u32); in _ep11_unwrapkey()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 82 __le16 attr_len; member 88 __le16 attr_len; member 96 __le16 attr_len; member 962 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 985 elem_size = le16_to_cpu(ch_list->attr_len) - in wilc_wfi_cfg_parse_ch_attr()
|
/linux/net/wireless/ |
H A D | util.c | 1943 u16 attr_len; in cfg80211_get_p2p_attr() local 1949 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr() 1953 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr() 1963 if (copy == attr_len) in cfg80211_get_p2p_attr() 1969 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1819 int len, attr_len; in bfa_fcs_lport_fdmi_send_rhba() local 1840 attr_len = in bfa_fcs_lport_fdmi_send_rhba() 1844 if (attr_len < 0) in bfa_fcs_lport_fdmi_send_rhba() 1848 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba() 2160 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rprt() local 2181 attr_len = in bfa_fcs_lport_fdmi_send_rprt() 2187 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt() 2483 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rpa() local 2504 attr_len = bfa_fcs_lport_fdmi_build_rpa_pyld(fdmi, in bfa_fcs_lport_fdmi_send_rpa() 2508 FC_CLASS_3, len + attr_len, in bfa_fcs_lport_fdmi_send_rpa() [all...] |