Home
last modified time | relevance | path

Searched defs:tlv (Results 1 – 25 of 119) sorted by relevance

12345

/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h29 static inline struct rocker_tlv *rocker_tlv_next(const struct rocker_tlv *tlv, in rocker_tlv_next()
38 static inline int rocker_tlv_ok(const struct rocker_tlv *tlv, int remaining) in rocker_tlv_ok()
50 #define rocker_tlv_for_each_nested(pos, tlv, rem) \ argument
69 static inline int rocker_tlv_type(const struct rocker_tlv *tlv) in rocker_tlv_type()
74 static inline void *rocker_tlv_data(const struct rocker_tlv *tlv) in rocker_tlv_data()
79 static inline int rocker_tlv_len(const struct rocker_tlv *tlv) in rocker_tlv_len()
84 static inline u8 rocker_tlv_get_u8(const struct rocker_tlv *tlv) in rocker_tlv_get_u8()
89 static inline u16 rocker_tlv_get_u16(const struct rocker_tlv *tlv) in rocker_tlv_get_u16()
94 static inline __be16 rocker_tlv_get_be16(const struct rocker_tlv *tlv) in rocker_tlv_get_be16()
99 static inline u32 rocker_tlv_get_u32(const struct rocker_tlv *tlv) in rocker_tlv_get_u32()
[all …]
H A Drocker_tlv.c18 const struct rocker_tlv *tlv; in rocker_tlv_parse() local
37 struct rocker_tlv *tlv; in rocker_tlv_put() local
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c207 ice_parse_ieee_etscfg_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_etscfg_tlv()
237 ice_parse_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_etsrec_tlv()
254 ice_parse_ieee_pfccfg_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_pfccfg_tlv()
279 ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_app_tlv()
334 ice_parse_ieee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) in ice_parse_ieee_tlv()
367 ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv *tlv, in ice_parse_cee_pgcfg_tlv()
424 ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv *tlv, in ice_parse_cee_pfccfg_tlv()
449 ice_parse_cee_app_tlv(struct ice_cee_feat_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) in ice_parse_cee_app_tlv()
503 ice_parse_cee_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) in ice_parse_cee_tlv()
561 ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg) in ice_parse_org_tlv()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.c77 const struct wmi_tlv *tlv; in ath10k_wmi_tlv_iter() local
1718 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_suspend() local
1739 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_resume() local
1763 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_set_rd() local
1794 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_set_param() local
1817 struct wmi_tlv *tlv; in ath10k_wmi_tlv_put_host_mem_chunks() local
1855 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_init() local
1977 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_start_scan() local
2077 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_stop_scan() local
2140 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_vdev_create() local
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c24 static int ath12k_hal_reo_cmd_queue_stats(struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_cmd_queue_stats()
49 struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_cmd_flush_cache()
95 static int ath12k_hal_reo_cmd_update_rx_queue(struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_cmd_update_rx_queue()
462 void ath12k_hal_reo_status_queue_stats(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_status_queue_stats()
525 void ath12k_hal_reo_flush_queue_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_flush_queue_status()
542 void ath12k_hal_reo_flush_cache_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_flush_cache_status()
583 void ath12k_hal_reo_unblk_cache_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_unblk_cache_status()
611 struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_flush_timeout_list_status()
640 struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_desc_thresh_reached_status()
675 struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_update_rx_reo_queue_status()
[all …]
/linux/net/nfc/
H A Dllcp_commands.c32 static u8 llcp_tlv8(const u8 *tlv, u8 type) in llcp_tlv8()
40 static u16 llcp_tlv16(const u8 *tlv, u8 type) in llcp_tlv16()
49 static u8 llcp_tlv_version(const u8 *tlv) in llcp_tlv_version()
54 static u16 llcp_tlv_miux(const u8 *tlv) in llcp_tlv_miux()
59 static u16 llcp_tlv_wks(const u8 *tlv) in llcp_tlv_wks()
64 static u16 llcp_tlv_lto(const u8 *tlv) in llcp_tlv_lto()
69 static u8 llcp_tlv_opt(const u8 *tlv) in llcp_tlv_opt()
74 static u8 llcp_tlv_rw(const u8 *tlv) in llcp_tlv_rw()
81 u8 *tlv, length; in nfc_llcp_build_tlv() local
195 const u8 *tlv = tlv_array; in nfc_llcp_parse_gb_tlv() local
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c37 static void i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_etscfg_tlv()
103 static void i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_etsrec_tlv()
156 static void i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_pfccfg_tlv()
180 static void i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_app_tlv()
232 static void i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_tlv()
265 static void i40e_parse_cee_pgcfg_tlv(struct i40e_cee_feat_tlv *tlv, in i40e_parse_cee_pgcfg_tlv()
316 static void i40e_parse_cee_pfccfg_tlv(struct i40e_cee_feat_tlv *tlv, in i40e_parse_cee_pfccfg_tlv()
340 static void i40e_parse_cee_app_tlv(struct i40e_cee_feat_tlv *tlv, in i40e_parse_cee_app_tlv()
395 static void i40e_parse_cee_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_cee_tlv()
451 static void i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_org_tlv()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_mfa2_tlv_multi.c9 #define MLXFW_MFA2_TLV_TOTAL_SIZE(tlv) \ argument
24 const struct mlxfw_mfa2_tlv *tlv) in mlxfw_mfa2_tlv_next()
47 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_tlv_advance() local
61 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_tlv_multi_child_find() local
82 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_tlv_multi_child_count() local
H A Dmlxfw_mfa2.c98 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_tlv_multi_validate() local
119 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_file_dev_validate() local
191 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_file_comp_validate() local
227 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_file_validate() local
336 const struct mlxfw_mfa2_tlv *tlv; in mlxfw_mfa2_tlv_dev_get() local
H A Dmlxfw_mfa2_tlv_multi.h33 #define mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) \ argument
37 #define mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) \ argument
/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.c24 static int ath11k_hal_reo_cmd_queue_stats(struct hal_tlv_hdr *tlv, in ath11k_hal_reo_cmd_queue_stats()
48 static int ath11k_hal_reo_cmd_flush_cache(struct ath11k_hal *hal, struct hal_tlv_hdr *tlv, in ath11k_hal_reo_cmd_flush_cache()
94 static int ath11k_hal_reo_cmd_update_rx_queue(struct hal_tlv_hdr *tlv, in ath11k_hal_reo_cmd_update_rx_queue()
435 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_status_queue_stats() local
500 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_process_status() local
512 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_queue_status() local
531 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_cache_status() local
573 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_unblk_cache_status() local
601 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_timeout_list_status() local
631 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_desc_thresh_reached_status() local
[all …]
/linux/net/ife/
H A Dife.c102 const struct meta_tlvhdr *tlv; in __ife_tlv_meta_valid() local
130 struct meta_tlvhdr *tlv; in ife_tlv_meta_decode() local
148 struct meta_tlvhdr *tlv = (struct meta_tlvhdr *) skbdata; in ife_tlv_meta_next() local
161 __be32 *tlv = (__be32 *) (skbdata); in ife_tlv_meta_encode() local
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-dbg-tlv.c54 struct iwl_ucode_tlv *tlv; member
68 static struct iwl_ucode_tlv *iwl_dbg_tlv_add(const struct iwl_ucode_tlv *tlv, in iwl_dbg_tlv_add()
85 static bool iwl_dbg_tlv_ver_support(const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_ver_support()
100 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_debug_info()
122 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_buf_alloc()
167 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_hcmd()
193 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_region()
251 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_trigger()
288 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_config_set()
323 void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv, in iwl_dbg_tlv_alloc()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_event.c337 struct mwifiex_ie_types_header *tlv) in mwifiex_process_uap_tx_pause()
370 struct mwifiex_ie_types_header *tlv) in mwifiex_process_sta_tx_pause()
414 struct mwifiex_ie_types_header *tlv; in mwifiex_process_multi_chan_event() local
490 struct mwifiex_ie_types_header *tlv; in mwifiex_process_tx_pause_event() local
536 struct mwifiex_ie_types_header *tlv; in mwifiex_bt_coex_wlan_param_update_event() local
H A Duap_cmd.c300 u8 *tlv = *tlv_buf; in mwifiex_uap_bss_wpa() local
409 u8 *tlv = *tlv_buf; in mwifiex_uap_bss_wep() local
464 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) in mwifiex_uap_bss_param_prepare()
692 static int mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size) in mwifiex_uap_custom_ie_prepare()
719 u8 *tlv; in mwifiex_cmd_uap_sys_config() local
754 struct mwifiex_ie_types_host_mlme *tlv; in mwifiex_cmd_uap_bss_start() local
803 struct mwifiex_ie_types_data *tlv; in mwifiex_cmd_uap_add_station() local
/linux/net/atm/
H A Dlec_arpc.h58 struct tlv { struct
59 u32 type;
60 u8 length;
61 u8 value[255];
/linux/include/uapi/linux/
H A Dtipc_config.h254 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) argument
256 static inline int TLV_OK(const void *tlv, __u16 space) in TLV_OK()
271 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) in TLV_CHECK()
277 static inline int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN()
282 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN()
287 static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE()
292 static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE()
297 static inline int TLV_SET(void *tlv, __u16 type, void *data, __u16 len) in TLV_SET()
/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c229 struct tlv_hdr *tlv = (struct tlv_hdr *)buf; in dut_echo_thread() local
342 struct tlv_hdr *tlv = (struct tlv_hdr *)buf; in recv_msg() local
388 struct tlv_hdr *tlv = (struct tlv_hdr *)buf; in dut_run() local
532 struct tlv_hdr *tlv = (struct tlv_hdr *)buf; in send_and_recv_msg() local
552 struct tlv_hdr *tlv = (struct tlv_hdr *)buf; in send_echo_msg() local
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c225 struct mt7925_wow_pattern_tlv *tlv; in mt7925_mcu_set_wow_pattern() local
322 struct tlv *tlv) in mt7925_mcu_roc_handle_grant()
349 struct tlv *tlv; in mt7925_mcu_uni_roc_event() local
393 struct tlv *tlv; in mt7925_mcu_tx_done_event() local
540 struct tlv *tlv; in mt7925_mcu_sta_ba() local
805 struct tlv *tlv = (struct tlv *)skb->data; in mt7925_mcu_get_nic_capability() local
904 struct tlv *tlv; in mt7925_mcu_sta_hdr_trans_tlv() local
995 struct tlv *tlv; in mt7925_mcu_set_tx() local
1033 struct tlv *tlv; in mt7925_mcu_sta_key_tlv() local
1472 struct tlv *tlv; in mt7925_mcu_sta_he_6g_tlv() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c384 struct tlv *tlv = (struct tlv *)data; in mt7996_mcu_rx_log_message() local
440 struct tlv *tlv = (struct tlv *)(data + 4); in mt7996_mcu_ie_countdown() local
757 struct tlv *tlv; in mt7996_mcu_bss_rfch_tlv() local
782 struct tlv *tlv; in mt7996_mcu_bss_ra_tlv() local
798 struct tlv *tlv; in mt7996_mcu_bss_he_tlv() local
823 struct tlv *tlv; in mt7996_mcu_bss_mbssid_tlv() local
847 struct tlv *tlv; in mt7996_mcu_bss_bmc_tlv() local
864 struct tlv *tlv; in mt7996_mcu_bss_txcmd_tlv() local
877 struct tlv *tlv; in mt7996_mcu_bss_mld_tlv() local
892 struct tlv *tlv; in mt7996_mcu_bss_sec_tlv() local
[all …]
/linux/drivers/net/wireless/ath/
H A Dspectral_common.h50 struct fft_sample_tlv tlv; member
68 struct fft_sample_tlv tlv; member
96 struct fft_sample_tlv tlv; member
115 struct fft_sample_tlv tlv; member
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_seg6local.c138 struct sr6_tlv_t tlv; in is_valid_tlv_boundary() local
231 struct sr6_tlv_t tlv; in delete_tlv() local
265 struct sr6_tlv_t tlv; in has_egr_tlv() local
336 uint8_t tlv[20] = {2, 18, 0, 0, 0xfd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, in __add_egr_x() local
/linux/net/ipv6/
H A Dseg6_hmac.c86 struct sr6_tlv_hmac *tlv; in seg6_get_tlv_hmac() local
241 struct sr6_tlv_hmac *tlv; in seg6_hmac_validate_skb() local
331 struct sr6_tlv_hmac *tlv; seg6_push_hmac() local
[all...]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c254 struct tlv *ptlv, tlv = { in mt76_connac_mcu_add_nested_tlv() local
335 struct tlv *tlv; in mt76_connac_mcu_bss_omac_tlv() local
377 struct tlv *tlv; in mt76_connac_mcu_sta_basic_tlv() local
438 struct tlv *tlv; in mt76_connac_mcu_sta_uapsd() local
472 struct tlv *tlv; in mt76_connac_mcu_wtbl_hdr_trans_tlv() local
552 struct tlv *tlv; in mt76_connac_mcu_wtbl_generic_tlv() local
602 struct tlv *tlv; in mt76_connac_mcu_sta_amsdu_tlv() local
629 struct tlv *tlv; in mt76_connac_mcu_sta_he_tlv() local
762 struct tlv *tlv; in mt76_connac_mcu_sta_he_tlv_v2() local
860 struct tlv *tlv; in mt76_connac_mcu_sta_tlv() local
[all …]
/linux/net/bluetooth/
H A Dmgmt_config.c125 #define TLV_GET_LE16(tlv) le16_to_cpu(*((__le16 *)(TO_TLV(tlv)->value))) argument
126 #define TLV_GET_U8(tlv) (*((__u8 *)(TO_TLV(tlv)->value))) argument

12345