/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 …]
|
/linux/drivers/nvmem/layouts/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 menu "Layout Types" 12 tristate "Kontron sl28 VPD layout support" 15 Say Y here if you want to support the VPD layout of the Kontron 16 SMARC-sAL28 boards. 21 tristate "ONIE tlv support" 25 Type-Length-Value standard table. 30 tristate "U-Boot environment variables layout" 34 U-Boot stores its setup as environment variables. This driver adds
|
/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-2024 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 …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_tlv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 /* TLV Header Format 19 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 21 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 23 * The TLV header format described above will be used for transferring 48 __le16 len; /* 16 .. 32 length including TLV header */ 71 /* TLV Index 75 * the expected layout. 83 #define TLV_MAX_DATA (PAGE_SIZE - 512) 109 return (void *)&attr->value[0]; in fbnic_tlv_attr_get_value_ptr()
|
/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 …]
|
/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 …]
|
/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))) 224 #define IS_BASTREAM_SETUP(ptr) (ptr->ba_status) 228 #define IS_11N_ENABLED(priv) ((priv->adapter->config_bands & BAND_GN || \ 229 priv->adapter->config_bands & BAND_AN) && \ 230 priv->curr_bss_params.bss_descriptor.bcn_ht_cap && \ 231 !priv->curr_bss_params.bss_descriptor.disable_11n) [all …]
|
H A D | tdls.c | 4 * Copyright 2011-2020 NXP 11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 13 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 40 mwifiex_dbg(priv->adapter, DATA, "%s: %pM\n", __func__, mac); in mwifiex_restore_tdls_packets() 41 spin_lock_bh(&priv->wmm.ra_list_spinlock); in mwifiex_restore_tdls_packets() 43 skb_queue_walk_safe(&priv->tdls_txq, skb, tmp) { in mwifiex_restore_tdls_packets() 44 if (!ether_addr_equal(mac, skb->data)) in mwifiex_restore_tdls_packets() 47 __skb_unlink(skb, &priv->tdls_txq); in mwifiex_restore_tdls_packets() 49 tid = skb->priority; in mwifiex_restore_tdls_packets() 54 ra_list->tdls_link = true; in mwifiex_restore_tdls_packets() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
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
|
/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 …]
|
/linux/tools/perf/trace/beauty/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 …]
|
/linux/tools/include/uapi/sound/ |
H A D | asound.h |
|
/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 …]
|
/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 …]
|
/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 46 kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv() 47 if (kctl && kctl->tlv.p) in reset_tlv() 48 kctl->tlv.p = tlv; in reset_tlv() 57 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 62 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() [all …]
|
/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 …]
|
/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. 37 #include <sound/tlv.h> 70 #define TAS5086_CHANNEL_VOL(X) (0x08 + (X)) /* Channel 1-6 volume */ [all …]
|
H A D | lpass-wsa-macro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 12 #include <linux/clk-provider.h> 14 #include <sound/soc-dapm.h> 17 #include <sound/tlv.h> 19 #include "lpass-macro-common.h" 20 #include "lpass-wsa-macro.h" 352 {24000, -EINVAL},/* 24K */ 377 * struct wsa_reg_layout - Register layout differences 382 * @compander1_reg_offset: offset between compander registers (compander1 - compander0) [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 44 static int debug = -1; 56 * ice_hw_to_dev - Get device pointer from the hardware structure 67 return &pf->pdev->dev; in ice_hw_to_dev() 90 return dev && (dev->netdev_ops == &ice_netdev_ops || in netif_is_ice() 91 dev->netdev_ops == &ice_netdev_safe_mode_ops); in netif_is_ice() 95 * ice_get_tx_pending - returns number of Tx descriptors not processed 102 head = ring->next_to_clean; in ice_get_tx_pending() 103 tail = ring->next_to_use; in ice_get_tx_pending() [all …]
|
/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 31 #include <sound/tlv.h> 50 * See the quirks for M-Audio FTUs or Ebox-44. 51 * If you don't want to set a TLV callbac [all...] |
H A D | mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * - support for UAC2 effect units 18 * - support for graphical equalizers 19 * - RANGE and MEM set commands (UAC2) 20 * - RANGE and MEM interrupt dispatchers (UAC2) 21 * - audio channel clustering (UAC2) 22 * - audio sample rate converter units (UAC2) 23 * - proper handling of clock multipliers (UAC2) 24 * - dispatch clock change notifications (UAC2) 25 * - stop PCM streams which use a clock that became invalid [all …]
|
H A D | mixer_scarlett2.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * - 6i6/18i8/18i20 Gen 2 9 * - Solo/2i2/4i4/8i6/18i8/18i20 Gen 3 10 * - Solo/2i2/4i4 Gen 4 11 * - Clarett 2Pre/4Pre/8Pre USB 12 * - Clarett+ 2Pre/4Pre/8Pre 14 * Copyright (c) 2018-2024 by Geoffrey D. Bennett <g at b4.vu> 15 * Copyright (c) 2020-2021 by Vladimir Sadovnikov <sadko4u@gmail.com> 35 * (firmware 1083) using usbmon in July-August 2018. 58 * and talkback added in May-June 2021. [all …]
|