/drivers/net/wimax/i2400m/ |
D | control.c | 124 ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, in i2400m_tlv_match() argument 127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match() 130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { in i2400m_tlv_match() 131 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); in i2400m_tlv_match() 231 const struct i2400m_tlv_hdr *tlv = NULL; in i2400m_tlv_find() local 232 while ((tlv = i2400m_tlv_buffer_walk(i2400m, tlv_hdr, size, tlv))) { in i2400m_tlv_find() 233 match = i2400m_tlv_match(tlv, tlv_type, tlv_size); in i2400m_tlv_find() 241 return tlv; in i2400m_tlv_find() 433 const struct i2400m_tlv_hdr *tlv, in i2400m_report_state_parse_tlv() argument 441 if (0 == i2400m_tlv_match(tlv, I2400M_TLV_SYSTEM_STATE, sizeof(*ss))) { in i2400m_report_state_parse_tlv() [all …]
|
/drivers/net/wireless/libertas/ |
D | cfg.c | 164 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) in lbs_add_ssid_tlv() argument 166 struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv; in lbs_add_ssid_tlv() 189 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, in lbs_add_channel_list_tlv() argument 195 struct mrvl_ie_header *header = (void *) tlv; in lbs_add_channel_list_tlv() 212 tlv += sizeof(struct mrvl_ie_header); in lbs_add_channel_list_tlv() 216 memset(tlv, 0, chanscanparamsize); in lbs_add_channel_list_tlv() 219 struct chanscanparamset *param = (void *) tlv; in lbs_add_channel_list_tlv() 230 tlv += sizeof(struct chanscanparamset); in lbs_add_channel_list_tlv() 250 static int lbs_add_supported_rates_tlv(u8 *tlv) in lbs_add_supported_rates_tlv() argument 253 struct mrvl_ie_rates_param_set *rate_tlv = (void *)tlv; in lbs_add_supported_rates_tlv() [all …]
|
D | debugfs.c | 204 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) in lbs_tlv_find() argument 211 tlv_h = (struct mrvl_ie_header *) tlv; in lbs_tlv_find() 218 tlv += length; in lbs_tlv_find() 255 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read() 282 struct mrvl_ie_thresholds *tlv; in lbs_threshold_write() local 326 tlv = (void *)events->tlv; in lbs_threshold_write() 330 tlv->header.type = cpu_to_le16(tlv_type); in lbs_threshold_write() 331 tlv->header.len = cpu_to_le16(sizeof(*tlv) - sizeof(tlv->header)); in lbs_threshold_write() 332 tlv->value = value; in lbs_threshold_write() 334 tlv->freq = freq; in lbs_threshold_write() [all …]
|
D | host.h | 452 uint8_t tlv[128]; member
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_vic.c | 53 struct vic_provinfo_tlv *tlv; in vic_provinfo_add_tlv() local 62 tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv + in vic_provinfo_add_tlv() 65 tlv->type = htons(type); in vic_provinfo_add_tlv() 66 tlv->length = htons(length); in vic_provinfo_add_tlv() 67 memcpy(tlv->value, value, length); in vic_provinfo_add_tlv()
|
D | vnic_vic.h | 62 } tlv[0]; member
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.c | 414 struct iwl_ucode_tlv *tlv; in iwl_parse_tlv_firmware() local 477 while (len >= sizeof(*tlv)) { in iwl_parse_tlv_firmware() 480 len -= sizeof(*tlv); in iwl_parse_tlv_firmware() 481 tlv = (void *)data; in iwl_parse_tlv_firmware() 483 tlv_len = le32_to_cpu(tlv->length); in iwl_parse_tlv_firmware() 484 tlv_type = le16_to_cpu(tlv->type); in iwl_parse_tlv_firmware() 485 tlv_alt = le16_to_cpu(tlv->alternative); in iwl_parse_tlv_firmware() 486 tlv_data = tlv->data; in iwl_parse_tlv_firmware() 494 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_parse_tlv_firmware()
|
/drivers/net/wireless/mwifiex/ |
D | sta_cmdresp.c | 285 u16 tlv, tlv_buf_len; in mwifiex_ret_tx_rate_cfg() local 295 tlv = (*tlv_buf); in mwifiex_ret_tx_rate_cfg() 296 tlv = tlv | (*(tlv_buf + 1) << 8); in mwifiex_ret_tx_rate_cfg() 298 switch (tlv) { in mwifiex_ret_tx_rate_cfg()
|
D | cmdevt.c | 1169 u8 *tlv; in mwifiex_cmd_enh_power_mode() local 1188 tlv = (u8 *) cmd + cmd_size; in mwifiex_cmd_enh_power_mode() 1192 (struct mwifiex_ie_types_ps_param *) tlv; in mwifiex_cmd_enh_power_mode() 1198 tlv += sizeof(*ps_tlv); in mwifiex_cmd_enh_power_mode() 1217 (struct mwifiex_ie_types_auto_ds_param *) tlv; in mwifiex_cmd_enh_power_mode() 1226 tlv += sizeof(*auto_ds_tlv); in mwifiex_cmd_enh_power_mode()
|
D | scan.c | 986 struct mwifiex_ie_types_data *tlv, in mwifiex_ret_802_11_scan_get_tlv_ptrs() argument 995 current_tlv = tlv; in mwifiex_ret_802_11_scan_get_tlv_ptrs() 1007 if (sizeof(tlv->header) + tlv_len > tlv_buf_left) { in mwifiex_ret_802_11_scan_get_tlv_ptrs() 1039 tlv_buf_left -= (sizeof(tlv->header) + tlv_len); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
|
/drivers/media/video/cx18/ |
D | cx18-alsa-mixer.c | 146 .tlv.p = snd_cx18_mixer_tv_vol_db_scale
|
/drivers/net/wireless/bcmdhd/common/include/proto/ |
D | bcmevent.h | 423 wl_sd_tlv_t tlv[1]; /* service discovery TLV */
|
/drivers/media/video/em28xx/ |
D | em28xx-audio.c | 608 tmp.tlv.p = em28xx_db_scale, in em28xx_cvol_new()
|
/drivers/net/wireless/bcmdhd/ |
D | dhd_wlfc.c | 2255 uint32 tlv = dhd->wlfc_enabled? in dhd_wlfc_init() local 2270 bcm_mkiovar("tlv", (char *)&tlv, 4, iovbuf, sizeof(iovbuf)); in dhd_wlfc_init() 2280 dhd->wlfc_enabled?"enabled":"disabled", tlv)); in dhd_wlfc_init()
|
/drivers/media/video/cx88/ |
D | cx88-alsa.c | 660 .tlv.p = snd_cx88_db_scale,
|