Home
last modified time | relevance | path

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

12345

/openbmc/qemu/hw/net/rocker/
H A Drocker_tlv.h54 #define rocker_tlv_for_each_nested(pos, tlv, rem) \ argument
72 static inline int rocker_tlv_type(const RockerTlv *tlv) in rocker_tlv_type()
77 static inline void *rocker_tlv_data(const RockerTlv *tlv) in rocker_tlv_data()
82 static inline int rocker_tlv_len(const RockerTlv *tlv) in rocker_tlv_len()
87 static inline uint8_t rocker_tlv_get_u8(const RockerTlv *tlv) in rocker_tlv_get_u8()
92 static inline uint16_t rocker_tlv_get_u16(const RockerTlv *tlv) in rocker_tlv_get_u16()
97 static inline uint32_t rocker_tlv_get_u32(const RockerTlv *tlv) in rocker_tlv_get_u32()
102 static inline uint64_t rocker_tlv_get_u64(const RockerTlv *tlv) in rocker_tlv_get_u64()
107 static inline uint16_t rocker_tlv_get_le16(const RockerTlv *tlv) in rocker_tlv_get_le16()
125 const RockerTlv *tlv; in rocker_tlv_parse() local
[all …]
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h38 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()
104 static inline u64 rocker_tlv_get_u64(const struct rocker_tlv *tlv) in rocker_tlv_get_u64()
[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
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c211 ice_parse_ieee_etscfg_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_etscfg_tlv()
243 ice_parse_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_etsrec_tlv()
260 ice_parse_ieee_pfccfg_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_pfccfg_tlv()
287 ice_parse_ieee_app_tlv(struct ice_lldp_org_tlv *tlv, in ice_parse_ieee_app_tlv()
378 ice_parse_cee_pgcfg_tlv(struct ice_cee_feat_tlv *tlv, in ice_parse_cee_pgcfg_tlv()
437 ice_parse_cee_pfccfg_tlv(struct ice_cee_feat_tlv *tlv, in ice_parse_cee_pfccfg_tlv()
604 struct ice_lldp_org_tlv *tlv; in ice_lldp_to_dcb_cfg() local
1172 ice_add_ieee_etsrec_tlv(struct ice_lldp_org_tlv *tlv, in ice_add_ieee_etsrec_tlv()
1326 ice_add_dscp_enf_tlv(struct ice_lldp_org_tlv *tlv) in ice_add_dscp_enf_tlv()
1350 ice_add_dscp_tc_bw_tlv(struct ice_lldp_org_tlv *tlv, in ice_add_dscp_tc_bw_tlv()
[all …]
/openbmc/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_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
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
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.c1717 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_suspend() local
1738 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_resume() local
1762 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_set_rd() local
1793 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_pdev_set_param() local
1816 struct wmi_tlv *tlv; in ath10k_wmi_tlv_put_host_mem_chunks() local
1854 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_init() local
1976 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_start_scan() local
2076 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_stop_scan() local
2139 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_vdev_create() local
2163 struct wmi_tlv *tlv; in ath10k_wmi_tlv_op_gen_vdev_delete() local
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c38 static void i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_etscfg_tlv()
191 static void i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_app_tlv()
246 static void i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_tlv()
357 static void i40e_parse_cee_app_tlv(struct i40e_cee_feat_tlv *tlv, in i40e_parse_cee_app_tlv()
413 static void i40e_parse_cee_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_cee_tlv()
474 static void i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_org_tlv()
505 struct i40e_lldp_org_tlv *tlv; in i40e_lldp_to_dcb_config() local
987 static void i40e_add_ieee_ets_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_add_ieee_ets_tlv()
1126 static void i40e_add_ieee_pfc_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_add_ieee_pfc_tlv()
1215 static void i40e_add_dcb_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_add_dcb_tlv()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.c23 static int ath11k_hal_reo_cmd_queue_stats(struct hal_tlv_hdr *tlv, in ath11k_hal_reo_cmd_queue_stats()
434 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_status_queue_stats() local
499 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_process_status() local
511 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_queue_status() local
530 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_cache_status() local
572 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_unblk_cache_status() local
600 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_flush_timeout_list_status() local
630 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_desc_thresh_reached_status() local
666 struct hal_tlv_hdr *tlv = (struct hal_tlv_hdr *)reo_desc; in ath11k_hal_reo_update_rx_reo_queue_status() local
786 struct hal_tlv_hdr *tlv; in ath11k_hal_reo_init_cmd_ring() local
[all …]
/openbmc/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
/openbmc/linux/net/atm/
H A Dlec_arpc.h58 struct tlv { struct
59 u32 type;
60 u8 length;
61 u8 value[255];
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_event.c333 struct mwifiex_ie_types_header *tlv) in mwifiex_process_uap_tx_pause()
366 struct mwifiex_ie_types_header *tlv) in mwifiex_process_sta_tx_pause()
410 struct mwifiex_ie_types_header *tlv; in mwifiex_process_multi_chan_event() local
486 struct mwifiex_ie_types_header *tlv; in mwifiex_process_tx_pause_event() local
532 struct mwifiex_ie_types_header *tlv; in mwifiex_bt_coex_wlan_param_update_event() local
H A Duap_cmd.c305 u8 *tlv = *tlv_buf; in mwifiex_uap_bss_wpa() local
414 u8 *tlv = *tlv_buf; in mwifiex_uap_bss_wep() local
469 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) in mwifiex_uap_bss_param_prepare()
697 static int mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size) in mwifiex_uap_custom_ie_prepare()
724 u8 *tlv; in mwifiex_cmd_uap_sys_config() local
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-dbg-tlv.c54 struct iwl_ucode_tlv *tlv; member
67 static int iwl_dbg_tlv_add(const struct iwl_ucode_tlv *tlv, in iwl_dbg_tlv_add()
84 static bool iwl_dbg_tlv_ver_support(const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_ver_support()
99 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_debug_info()
119 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_buf_alloc()
164 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_hcmd()
188 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_region()
252 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_alloc_trigger()
293 const struct iwl_ucode_tlv *tlv) in iwl_dbg_tlv_config_set()
479 const struct iwl_ucode_tlv *tlv; in iwl_dbg_tlv_parse_bin() local
[all …]
/openbmc/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()
/openbmc/linux/drivers/staging/gdm724x/
H A Dhci_packet.h34 struct tlv { struct
35 u8 type;
36 u8 len;
37 u8 *data[];
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dcfg.c165 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) in lbs_add_ssid_tlv()
190 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, in lbs_add_channel_list_tlv()
251 static int lbs_add_supported_rates_tlv(u8 *tlv) in lbs_add_supported_rates_tlv()
271 add_ie_rates(u8 *tlv, const u8 *ie, int *nrates) in add_ie_rates()
300 static int lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss) in lbs_add_common_rates_tlv()
349 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) in lbs_add_auth_type_tlv()
371 static int lbs_add_channel_tlv(u8 *tlv, u8 channel) in lbs_add_channel_tlv()
393 static int lbs_add_cf_param_tlv(u8 *tlv) in lbs_add_cf_param_tlv()
417 static int lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len) in lbs_add_wpa_tlv()
455 static int lbs_add_wps_enrollee_tlv(u8 *tlv, const u8 *ie, size_t ie_len) in lbs_add_wps_enrollee_tlv()
[all …]
/openbmc/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
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c542 struct tlv *tlv; in mt7996_mcu_bss_rfch_tlv() local
567 struct tlv *tlv; in mt7996_mcu_bss_ra_tlv() local
583 struct tlv *tlv; in mt7996_mcu_bss_he_tlv() local
611 struct tlv *tlv; in mt7996_mcu_bss_bmc_tlv() local
628 struct tlv *tlv; in mt7996_mcu_bss_txcmd_tlv() local
641 struct tlv *tlv; in mt7996_mcu_bss_mld_tlv() local
656 struct tlv *tlv; in mt7996_mcu_bss_sec_tlv() local
714 struct tlv *tlv; in mt7996_mcu_bss_ifs_timing_tlv() local
748 struct tlv *tlv; in mt7996_mcu_bss_basic_tlv() local
899 struct tlv *tlv; in mt7996_mcu_sta_ba() local
[all …]
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c176 struct qlink_tlv_ie_set *tlv; in qtnf_cmd_tlv_ie_set_add() local
225 struct qlink_tlv_ext_ie *tlv; in qtnf_cmd_tlv_ie_ext_add() local
349 struct qlink_tlv_hdr *tlv = in qtnf_cmd_send_start_ap() local
582 const struct qlink_tlv_hdr *tlv; in qtnf_cmd_sta_info_parse() local
882 const struct qlink_tlv_hdr *tlv; in qtnf_cmd_resp_proc_hw_info() local
1021 const struct qlink_tlv_hdr *tlv; in qtnf_parse_variable_mac_info() local
1326 const struct qlink_tlv_iftype_data *tlv = in qtnf_cmd_band_fill_iftype() local
1365 const struct qlink_tlv_hdr *tlv; in qtnf_cmd_resp_fill_band_info() local
1950 struct qlink_tlv_channel *tlv; in qtnf_cmd_channel_tlv_add() local
2333 const struct qlink_tlv_hdr *tlv; in qtnf_cmd_resp_proc_chan_stat_info() local
[all …]
/openbmc/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
/openbmc/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
329 struct sr6_tlv_hmac *tlv; in seg6_push_hmac() local

12345