tlv_pos 164 drivers/net/wimax/i2400m/control.c const struct i2400m_tlv_hdr *tlv_pos) tlv_pos 171 drivers/net/wimax/i2400m/control.c if (tlv_pos == NULL) /* Take the first one? */ tlv_pos 172 drivers/net/wimax/i2400m/control.c tlv_pos = tlv_buf; tlv_pos 174 drivers/net/wimax/i2400m/control.c tlv_pos = (void *) tlv_pos tlv_pos 175 drivers/net/wimax/i2400m/control.c + le16_to_cpu(tlv_pos->length) + sizeof(*tlv_pos); tlv_pos 176 drivers/net/wimax/i2400m/control.c if (tlv_pos == tlv_top) { /* buffer done */ tlv_pos 177 drivers/net/wimax/i2400m/control.c tlv_pos = NULL; tlv_pos 180 drivers/net/wimax/i2400m/control.c if (tlv_pos > tlv_top) { tlv_pos 181 drivers/net/wimax/i2400m/control.c tlv_pos = NULL; tlv_pos 185 drivers/net/wimax/i2400m/control.c offset = (void *) tlv_pos - (void *) tlv_buf; tlv_pos 187 drivers/net/wimax/i2400m/control.c if (avail_size < sizeof(*tlv_pos)) { tlv_pos 192 drivers/net/wimax/i2400m/control.c type = le16_to_cpu(tlv_pos->type); tlv_pos 193 drivers/net/wimax/i2400m/control.c length = le16_to_cpu(tlv_pos->length); tlv_pos 194 drivers/net/wimax/i2400m/control.c if (avail_size < sizeof(*tlv_pos) + length) { tlv_pos 199 drivers/net/wimax/i2400m/control.c sizeof(*tlv_pos) + length); tlv_pos 204 drivers/net/wimax/i2400m/control.c return tlv_pos; tlv_pos 582 drivers/net/wireless/marvell/mwifiex/scan.c u8 rates[MWIFIEX_SUPPORTED_RATES], *tlv_pos; tlv_pos 587 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos = (u8 *)scan_cfg_out->tlv_buf + scan_cfg_out->tlv_buf_len; tlv_pos 598 drivers/net/wireless/marvell/mwifiex/scan.c rates_tlv = (struct mwifiex_ie_types_rates_param_set *)tlv_pos; tlv_pos 831 drivers/net/wireless/marvell/mwifiex/scan.c u8 *tlv_pos; tlv_pos 855 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos = scan_cfg_out->tlv_buf; tlv_pos 897 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_bssid_list *)tlv_pos; tlv_pos 902 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(struct mwifiex_ie_types_bssid_list); tlv_pos 910 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos; tlv_pos 936 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += (sizeof(wildcard_ssid_tlv->header) tlv_pos 970 drivers/net/wireless/marvell/mwifiex/scan.c chan_gap_tlv = (void *)tlv_pos; tlv_pos 977 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += tlv_pos 982 drivers/net/wireless/marvell/mwifiex/scan.c random_mac_tlv = (void *)tlv_pos; tlv_pos 989 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += tlv_pos 1012 drivers/net/wireless/marvell/mwifiex/scan.c bss_mode = (struct mwifiex_ie_types_bss_mode *)tlv_pos; tlv_pos 1016 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(bss_mode->header) + tlv_pos 1028 drivers/net/wireless/marvell/mwifiex/scan.c num_probes_tlv = (struct mwifiex_ie_types_num_probes *) tlv_pos; tlv_pos 1034 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(num_probes_tlv->header) + tlv_pos 1042 drivers/net/wireless/marvell/mwifiex/scan.c ht_cap = (struct mwifiex_ie_types_htcap *) tlv_pos; tlv_pos 1050 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(struct mwifiex_ie_types_htcap); tlv_pos 1054 drivers/net/wireless/marvell/mwifiex/scan.c mwifiex_cmd_append_vsie_tlv(priv, MWIFIEX_VSIE_MASK_SCAN, &tlv_pos); tlv_pos 1063 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_chan_list_param_set *) tlv_pos; tlv_pos 2292 drivers/net/wireless/marvell/mwifiex/scan.c u8 *tlv_pos = bgscan_config->tlv; tlv_pos 2325 drivers/net/wireless/marvell/mwifiex/scan.c num_probes_tlv = (struct mwifiex_ie_types_num_probes *)tlv_pos; tlv_pos 2331 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(num_probes_tlv->header) + tlv_pos 2337 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_repeat_count *)tlv_pos; tlv_pos 2345 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(repeat_count_tlv->header) + tlv_pos 2351 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_min_rssi_threshold *)tlv_pos; tlv_pos 2359 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(rssi_threshold_tlv->header) + tlv_pos 2367 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_wildcard_ssid_params *)tlv_pos; tlv_pos 2388 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += (sizeof(wildcard_ssid_tlv->header) tlv_pos 2392 drivers/net/wireless/marvell/mwifiex/scan.c chan_list_tlv = (struct mwifiex_ie_types_chan_list_param_set *)tlv_pos; tlv_pos 2450 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += (sizeof(chan_list_tlv->header) tlv_pos 2455 drivers/net/wireless/marvell/mwifiex/scan.c (struct mwifiex_ie_types_bgscan_start_later *)tlv_pos; tlv_pos 2463 drivers/net/wireless/marvell/mwifiex/scan.c tlv_pos += sizeof(start_later_tlv->header) + tlv_pos 2468 drivers/net/wireless/marvell/mwifiex/scan.c mwifiex_cmd_append_vsie_tlv(priv, MWIFIEX_VSIE_MASK_BGSCAN, &tlv_pos); tlv_pos 2470 drivers/net/wireless/marvell/mwifiex/scan.c le16_unaligned_add_cpu(&cmd->size, tlv_pos - bgscan_config->tlv);