Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dqmi_wlfw_v01.c16 .tlv_type = 0,
25 .tlv_type = 0,
34 .tlv_type = 0,
43 .tlv_type = 0,
52 .tlv_type = 0,
65 .tlv_type = 0,
74 .tlv_type = 0,
83 .tlv_type = 0,
96 .tlv_type = 0,
105 .tlv_type = 0,
[all …]
/Linux-v5.4/samples/qmi/
Dqmi_sample_client.c51 .tlv_type = QMI_COMMON_TLV_TYPE,
60 .tlv_type = QMI_COMMON_TLV_TYPE,
80 .tlv_type = PING_REQ1_TLV_TYPE,
89 .tlv_type = PING_OPT1_TLV_TYPE,
98 .tlv_type = PING_OPT1_TLV_TYPE,
122 .tlv_type = PING_RESP1_TLV_TYPE,
132 .tlv_type = PING_OPT1_TLV_TYPE,
141 .tlv_type = PING_OPT1_TLV_TYPE,
150 .tlv_type = PING_OPT2_TLV_TYPE,
159 .tlv_type = PING_OPT2_TLV_TYPE,
[all …]
/Linux-v5.4/drivers/soc/qcom/
Dqmi_encdec.c83 u8 tlv_type; in skip_to_next_elem() local
89 tlv_type = temp_ei->tlv_type; in skip_to_next_elem()
91 } while (tlv_type == temp_ei->tlv_type); in skip_to_next_elem()
302 u8 tlv_type; in qmi_encode() local
318 tlv_type = temp_ei->tlv_type; in qmi_encode()
412 QMI_ENCDEC_ENCODE_TLV(tlv_type, tlv_len, tlv_pointer); in qmi_encode()
573 if (temp_ei->tlv_type == (u8)type) in find_ei()
603 u32 tlv_type; in qmi_decode() local
614 QMI_ENCDEC_DECODE_TLV(&tlv_type, in qmi_decode()
618 temp_ei = find_ei(ei_array, tlv_type); in qmi_decode()
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c28 static int qed_mfw_get_tlv_group(u8 tlv_type, u8 *tlv_group) in qed_mfw_get_tlv_group() argument
30 switch (tlv_type) { in qed_mfw_get_tlv_group()
248 switch (p_tlv->tlv_type) { in qed_mfw_get_gen_tlv_value()
265 int idx = p_tlv->tlv_type - DRV_TLV_LOCAL_ADMIN_ADDR; in qed_mfw_get_gen_tlv_value()
310 switch (p_tlv->tlv_type) { in qed_mfw_get_eth_tlv_value()
447 switch (p_tlv->tlv_type) { in qed_mfw_get_fcoe_tlv_value()
633 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
646 idx = (p_tlv->tlv_type - DRV_TLV_CRC_ERROR_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
684 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
698 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
[all …]
Dqed_mcp.h754 u8 tlv_type; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2_tlv.h47 #define MLXFW_MFA2_TLV(name, payload_type, tlv_type) \ argument
53 tlv_type, sizeof(payload_type), \
57 #define MLXFW_MFA2_TLV_VARSIZE(name, payload_type, tlv_type) \ argument
63 tlv_type, sizeof(payload_type), \
/Linux-v5.4/include/uapi/linux/
Dtipc_config.h250 __be16 tlv_type; /* TLV identifier */ member
278 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
293 return (ntohs(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
298 tlv->tlv_type = htons(type); in TLV_SET_TYPE()
308 tlv_ptr->tlv_type = htons(type); in TLV_SET()
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Devent.c26 u16 tlv_type; in qtnf_event_handle_sta_assoc() local
64 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_sta_assoc()
73 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_sta_assoc()
154 u16 tlv_type; in qtnf_event_handle_bss_join() local
240 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_bss_join()
245 pr_warn("invalid %u TLV\n", tlv_type); in qtnf_event_handle_bss_join()
250 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_bss_join()
368 u16 tlv_type; in qtnf_event_handle_scan_results() local
392 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_scan_results()
399 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_scan_results()
Dcommands.c867 u16 tlv_type; in qtnf_cmd_resp_proc_hw_info() local
885 tlv_type = le16_to_cpu(tlv->type); in qtnf_cmd_resp_proc_hw_info()
890 tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_hw_info()
894 switch (tlv_type) { in qtnf_cmd_resp_proc_hw_info()
998 u16 tlv_type; in qtnf_parse_variable_mac_info() local
1041 tlv_type = le16_to_cpu(tlv->type); in qtnf_parse_variable_mac_info()
1046 mac->macid, tlv_type, tlv_value_len); in qtnf_parse_variable_mac_info()
1050 switch (tlv_type) { in qtnf_parse_variable_mac_info()
1167 tlv_type, tlv_value_len); in qtnf_parse_variable_mac_info()
1177 mac->macid, tlv_type); in qtnf_parse_variable_mac_info()
[all …]
/Linux-v5.4/drivers/remoteproc/
Dqcom_sysmon.c173 .tlv_type = 0x02,
194 .tlv_type = 0x01,
204 .tlv_type = 0x01,
214 .tlv_type = 0x02,
224 .tlv_type = 0x10,
234 .tlv_type = 0x10,
252 .tlv_type = 0x02,
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c418 u16 tlv_buf_left, tlv_type, tlv_len; in mwifiex_process_multi_chan_event() local
440 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_multi_chan_event()
448 if (tlv_type != TLV_TYPE_MC_GROUP_INFO) { in mwifiex_process_multi_chan_event()
450 tlv_type); in mwifiex_process_multi_chan_event()
494 u16 tlv_type, tlv_len; in mwifiex_process_tx_pause_event() local
508 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_tx_pause_event()
517 if (tlv_type == TLV_TYPE_TX_PAUSE) { in mwifiex_process_tx_pause_event()
544 u16 tlv_type, tlv_len; in mwifiex_bt_coex_wlan_param_update_event() local
549 tlv_type = le16_to_cpu(tlv->type); in mwifiex_bt_coex_wlan_param_update_event()
553 switch (tlv_type) { in mwifiex_bt_coex_wlan_param_update_event()
D11n_rxreorder.c923 u16 tlv_type, tlv_len; in mwifiex_11n_rxba_sync_event() local
934 tlv_type = le16_to_cpu(tlv_rxba->header.type); in mwifiex_11n_rxba_sync_event()
936 if (tlv_type != TLV_TYPE_RXBA_SYNC) { in mwifiex_11n_rxba_sync_event()
938 "Wrong TLV id=0x%x\n", tlv_type); in mwifiex_11n_rxba_sync_event()
Dscan.c1148 u32 tlv_type; in mwifiex_ret_802_11_scan_get_tlv_ptrs() local
1161 tlv_type = le16_to_cpu(current_tlv->header.type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1170 if (req_tlv_type == tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1171 switch (tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1189 tlv_type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
/Linux-v5.4/drivers/slimbus/
Dqcom-ngd-ctrl.c218 .tlv_type = 0x01,
228 .tlv_type = 0x10,
238 .tlv_type = 0x10,
248 .tlv_type = 0x00,
260 .tlv_type = 0x02,
270 .tlv_type = 0x00,
282 .tlv_type = 0x01,
292 .tlv_type = 0x10,
301 .tlv_type = 0x10,
310 .tlv_type = 0x00,
[all …]
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Ddebugfs.c197 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) in lbs_tlv_find() argument
207 if (tlv_h->type == cpu_to_le16(tlv_type)) in lbs_tlv_find()
217 static ssize_t lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_read() argument
248 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read()
269 static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_write() argument
317 tlv->header.type = cpu_to_le16(tlv_type); in lbs_threshold_write()
320 if (tlv_type != TLV_TYPE_BCNMISS) in lbs_threshold_write()
/Linux-v5.4/fs/btrfs/
Dsend.h43 __le16 tlv_type; member
Dsend.c578 hdr->tlv_type = cpu_to_le16(attr); in tlv_put()
/Linux-v5.4/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-v5.4/include/linux/soc/qcom/
Dqmi.h76 u8 tlv_type; member
/Linux-v5.4/include/net/
Dbond_3ad.h138 u8 tlv_type; /* = 0x01 (marker information) */ member
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c609 enum iwl_ucode_tlv_type tlv_type; in iwl_parse_tlv_firmware() local
655 tlv_type = le32_to_cpu(tlv->type); in iwl_parse_tlv_firmware()
666 switch (tlv_type) { in iwl_parse_tlv_firmware()
1175 IWL_DEBUG_INFO(drv, "unknown TLV: %d\n", tlv_type); in iwl_parse_tlv_firmware()
1196 IWL_ERR(drv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwl_parse_tlv_firmware()
/Linux-v5.4/drivers/net/bonding/
Dbond_3ad.c885 switch (marker->tlv_type) { in ad_marker_send()
1945 marker.tlv_type = AD_MARKER_RESPONSE_SUBTYPE; in ad_marker_info_received()
2407 switch (marker->tlv_type) { in bond_3ad_rx_indication()
/Linux-v5.4/net/tipc/
Dnetlink_compat.c104 tlv->tlv_type = htons(type); in tipc_add_tlv()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h67 __le16 tlv_type; member