Searched refs:tlv (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wimax/i2400m/ |
D | control.c | 100 ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, in i2400m_tlv_match() argument 103 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match() 106 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { in i2400m_tlv_match() 107 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); in i2400m_tlv_match() 207 const struct i2400m_tlv_hdr *tlv = NULL; in i2400m_tlv_find() local 208 while ((tlv = i2400m_tlv_buffer_walk(i2400m, tlv_hdr, size, tlv))) { in i2400m_tlv_find() 209 match = i2400m_tlv_match(tlv, tlv_type, tlv_size); in i2400m_tlv_find() 217 return tlv; in i2400m_tlv_find() 427 const struct i2400m_tlv_hdr *tlv; in i2400m_report_state_hook() local 435 tlv = NULL; in i2400m_report_state_hook() [all …]
|
/drivers/net/wireless/libertas/ |
D | scan.c | 212 static int lbs_scan_add_ssid_tlv(struct lbs_private *priv, u8 *tlv) in lbs_scan_add_ssid_tlv() argument 214 struct mrvlietypes_ssidparamset *ssid_tlv = (void *)tlv; in lbs_scan_add_ssid_tlv() 247 static int lbs_scan_add_chanlist_tlv(uint8_t *tlv, in lbs_scan_add_chanlist_tlv() argument 252 struct mrvlietypes_chanlistparamset *chan_tlv = (void *)tlv; in lbs_scan_add_chanlist_tlv() 270 static int lbs_scan_add_rates_tlv(uint8_t *tlv) in lbs_scan_add_rates_tlv() argument 273 struct mrvlietypes_ratesparamset *rate_tlv = (void *)tlv; in lbs_scan_add_rates_tlv() 276 tlv += sizeof(rate_tlv->header); in lbs_scan_add_rates_tlv() 278 *tlv = lbs_bg_rates[i]; in lbs_scan_add_rates_tlv() 279 if (*tlv == 0) in lbs_scan_add_rates_tlv() 285 if (*tlv == 0x02 || *tlv == 0x04 || in lbs_scan_add_rates_tlv() [all …]
|
D | debugfs.c | 184 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) in lbs_tlv_find() argument 191 tlv_h = (struct mrvlietypesheader *) tlv; in lbs_tlv_find() 198 tlv += length; in lbs_tlv_find() 235 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read() 262 struct mrvlietypes_thresholds *tlv; in lbs_threshold_write() local 306 tlv = (void *)events->tlv; in lbs_threshold_write() 310 tlv->header.type = cpu_to_le16(tlv_type); in lbs_threshold_write() 311 tlv->header.len = cpu_to_le16(sizeof(*tlv) - sizeof(tlv->header)); in lbs_threshold_write() 312 tlv->value = value; in lbs_threshold_write() 314 tlv->freq = freq; in lbs_threshold_write() [all …]
|
D | hostcmd.h | 165 uint8_t tlv[128]; member
|
/drivers/media/video/cx88/ |
D | cx88-alsa.c | 623 .tlv.p = snd_cx88_db_scale,
|