/openbmc/linux/drivers/nvmem/layouts/ |
H A D | onie-tlv.c | 1 // 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 …]
|
H A D | Kconfig | 1 # 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.
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # 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 …]
|
H A D | nvmem-layout.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | file.h | 1 /* 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 …]
|
/openbmc/linux/include/linux/ |
H A D | nvmem-provider.h | 1 /* 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. 89 * @read_only: Device is read-only. 100 * @layout: Fixed layout associated with this nvmem device. [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | cfg.c | 1 // 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 …]
|
H A D | host.h | 1 /* 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
|
/openbmc/linux/lib/pldmfw/ |
H A D | pldmfw_private.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | join.c | 1 // 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 …]
|
H A D | scan.c | 1 // 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 …]
|
H A D | fw.h | 1 /* 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 …]
|
/openbmc/linux/tools/include/uapi/sound/ |
H A D | asound.h | 1 /* 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 …]
|
/openbmc/linux/include/uapi/sound/ |
H A D | asound.h | 1 /* 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 …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/ |
H A D | 0017-Platform-CS1000-Remove-unused-BL1-files.patch | 8 Signed-off-by: Bence Balogh <bence.balogh@arm.com> 9 Upstream-Status: Pending [Not submitted to upstream yet] 10 --- 11 .../arm/corstone1000/bl1/CMakeLists.txt | 345 ------------------ 12 .../arm/corstone1000/bl1/bl1_security_cnt.c | 75 ---- 13 2 files changed, 420 deletions(-) 17 diff --git a/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt b/platform/ext/target/arm/cors… 20 --- a/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt 22 @@ -1,345 +0,0 @@ 23 -#------------------------------------------------------------------------------- [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_cirrus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <sound/tlv.h> 66 /* Vendor-specific processing widget */ 79 * 1 = digital immediate, analog zero-cross 80 * 2 = digtail & analog soft-ramp 81 * 3 = digital soft-ramp, analog zero-cross 85 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */ 86 /* PGA mode: 0 = differential, 1 = signle-ended */ 88 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */ 92 * 1 = zero-cross [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | journal.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 -------------- 10 “important” data writes on-disk as quickly as possible. Once the important 15 read-write-erases) before erasing the commit record. Should the system 48 All fields in jbd2 are written to disk in big-endian order. This is the 56 Layout chapter 61 .. list-table:: 63 :header-rows: 1 65 * - Superblock 66 - descriptor_block (data_blocks or revocation_block) [more data or [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_adminq_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 20 #define I40E_FW_MINOR_VERSION(_h) ((_h)->mac.type == I40E_MAC_XL710 ? \ 24 /* API version 1.7 implements additional link and PHY-specific APIs */ 26 /* API version 1.9 for X722 implements additional link and PHY-specific APIs */ 57 /* Flags sub-structure 288 * - no suffix for direct command descriptor structures 289 * - _data for indirect sent data 290 * - _resp for indirect return data (data which is both will use _data) 291 * - _completion for direct return data [all …]
|
/openbmc/linux/sound/pci/ac97/ |
H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 const unsigned int *tlv, 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 40 /* replace with a new TLV */ 42 const unsigned int *tlv) in reset_tlv() argument 49 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv() 50 if (kctl && kctl->tlv.p) in reset_tlv() 51 kctl->tlv.p = tlv; in reset_tlv() 60 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 65 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 1 // SPDX-License-Identifier: GPL-2.0 41 static int debug = -1; 53 * ice_hw_to_dev - Get device pointer from the hardware structure 64 return &pf->pdev->dev; in ice_hw_to_dev() 87 return dev && (dev->netdev_ops == &ice_netdev_ops || in netif_is_ice() 88 dev->netdev_ops == &ice_netdev_safe_mode_ops); in netif_is_ice() 92 * ice_get_tx_pending - returns number of Tx descriptors not processed 99 head = ring->next_to_clean; in ice_get_tx_pending() 100 tail = ring->next_to_use; in ice_get_tx_pending() 104 tail - head : (tail + ring->count - head); in ice_get_tx_pending() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() 17 fifo->tail = 0; in fm10k_fifo_init() 21 * fm10k_fifo_used - Retrieve used space in FIFO 28 return fifo->tail - fifo->head; in fm10k_fifo_used() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tas5086.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * - implement DAPM and input muxing 9 * - implement modulation limit 10 * - implement non-default PWM start 12 * Note that this chip has a very unusual register layout, specifically 13 * because the registers are of unequal size, and multi-byte registers 18 * it doesn't matter because the entire map can be accessed as 8-bit 21 * routines have to be open-coded. 38 #include <sound/tlv.h> 71 #define TAS5086_CHANNEL_VOL(X) (0x08 + (X)) /* Channel 1-6 volume */ [all …]
|
H A D | cpcap.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2018 Sebastian Reichel <sre@kernel.org> 8 * Copyright (C) 2007 - 2009 Motorola, Inc. 14 #include <linux/mfd/motorola-cpcap.h> 17 #include <sound/tlv.h> 19 /* Register 512 CPCAP_REG_VAUDIOC --- Audio Regulator and Bias Voltage */ 27 /* Register 513 CPCAP_REG_CC --- CODEC */ 45 /* Register 514 CPCAP_REG_CDI --- CODEC Digital Audio Interface */ 62 /* Register 515 CPCAP_REG_SDAC --- Stereo DAC */ 76 /* Register 516 CPCAP_REG_SDACDI --- Stereo DAC Digital Audio Interface */ [all …]
|
/openbmc/linux/sound/usb/ |
H A D | mixer_quirks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Quirks and vendor-specific extensions for mixer interfaces 30 #include <sound/tlv.h> 49 * See the quirks for M-Audio FTUs or Ebox-44. 50 * If you don't want to set a TLV callback pass NULL. 69 return -ENOMEM; in snd_create_std_mono_ctl_offset() 71 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset() 72 cval->val_type = val_type; in snd_create_std_mono_ctl_offset() 73 cval->channels = 1; in snd_create_std_mono_ctl_offset() 74 cval->control = control; in snd_create_std_mono_ctl_offset() [all …]
|