Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath10k/
H A Dqmi_wlfw_v01.c17 .tlv_type = 0,
26 .tlv_type = 0,
35 .tlv_type = 0,
44 .tlv_type = 0,
53 .tlv_type = 0,
66 .tlv_type = 0,
75 .tlv_type = 0,
84 .tlv_type = 0,
97 .tlv_type = 0,
106 .tlv_type = 0,
[all …]
/linux/drivers/net/ipa/
H A Dipa_qmi_msg.c20 .tlv_type = 0x10,
30 .tlv_type = 0x10,
40 .tlv_type = 0x11,
50 .tlv_type = 0x11,
60 .tlv_type = 0x12,
70 .tlv_type = 0x12,
80 .tlv_type = 0x13,
90 .tlv_type = 0x13,
100 .tlv_type = 0x14,
110 .tlv_type = 0x14,
[all …]
/linux/drivers/soc/qcom/
H A Dqcom_pdr_msg.c17 .tlv_type = 0,
26 .tlv_type = 0,
35 .tlv_type = 0,
44 .tlv_type = 0,
58 .tlv_type = 0x01,
67 .tlv_type = 0x10,
76 .tlv_type = 0x10,
90 .tlv_type = 0x02,
100 .tlv_type = 0x10,
109 .tlv_type = 0x10,
[all …]
H A 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/drivers/net/wireless/ath/ath12k/
H A Dqmi.c26 .tlv_type = 0,
35 .tlv_type = 0,
44 .tlv_type = 0,
53 .tlv_type = 0,
60 .tlv_type = QMI_COMMON_TLV_TYPE,
70 .tlv_type = 0x10,
79 .tlv_type = 0x10,
88 .tlv_type = 0x11,
97 .tlv_type = 0x11,
106 .tlv_type = 0x12,
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dqmi.c38 .tlv_type = 0x10,
47 .tlv_type = 0x10,
56 .tlv_type = 0x11,
65 .tlv_type = 0x11,
74 .tlv_type = 0x12,
83 .tlv_type = 0x12,
92 .tlv_type = 0x12,
101 .tlv_type = 0x13,
110 .tlv_type = 0x13,
119 .tlv_type = 0x14,
[all …]
/linux/samples/qmi/
H A 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/drivers/net/ethernet/qlogic/qed/
H A Dqed_mng_tlv.c30 static int qed_mfw_get_tlv_group(u8 tlv_type, u8 *tlv_group) in qed_mfw_get_tlv_group() argument
32 switch (tlv_type) { in qed_mfw_get_tlv_group()
250 switch (p_tlv->tlv_type) { in qed_mfw_get_gen_tlv_value()
267 int idx = p_tlv->tlv_type - DRV_TLV_LOCAL_ADMIN_ADDR; in qed_mfw_get_gen_tlv_value()
312 switch (p_tlv->tlv_type) { in qed_mfw_get_eth_tlv_value()
449 switch (p_tlv->tlv_type) { in qed_mfw_get_fcoe_tlv_value()
635 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
648 idx = (p_tlv->tlv_type - DRV_TLV_CRC_ERROR_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
686 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
700 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxfw/
H A 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/drivers/net/wireless/intel/iwlwifi/fw/
H A Dpnvm.c49 u32 tlv_len, tlv_type; in iwl_pnvm_handle_section() local
55 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_handle_section()
65 switch (tlv_type) { in iwl_pnvm_handle_section()
143 tlv_type, tlv_len); in iwl_pnvm_handle_section()
177 u32 tlv_len, tlv_type; in iwl_pnvm_parse() local
184 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
192 if (tlv_type == IWL_UCODE_TLV_PNVM_SKU) { in iwl_pnvm_parse()
H A Duefi.c161 u32 tlv_len, tlv_type; in iwl_uefi_reduce_power_section() local
167 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_section()
177 switch (tlv_type) { in iwl_uefi_reduce_power_section()
189 tlv_type, tlv_len); in iwl_uefi_reduce_power_section()
214 u32 tlv_len, tlv_type; in iwl_uefi_reduce_power_parse() local
220 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_parse()
228 if (tlv_type == IWL_UCODE_TLV_PNVM_SKU) { in iwl_uefi_reduce_power_parse()
/linux/include/uapi/linux/
H A Dtipc_config.h246 __be16 tlv_type; /* TLV identifier */ member
274 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
289 return (__be16_to_cpu(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
294 tlv->tlv_type = __cpu_to_be16(type); in TLV_SET_TYPE()
304 tlv_ptr->tlv_type = __cpu_to_be16(type); in TLV_SET()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_tlv.h19 rtlv->tlv.tlv_type = cpu_to_le16(TLV_TYPE_ROCE_SP_COMMAND); in __roce_1st_tlv_prep()
26 static inline void __roce_ext_tlv_prep(struct roce_tlv *rtlv, u16 tlv_type, in __roce_ext_tlv_prep() argument
30 rtlv->tlv.tlv_type = cpu_to_le16(tlv_type); in __roce_ext_tlv_prep()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Devent.c27 u16 tlv_type; in qtnf_event_handle_sta_assoc() local
63 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_sta_assoc()
66 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_sta_assoc()
146 u16 tlv_type; in qtnf_event_handle_bss_join() local
232 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_bss_join()
235 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_bss_join()
349 u16 tlv_type; in qtnf_event_handle_scan_results() local
371 tlv_type = le16_to_cpu(tlv->type); in qtnf_event_handle_scan_results()
374 if (tlv_type == QTN_TLV_ID_IE_SET) { in qtnf_event_handle_scan_results()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_event.c415 u16 tlv_buf_left, tlv_type, tlv_len; in mwifiex_process_multi_chan_event() local
437 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_multi_chan_event()
445 if (tlv_type != TLV_TYPE_MC_GROUP_INFO) { in mwifiex_process_multi_chan_event()
447 tlv_type); in mwifiex_process_multi_chan_event()
491 u16 tlv_type, tlv_len; in mwifiex_process_tx_pause_event() local
505 tlv_type = le16_to_cpu(tlv->type); in mwifiex_process_tx_pause_event()
514 if (tlv_type == TLV_TYPE_TX_PAUSE) { in mwifiex_process_tx_pause_event()
541 u16 tlv_type, tlv_len; in mwifiex_bt_coex_wlan_param_update_event() local
546 tlv_type = le16_to_cpu(tlv->type); in mwifiex_bt_coex_wlan_param_update_event()
550 switch (tlv_type) { in mwifiex_bt_coex_wlan_param_update_event()
H A D11n_rxreorder.c906 u16 tlv_type, tlv_len; in mwifiex_11n_rxba_sync_event() local
917 tlv_type = le16_to_cpu(tlv_rxba->header.type); in mwifiex_11n_rxba_sync_event()
927 if (tlv_type != TLV_TYPE_RXBA_SYNC) { in mwifiex_11n_rxba_sync_event()
929 "Wrong TLV id=0x%x\n", tlv_type); in mwifiex_11n_rxba_sync_event()
H A 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/drivers/remoteproc/
H A Dqcom_sysmon.c198 .tlv_type = 0x02,
219 .tlv_type = 0x01,
229 .tlv_type = 0x01,
239 .tlv_type = 0x02,
249 .tlv_type = 0x10,
259 .tlv_type = 0x10,
277 .tlv_type = 0x02,
/linux/drivers/slimbus/
H A Dqcom-ngd-ctrl.c228 .tlv_type = 0x01,
238 .tlv_type = 0x10,
248 .tlv_type = 0x10,
258 .tlv_type = 0x00,
270 .tlv_type = 0x02,
280 .tlv_type = 0x00,
292 .tlv_type = 0x01,
302 .tlv_type = 0x10,
311 .tlv_type = 0x10,
320 .tlv_type = 0x00,
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A 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/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c595 enum iwl_ucode_tlv_type tlv_type, in iwl_drv_set_dump_exclude() argument
604 if (tlv_type == IWL_UCODE_TLV_SEC_TABLE_ADDR) { in iwl_drv_set_dump_exclude()
703 enum iwl_ucode_tlv_type tlv_type; in iwl_parse_tlv_firmware() local
749 tlv_type = le32_to_cpu(tlv->type); in iwl_parse_tlv_firmware()
760 switch (tlv_type) { in iwl_parse_tlv_firmware()
1298 iwl_drv_set_dump_exclude(drv, tlv_type, in iwl_parse_tlv_firmware()
1312 IWL_DEBUG_INFO(drv, "unknown TLV: %d\n", tlv_type); in iwl_parse_tlv_firmware()
1333 IWL_ERR(drv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwl_parse_tlv_firmware()
/linux/include/linux/soc/qcom/
H A Dqmi.h76 u8 tlv_type; member
/linux/include/net/
H A Dbond_3ad.h138 u8 tlv_type; /* = 0x01 (marker information) */ member
H A Dipv6.h160 u8 tlv_type; /* IPV6_TLV_JUMBO, 0xC2 */ member
498 if (jhdr->tlv_type != IPV6_TLV_JUMBO || jhdr->hdrlen != 0 || in ipv6_has_hopopt_jumbo()
/linux/net/ipv6/
H A Dip6_offload.c368 hop_jumbo->tlv_type = IPV6_TLV_JUMBO; in ipv6_gro_complete()

12