Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/include/uapi/linux/
Dtipc_config.h244 __be16 tlv_type; /* TLV identifier */ member
272 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
287 return (ntohs(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
292 tlv->tlv_type = htons(type); in TLV_SET_TYPE()
302 tlv_ptr->tlv_type = htons(type); in TLV_SET()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_event.c319 u16 tlv_buf_left, tlv_type, tlv_len; in mwifiex_process_multi_chan_event() local
341 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_multi_chan_event()
349 if (tlv_type != TLV_TYPE_MC_GROUP_INFO) { in mwifiex_process_multi_chan_event()
351 tlv_type); in mwifiex_process_multi_chan_event()
395 u16 tlv_type, tlv_len; in mwifiex_process_tx_pause_event() local
409 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_tx_pause_event()
418 if (tlv_type == TLV_TYPE_TX_PAUSE) { in mwifiex_process_tx_pause_event()
445 u16 tlv_type, tlv_len; in mwifiex_bt_coex_wlan_param_update_event() local
450 tlv_type = le16_to_cpu(tlv->type); in mwifiex_bt_coex_wlan_param_update_event()
454 switch (tlv_type) { in mwifiex_bt_coex_wlan_param_update_event()
Dscan.c1119 u32 tlv_type; in mwifiex_ret_802_11_scan_get_tlv_ptrs() local
1132 tlv_type = le16_to_cpu(current_tlv->header.type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1141 if (req_tlv_type == tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1142 switch (tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1160 tlv_type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
/linux-4.4.14/drivers/net/wireless/libertas/
Ddebugfs.c204 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) in lbs_tlv_find() argument
214 if (tlv_h->type == cpu_to_le16(tlv_type)) in lbs_tlv_find()
224 static ssize_t lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_read() argument
255 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read()
276 static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_write() argument
330 tlv->header.type = cpu_to_le16(tlv_type); in lbs_threshold_write()
333 if (tlv_type != TLV_TYPE_BCNMISS) in lbs_threshold_write()
/linux-4.4.14/fs/btrfs/
Dsend.h53 __le16 tlv_type; member
Dsend.c552 hdr->tlv_type = cpu_to_le16(attr); in tlv_put()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dcontrol.c125 enum i2400m_tlv tlv_type, ssize_t tlv_size) in i2400m_tlv_match() argument
127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match()
134 tlv_type, size, tlv_size); in i2400m_tlv_match()
227 enum i2400m_tlv tlv_type, ssize_t tlv_size) in i2400m_tlv_find() argument
233 match = i2400m_tlv_match(tlv, tlv_type, tlv_size); in i2400m_tlv_find()
239 tlv_type, match, tlv_size); in i2400m_tlv_find()
/linux-4.4.14/include/net/
Dbond_3ad.h155 u8 tlv_type; /* = 0x01 (marker information) */ member
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-drv.c601 enum iwl_ucode_tlv_type tlv_type; in iwl_parse_tlv_firmware() local
651 tlv_type = le32_to_cpu(tlv->type); in iwl_parse_tlv_firmware()
662 switch (tlv_type) { in iwl_parse_tlv_firmware()
1025 IWL_DEBUG_INFO(drv, "unknown TLV: %d\n", tlv_type); in iwl_parse_tlv_firmware()
1055 IWL_ERR(drv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwl_parse_tlv_firmware()
/linux-4.4.14/drivers/net/bonding/
Dbond_3ad.c1851 marker.tlv_type = AD_MARKER_RESPONSE_SUBTYPE; in ad_marker_info_received()
2282 switch (((struct bond_marker *)lacpdu)->tlv_type) { in bond_3ad_rx_indication()
/linux-4.4.14/net/tipc/
Dnetlink_compat.c98 tlv->tlv_type = htons(type); in tipc_add_tlv()