/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 54 * @tlv: IEEE 802.1Qaz ETS CFG TLV 59 static void i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv, argument 63 u8 *buf = tlv->tlvinfo; 125 * @tlv: IEEE 802.1Qaz ETS REC TLV 130 static void i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, argument 133 u8 *buf = tlv->tlvinfo; 180 * @tlv: IEEE 802.1Qaz PFC CFG TLV 185 static void i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv, argument 188 u8 *buf = tlv->tlvinfo; 207 * @tlv 212 i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) argument 267 i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) argument 302 i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, struct i40e_dcbx_config *dcbcfg) argument 331 struct i40e_lldp_org_tlv *tlv; local [all...] |
/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 53 struct vic_provinfo_tlv *tlv; local 62 tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv + 65 tlv->type = htons(type); 66 tlv->length = htons(length); 67 memcpy(tlv->value, value, length);
|
H A D | vnic_vic.h | 62 } tlv[0]; member in struct:vic_provinfo
|
H A D | vnic_dev.c | 1070 struct filter_tlv *tlv, *tlv_va; local 1081 tlv = tlv_va; 1084 memset(tlv, 0, tlv_size); 1085 tlv->type = CLSF_TLV_FILTER; 1086 tlv->length = sizeof(struct filter); 1087 *(struct filter *)&tlv->val = *data; 1089 tlv = (struct filter_tlv *)((char *)tlv + 1093 tlv->type = CLSF_TLV_ACTION; 1094 tlv [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | uap_cmd.c | 315 u8 *tlv = *tlv_buf; local 317 tlv_akmp = (struct host_cmd_tlv_akmp *)tlv; 324 tlv += sizeof(struct host_cmd_tlv_akmp); 327 pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv; 335 tlv += sizeof(struct host_cmd_tlv_pwk_cipher); 339 pwk_cipher = (struct host_cmd_tlv_pwk_cipher *)tlv; 347 tlv += sizeof(struct host_cmd_tlv_pwk_cipher); 351 gwk_cipher = (struct host_cmd_tlv_gwk_cipher *)tlv; 358 tlv += sizeof(struct host_cmd_tlv_gwk_cipher); 362 passphrase = (struct host_cmd_tlv_passphrase *)tlv; 422 u8 *tlv = *tlv_buf; local 455 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) argument 665 mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size) argument 692 u8 *tlv; local [all...] |
H A D | scan.c | 671 * The tlv buffer length is set to the number of bytes 672 * of the between the channel tlv pointer and the start 673 * of the tlv buffer. This compensates for any TLVs 679 /* Add the size of the channel tlv header and the data 685 /* Increment the index to the channel tlv we are 825 /* Running tlv pointer. Assigned to chan_list_out at end of function 961 add tlv */ 996 * Set the output for the channel TLV to the address in the tlv buffer 1084 struct mwifiex_ie_types_data *tlv, 1093 current_tlv = tlv; 1083 mwifiex_ret_802_11_scan_get_tlv_ptrs(struct mwifiex_adapter *adapter, struct mwifiex_ie_types_data *tlv, u32 tlv_buf_size, u32 req_tlv_type, struct mwifiex_ie_types_data **tlv_data) argument 2025 struct mwifiex_ie_types_data *tlv; local [all...] |
H A D | cmdevt.c | 1292 u8 *tlv; local 1311 tlv = (u8 *) cmd + cmd_size; 1315 (struct mwifiex_ie_types_ps_param *) tlv; 1321 tlv += sizeof(*ps_tlv); 1340 (struct mwifiex_ie_types_auto_ds_param *) tlv; 1349 tlv += sizeof(*auto_ds_tlv); 1472 struct mwifiex_ie_types_header *tlv; local 1539 tlv = (void *)&hw_spec->tlvs + parsed_len; 1540 switch (le16_to_cpu(tlv->type)) { 1542 api_rev = (struct hw_spec_api_rev *)tlv; [all...] |
H A D | sta_cmdresp.c | 276 u16 tlv, tlv_buf_len, tlv_buf_left; local 285 tlv = le16_to_cpu(head->type); 291 switch (tlv) { 315 /* Add RATE_DROP tlv here */
|
/drivers/net/wireless/ath/ |
H A D | spectral_common.h | 49 struct fft_sample_tlv tlv; member in struct:fft_sample_ht20 67 struct fft_sample_tlv tlv; member in struct:fft_sample_ht20_40 95 struct fft_sample_tlv tlv; member in struct:fft_sample_ath10k
|
/drivers/infiniband/hw/usnic/ |
H A D | usnic_fwd.c | 176 static void fill_tlv(struct filter_tlv *tlv, struct filter *filter, argument 179 tlv->type = CLSF_TLV_FILTER; 180 tlv->length = sizeof(struct filter); 181 *((struct filter *)&tlv->val) = *filter; 183 tlv = (struct filter_tlv *)((char *)tlv + sizeof(struct filter_tlv) + 185 tlv->type = CLSF_TLV_ACTION; 186 tlv->length = sizeof(struct filter_action); 187 *((struct filter_action *)&tlv->val) = *action; 194 struct filter_tlv *tlv; local [all...] |
/drivers/net/wimax/i2400m/ |
H A D | control.c | 124 ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, argument 127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ 130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { 131 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); 132 printk(KERN_WARNING "W: tlv type 0x%x mismatched because of " 188 dev_err(dev, "HW BUG? tlv_buf %p [%zu bytes], tlv @%zu: " 196 "tlv type 0x%04x @%zu: " 231 const struct i2400m_tlv_hdr *tlv local 432 i2400m_report_state_parse_tlv(struct i2400m *i2400m, const struct i2400m_tlv_hdr *tlv, const char *tag) argument 485 const struct i2400m_tlv_hdr *tlv; local 852 struct i2400m_tlv_hdr tlv; member in struct:i2400m_cmd_enter_power_save 935 const struct i2400m_tlv_hdr *tlv; local 1017 const struct i2400m_tlv_hdr *tlv; local [all...] |
/drivers/net/wireless/libertas/ |
H A D | cfg.c | 164 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) argument 166 struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv; 189 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, argument 195 struct mrvl_ie_header *header = (void *) tlv; 212 tlv += sizeof(struct mrvl_ie_header); 216 memset(tlv, 0, chanscanparamsize); 219 struct chanscanparamset *param = (void *) tlv; 230 tlv += sizeof(struct chanscanparamset); 250 static int lbs_add_supported_rates_tlv(u8 *tlv) argument 253 struct mrvl_ie_rates_param_set *rate_tlv = (void *)tlv; 270 add_ie_rates(u8 *tlv, const u8 *ie, int *nrates) argument 295 lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss) argument 344 lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) argument 366 lbs_add_channel_tlv(u8 *tlv, u8 channel) argument 388 lbs_add_cf_param_tlv(u8 *tlv) argument 412 lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len) argument 692 u8 *tlv; /* pointer into our current, growing TLV storage area */ local [all...] |
H A D | debugfs.c | 204 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) argument 211 tlv_h = (struct mrvl_ie_header *) tlv; 218 tlv += length; 255 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); 282 struct mrvl_ie_thresholds *tlv; local 326 tlv = (void *)events->tlv; 330 tlv->header.type = cpu_to_le16(tlv_type); 331 tlv [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-alsa-mixer.c | 33 #include <sound/tlv.h> 146 .tlv.p = snd_cx18_mixer_tv_vol_db_scale
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-mixer.c | 33 #include <sound/tlv.h> 146 .tlv.p = snd_ivtv_mixer_tv_vol_db_scale
|
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.h | 58 #define FM10K_TLV_LEN_ALIGN(tlv) \ 59 (((tlv) + FM10K_TLV_LEN_ALIGN_MASK) & ~FM10K_TLV_LEN_ALIGN_MASK) 60 #define FM10K_TLV_DWORD_LEN(tlv) \ 61 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)
|
/drivers/staging/gdm724x/ |
H A D | hci_packet.h | 44 struct tlv { struct
|
H A D | gdm_usb.c | 372 struct tlv *tlv = (struct tlv *)data; local 375 if (tlv->type == MAC_ADDRESS && udev->request_mac_addr) { 376 memcpy(mac_address, tlv->data, tlv->len);
|
/drivers/net/wireless/ath/ath9k/ |
H A D | spectral.c | 47 struct fft_sample_tlv *tlv; local 136 fft_sample_40.tlv.type = ATH_FFT_SAMPLE_HT20_40; 137 fft_sample_40.tlv.length = __cpu_to_be16(length); 174 tlv = (struct fft_sample_tlv *)&fft_sample_40; 181 fft_sample_20.tlv.type = ATH_FFT_SAMPLE_HT20; 182 fft_sample_20.tlv.length = __cpu_to_be16(length); 199 tlv = (struct fft_sample_tlv *)&fft_sample_20; 202 ath_debug_send_fft_sample(sc, tlv);
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_vfpf.c | 26 /* place a given tlv on the tlv buffer at a given offset */ 37 /* Clear the mailbox and init the header of the first tlv */ 43 DP(BNX2X_MSG_IOV, "preparing to send %d tlv over vf pf channel\n", 52 /* init first tlv header */ 60 DP(BNX2X_MSG_IOV, "done sending [%d] tlv over vf pf channel\n", 70 struct channel_tlv *tlv = (struct channel_tlv *)tlvs_list; local 73 if (tlv->type == req_tlv) 74 return tlv; 76 if (!tlv 94 struct channel_tlv *tlv = (struct channel_tlv *)tlvs_list; local 1489 bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *tlv, struct bnx2x_vf_mac_vlan_filters **pfl, u32 type_flag) argument [all...] |
H A D | bnx2x_sriov.h | 233 enum channel_tlvs tlv); 455 struct vfpf_tpa_tlv *tlv,
|
H A D | bnx2x_sriov.c | 2297 struct vfpf_tpa_tlv *tlv, 2300 aligned_u64 *sge_addr = tlv->tpa_client_info.sge_addr; 2352 enum channel_tlvs tlv) 2355 if (!bnx2x_tlv_supported(tlv)) { 2356 BNX2X_ERR("attempting to lock with unsupported tlv. Aborting\n"); 2364 vf->op_current = tlv; 2368 vf->abs_vfid, tlv); 2296 bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_tpa_tlv *tlv, struct bnx2x_queue_update_tpa_params *params) argument 2351 bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs tlv) argument
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-drv.c | 281 * struct fw_sec_parsing: to extract fw section and it's offset from tlv 384 * Gets uCode section from tlv. 568 struct iwl_ucode_tlv *tlv; local 614 while (len >= sizeof(*tlv)) { 615 len -= sizeof(*tlv); 616 tlv = (void *)data; 618 tlv_len = le32_to_cpu(tlv->length); 619 tlv_type = le32_to_cpu(tlv->type); 620 tlv_data = tlv->data; 628 data += sizeof(*tlv) [all...] |
/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.c | 1804 struct phyerr_tlv *tlv; local 1822 if (i + sizeof(*tlv) > buf_len) { 1823 ath10k_warn(ar, "too short buf for tlv header (%d)\n", 1828 tlv = (struct phyerr_tlv *)&event->bufp[i]; 1829 tlv_len = __le16_to_cpu(tlv->len); 1830 tlv_buf = &event->bufp[i + sizeof(*tlv)]; 1833 tlv_len, tlv->tag, tlv->sig); 1835 switch (tlv->tag) { 1837 if (i + sizeof(*tlv) 1870 struct phyerr_tlv *tlv; local [all...] |
H A D | spectral.c | 79 fft_sample->tlv.type = ATH_FFT_SAMPLE_ATH10K; 80 fft_sample->tlv.length = __cpu_to_be16(length); 164 send_fft_sample(ar, &fft_sample->tlv);
|