Home
last modified time | relevance | path

Searched +full:tlv +full:- +full:layout (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/nvmem/layouts/
Donie-tlv.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ONIE tlv NVMEM cells provider
8 * Inspired by the first layout written by: Rafał Miłecki <rafal@milecki.pl>
13 #include <linux/nvmem-consumer.h>
14 #include <linux/nvmem-provider.h>
37 return "product-name"; in onie_tlv_cell_name()
39 return "part-number"; in onie_tlv_cell_name()
41 return "serial-number"; in onie_tlv_cell_name()
43 return "mac-address"; in onie_tlv_cell_name()
45 return "manufacture-date"; in onie_tlv_cell_name()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "Layout Types"
6 tristate "Kontron sl28 VPD layout support"
9 Say Y here if you want to support the VPD layout of the Kontron
10 SMARC-sAL28 boards.
15 tristate "ONIE tlv support"
19 Type-Length-Value standard table.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/layouts/
Donie,tlv-layout.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVMEM layout of the ONIE tlv table
10 - Miquel Raynal <miquel.raynal@bootlin.com>
14 infrastructure shall provide a non-volatile memory with a table whose the
26 const: onie,tlv-layout
28 product-name:
32 part-number:
[all …]
Dnvmem-layout.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Michael Walle <michael@walle.cc>
12 - Miquel Raynal <miquel.raynal@bootlin.com>
18 perform their parsing. The nvmem-layout container is here to describe these.
21 - $ref: fixed-layout.yaml
22 - $ref: kontron,sl28-vpd.yaml
[all …]
/kernel/linux/linux-6.6/include/linux/
Dnvmem-provider.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
35 #define NVMEM_DEVID_NONE (-1)
36 #define NVMEM_DEVID_AUTO (-2)
39 * struct nvmem_keepout - NVMEM register keepout range.
52 * struct nvmem_cell_info - NVMEM cell description
77 * struct nvmem_config - NVMEM device configuration
83 * @cells: Optional array of pre-defined NVMEM cells.
91 * @read_only: Device is read-only.
102 * @layout: Fixed layout associated with this nvmem device.
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/
Dfile.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2008-2014, 2018-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
13 /* v1/v2 uCode file layout */
41 * new TLV uCode file layout
43 * The new TLV file format contains TLVs, that each specify
55 IWL_UCODE_TLV_PAN = 7, /* deprecated -- only used in DVM */
56 IWL_UCODE_TLV_MEM_DESC = 7, /* replaces PAN in non-DVM */
117 /* TLVs 0x1000-0x2000 are for internal driver usage */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dfile.h8 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
9 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
10 * Copyright(c) 2008 - 2014, 2018 - 2020 Intel Corporation
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
31 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
32 * Copyright(c) 2008 - 2014, 2018 - 2020 Intel Corporation
68 /* v1/v2 uCode file layout */
96 * new TLV uCode file layout
98 * The new TLV file format contains TLVs, that each specify
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ctrl.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
6 * Netronome network device driver: Control BAR layout
22 * THB-350, 32k needs to be reserved.
53 * Hash type pre-pended when a RSS hash was computed
75 * Read/Write config words (0x0000 - 0x002c)
82 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions
83 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes
87 * - define Error details in UPDATE
107 #define NFP_NET_CFG_CTRL_MSIXAUTO (0x1 << 20) /* MSI-X auto-masking */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ctrl.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
5 * Netronome network device driver: Control BAR layout
17 /* 64-bit per app capabilities */
23 * THB-350, 32k needs to be reserved.
61 /* Hash type pre-pended when a RSS hash was computed */
80 /* Read/Write config words (0x0000 - 0x002c)
87 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions
88 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes
92 * - define Error details in UPDATE
[all …]
/kernel/linux/linux-5.10/lib/pldmfw/
Dpldmfw_private.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2018-2019, Intel Corporation. */
7 /* The following data structures define the layout of a firmware binary
15 * Due to the variable sized data layout, alignment of fields within these
16 * structures is not guaranteed when reading. For this reason, all multi-byte
18 * Additionally, the standard specifies that multi-byte fields are in
26 /* UUID for PLDM firmware packages: f018878c-cb7d-4943-9800-a02f059aca02 */
147 * @desc: pointer to a descriptor TLV
152 ((const struct __pldmfw_desc_tlv *)((desc)->data + \
153 get_unaligned_le16(&(desc)->size)))
[all …]
/kernel/linux/linux-6.6/lib/pldmfw/
Dpldmfw_private.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2018-2019, Intel Corporation. */
7 /* The following data structures define the layout of a firmware binary
15 * Due to the variable sized data layout, alignment of fields within these
16 * structures is not guaranteed when reading. For this reason, all multi-byte
18 * Additionally, the standard specifies that multi-byte fields are in
26 /* UUID for PLDM firmware packages: f018878c-cb7d-4943-9800-a02f059aca02 */
147 * @desc: pointer to a descriptor TLV
152 ((const struct __pldmfw_desc_tlv *)((desc)->data + \
153 get_unaligned_le16(&(desc)->size)))
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
Dcfg.c1 // SPDX-License-Identifier: GPL-2.0
6 * Holger Schurig <hs4233@mail.mn-solutions.de>
109 int ret = -ENOTSUPP; in lbs_auth_to_authtype()
132 * the hight-bit set for basic rates
150 * TLV utility functions
159 * Add ssid TLV
165 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) in lbs_add_ssid_tlv() argument
167 struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv; in lbs_add_ssid_tlv()
170 * TLV-ID SSID 00 00 in lbs_add_ssid_tlv()
174 ssid_tlv->header.type = cpu_to_le16(TLV_TYPE_SSID); in lbs_add_ssid_tlv()
[all …]
Dhost.h1 /* SPDX-License-Identifier: GPL-2.0 */
186 * are mapped to 1-4. These old commands are no longer maintained and
289 /* 802.11-related definitions */
449 /* A TLV to the CMD_802_11_SUBSCRIBE_EVENT command can contain a
454 uint8_t tlv[128]; member
531 /* 512 permitted - enough for required and most optional IEs */
713 * 2 - 31 = sleep for (n - 1) periods and awake for 1 period
714 * 32 - 254 = invalid
786 * Adhoc join command and will cause a binary layout mismatch with
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcfg.c1 // SPDX-License-Identifier: GPL-2.0
6 * Holger Schurig <hs4233@mail.mn-solutions.de>
109 int ret = -ENOTSUPP; in lbs_auth_to_authtype()
132 * the hight-bit set for basic rates
150 * TLV utility functions
159 * Add ssid TLV
165 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) in lbs_add_ssid_tlv() argument
167 struct mrvl_ie_ssid_param_set *ssid_tlv = (void *)tlv; in lbs_add_ssid_tlv()
170 * TLV-ID SSID 00 00 in lbs_add_ssid_tlv()
174 ssid_tlv->header.type = cpu_to_le16(TLV_TYPE_SSID); in lbs_add_ssid_tlv()
[all …]
Dhost.h1 /* SPDX-License-Identifier: GPL-2.0 */
186 * are mapped to 1-4. These old commands are no longer maintained and
289 /* 802.11-related definitions */
447 /* A TLV to the CMD_802_11_SUBSCRIBE_EVENT command can contain a
452 uint8_t tlv[128]; member
709 * 2 - 31 = sleep for (n - 1) periods and awake for 1 period
710 * 32 - 254 = invalid
782 * Adhoc join command and will cause a binary layout mismatch with
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Djoin.c2 * NXP Wireless LAN device driver: association and ad-hoc start/join
4 * Copyright 2011-2020 NXP
11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
32 * Append a generic IE as a pass through TLV to a TLV buffer.
37 * the buffer as a pass through TLV type to the request.
55 if (priv->gen_ie_buf_len) { in mwifiex_cmd_append_generic_ie()
56 mwifiex_dbg(priv->adapter, INFO, in mwifiex_cmd_append_generic_ie()
58 __func__, priv->gen_ie_buf_len, *buffer); in mwifiex_cmd_append_generic_ie()
[all …]
Dscan.c4 * Copyright 2011-2020 NXP
11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
33 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
42 /* Memory needed to store a max number/size WildCard SSID TLV for a firmware
84 _mwifiex_dbg(priv->adapter, log_level, in _dbg_security_flags()
87 bss_desc->bcn_wpa_ie ? in _dbg_security_flags()
88 bss_desc->bcn_wpa_ie->vend_hdr.element_id : 0, in _dbg_security_flags()
89 bss_desc->bcn_rsn_ie ? in _dbg_security_flags()
[all …]
Dfw.h4 * Copyright 2011-2020 NXP
11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
85 (adapter->fw_cap_info & FW_MULTI_BANDS_SUPPORT)
96 (((adapter->fw_cap_info & 0x2f00) >> 8) & \
146 #define CAL_SNR(RSSI, NF) ((s16)((s16)(RSSI)-(s16)(NF)))
233 #define IS_BASTREAM_SETUP(ptr) (ptr->ba_status)
237 #define IS_11N_ENABLED(priv) ((priv->adapter->config_bands & BAND_GN || \
238 priv->adapter->config_bands & BAND_AN) && \
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
Djoin.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NXP Wireless LAN device driver: association and ad-hoc start/join
5 * Copyright 2011-2020 NXP
20 * Append a generic IE as a pass through TLV to a TLV buffer.
25 * the buffer as a pass through TLV type to the request.
43 if (priv->gen_ie_buf_len) { in mwifiex_cmd_append_generic_ie()
44 mwifiex_dbg(priv->adapter, INFO, in mwifiex_cmd_append_generic_ie()
46 __func__, priv->gen_ie_buf_len, *buffer); in mwifiex_cmd_append_generic_ie()
48 /* Wrap the generic IE buffer with a pass through TLV type */ in mwifiex_cmd_append_generic_ie()
50 ie_header.len = cpu_to_le16(priv->gen_ie_buf_len); in mwifiex_cmd_append_generic_ie()
[all …]
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
21 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
30 /* Memory needed to store a max number/size WildCard SSID TLV for a firmware
72 _mwifiex_dbg(priv->adapter, log_level, in _dbg_security_flags()
75 bss_desc->bcn_wpa_ie ? in _dbg_security_flags()
76 bss_desc->bcn_wpa_ie->vend_hdr.element_id : 0, in _dbg_security_flags()
77 bss_desc->bcn_rsn_ie ? in _dbg_security_flags()
78 bss_desc->bcn_rsn_ie->ieee_hdr.element_id : 0, in _dbg_security_flags()
79 priv->sec_info.wep_enabled ? "e" : "d", in _dbg_security_flags()
[all …]
Dfw.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2011-2020 NXP
73 (adapter->fw_cap_info & FW_MULTI_BANDS_SUPPORT)
84 (((adapter->fw_cap_info & 0x2f00) >> 8) & \
134 #define CAL_SNR(RSSI, NF) ((s16)((s16)(RSSI)-(s16)(NF)))
221 #define IS_BASTREAM_SETUP(ptr) (ptr->ba_status)
225 #define IS_11N_ENABLED(priv) ((priv->adapter->config_bands & BAND_GN || \
226 priv->adapter->config_bands & BAND_AN) && \
227 priv->curr_bss_params.bss_descriptor.bcn_ht_cap && \
228 !priv->curr_bss_params.bss_descriptor.disable_11n)
[all …]
/kernel/linux/linux-5.10/include/uapi/sound/
Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
82 * Section for driver hardware dependent interface - /dev/snd/hw? *
105 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
132 unsigned int version; /* R: driver-specific version */
[all …]
/kernel/linux/linux-5.10/tools/include/uapi/sound/
Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
82 * Section for driver hardware dependent interface - /dev/snd/hw? *
105 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
132 unsigned int version; /* R: driver-specific version */
[all …]
/kernel/linux/linux-6.6/include/uapi/sound/
Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
68 * Section for driver hardware dependent interface - /dev/snd/hw? *
91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
118 unsigned int version; /* R: driver-specific version */
119 unsigned char id[32]; /* R: driver-specific ID string */
[all …]
/kernel/linux/linux-6.6/tools/include/uapi/sound/
Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
68 * Section for driver hardware dependent interface - /dev/snd/hw? *
91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
118 unsigned int version; /* R: driver-specific version */
119 unsigned char id[32]; /* R: driver-specific ID string */
[all …]

123