Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/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-v4.19/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.h683 u8 tlv_type; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2_tlv.h78 #define MLXFW_MFA2_TLV(name, payload_type, tlv_type) \ argument
84 tlv_type, sizeof(payload_type), \
88 #define MLXFW_MFA2_TLV_VARSIZE(name, payload_type, tlv_type) \ argument
94 tlv_type, sizeof(payload_type), \
/Linux-v4.19/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-v4.19/drivers/remoteproc/
Dqcom_sysmon.c168 .tlv_type = 0x02,
189 .tlv_type = 0x01,
199 .tlv_type = 0x01,
209 .tlv_type = 0x02,
219 .tlv_type = 0x10,
229 .tlv_type = 0x10,
247 .tlv_type = 0x02,
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c420 u16 tlv_buf_left, tlv_type, tlv_len; in mwifiex_process_multi_chan_event() local
442 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_multi_chan_event()
450 if (tlv_type != TLV_TYPE_MC_GROUP_INFO) { in mwifiex_process_multi_chan_event()
452 tlv_type); in mwifiex_process_multi_chan_event()
496 u16 tlv_type, tlv_len; in mwifiex_process_tx_pause_event() local
510 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_tx_pause_event()
519 if (tlv_type == TLV_TYPE_TX_PAUSE) { in mwifiex_process_tx_pause_event()
546 u16 tlv_type, tlv_len; in mwifiex_bt_coex_wlan_param_update_event() local
551 tlv_type = le16_to_cpu(tlv->type); in mwifiex_bt_coex_wlan_param_update_event()
555 switch (tlv_type) { in mwifiex_bt_coex_wlan_param_update_event()
D11n_rxreorder.c925 u16 tlv_type, tlv_len; in mwifiex_11n_rxba_sync_event() local
937 tlv_type = le16_to_cpu(tlv_rxba->header.type); in mwifiex_11n_rxba_sync_event()
939 if (tlv_type != TLV_TYPE_RXBA_SYNC) { in mwifiex_11n_rxba_sync_event()
941 "Wrong TLV id=0x%x\n", tlv_type); in mwifiex_11n_rxba_sync_event()
Dscan.c1147 u32 tlv_type; in mwifiex_ret_802_11_scan_get_tlv_ptrs() local
1160 tlv_type = le16_to_cpu(current_tlv->header.type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1169 if (req_tlv_type == tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1170 switch (tlv_type) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1188 tlv_type); in mwifiex_ret_802_11_scan_get_tlv_ptrs()
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Devent.c39 u16 tlv_type; in qtnf_event_handle_sta_assoc() local
77 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_sta_assoc()
86 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_sta_assoc()
268 u16 tlv_type; in qtnf_event_handle_scan_results() local
292 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_scan_results()
299 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_scan_results()
Dcommands.c985 u16 tlv_type; in qtnf_cmd_resp_proc_hw_info() local
1033 tlv_type = le16_to_cpu(tlv->type); in qtnf_cmd_resp_proc_hw_info()
1038 tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_hw_info()
1042 switch (tlv_type) { in qtnf_cmd_resp_proc_hw_info()
1052 tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_hw_info()
1183 u16 tlv_type; in qtnf_parse_variable_mac_info() local
1195 tlv_type = le16_to_cpu(tlv->type); in qtnf_parse_variable_mac_info()
1200 mac->macid, tlv_type, tlv_value_len); in qtnf_parse_variable_mac_info()
1204 switch (tlv_type) { in qtnf_parse_variable_mac_info()
1314 mac->macid, tlv_type); in qtnf_parse_variable_mac_info()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/fs/btrfs/
Dsend.h43 __le16 tlv_type; member
Dsend.c563 hdr->tlv_type = cpu_to_le16(attr); in tlv_put()
/Linux-v4.19/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-v4.19/include/linux/soc/qcom/
Dqmi.h76 u8 tlv_type; member
/Linux-v4.19/include/net/
Dbond_3ad.h155 u8 tlv_type; /* = 0x01 (marker information) */ member
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c612 enum iwl_ucode_tlv_type tlv_type; in iwl_parse_tlv_firmware() local
658 tlv_type = le32_to_cpu(tlv->type); in iwl_parse_tlv_firmware()
669 switch (tlv_type) { in iwl_parse_tlv_firmware()
1110 IWL_DEBUG_INFO(drv, "unknown TLV: %d\n", tlv_type); in iwl_parse_tlv_firmware()
1131 IWL_ERR(drv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwl_parse_tlv_firmware()
/Linux-v4.19/drivers/net/bonding/
Dbond_3ad.c1928 marker.tlv_type = AD_MARKER_RESPONSE_SUBTYPE; in ad_marker_info_received()
2389 switch (((struct bond_marker *)lacpdu)->tlv_type) { in bond_3ad_rx_indication()
/Linux-v4.19/net/tipc/
Dnetlink_compat.c98 tlv->tlv_type = htons(type); in tipc_add_tlv()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h63 __le16 tlv_type; member