Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/fs/btrfs/
Dsend.h53 __le16 tlv_type; member
Dsend.c551 hdr->tlv_type = cpu_to_le16(attr); in tlv_put()
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/
Diwl-drv.c564 enum iwl_ucode_tlv_type tlv_type; in iwl_parse_tlv_firmware() local
613 tlv_type = le32_to_cpu(tlv->type); in iwl_parse_tlv_firmware()
624 switch (tlv_type) { in iwl_parse_tlv_firmware()
953 IWL_DEBUG_INFO(drv, "unknown TLV: %d\n", tlv_type); in iwl_parse_tlv_firmware()
973 IWL_ERR(drv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwl_parse_tlv_firmware()
/linux-4.1.27/include/net/
Dbond_3ad.h155 u8 tlv_type; /* = 0x01 (marker information) */ member
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dscan.c1090 u32 tlv_type; in mwifiex_ret_802_11_scan_get_tlv_ptrs() local
1102 tlv_type = le16_to_cpu(current_tlv->header.type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1110 if (req_tlv_type == tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1111 switch (tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1125 tlv_type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
/linux-4.1.27/drivers/net/bonding/
Dbond_3ad.c1852 marker.tlv_type = AD_MARKER_RESPONSE_SUBTYPE; in ad_marker_info_received()
2284 switch (((struct bond_marker *)lacpdu)->tlv_type) { in bond_3ad_rx_indication()
/linux-4.1.27/net/tipc/
Dnetlink_compat.c96 tlv->tlv_type = htons(type); in tipc_add_tlv()