/linux/drivers/acpi/acpica/ |
H A D | acpredef.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: acpredef - Information table for ACPI predefined methods and objects 6 * Copyright (C) 2000 - 2023, Intel Corp. 19 * ACPI_PTYPE1_FIXED: Fixed-length length, 1 or 2 object types: 25 * ACPI_PTYPE1_VAR: Variable-length length. Zero-length package is allowed: 32 * 2) PTYPE2 packages contain a Variable-length number of subpackages. Each 35 * ACPI_PTYPE2: Each subpackage contains 1 or 2 object types. Zero-length 44 * Zero-length parent package is allowed: 55 * ACPI_PTYPE2_FIXED: Each subpackage is of Fixed-length. Zero-length 59 * ACPI_PTYPE2_MIN: Each subpackage has a Variable-length but minimum length. [all …]
|
H A D | nsprepkg.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nsprepkg - Validation of package objects for predefined names 6 * Copyright (C) 2000 - 2023, Intel Corp. 39 * PARAMETERS: info - Method execution information block 40 * return_object_ptr - Pointer to the object returned from the 46 * correct type of all sub-objects. 66 package = info->predefined + 1; in acpi_ns_check_package() 70 info->full_pathname, package->ret_info.type, in acpi_ns_check_package() 71 return_object->package.count)); in acpi_ns_check_package() 74 * For variable-length Packages, we can safely remove all embedded in acpi_ns_check_package() [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | samsung-sxgbe.txt | 4 - compatible: Should be "samsung,sxgbe-v2.0a" 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain the SXGBE interrupts 7 These interrupts are ordered by fixed and follows variable 9 index 0 - this is fixed common interrupt of SXGBE and it is always 11 index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts 13 - phy-mode: String, operation mode of the PHY interface. 15 - samsung,pbl: Integer, Programmable Burst Length. 17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe 18 This is an integer and represents allowable DMA bursts when fixed burst. [all …]
|
H A D | fsl-tsec-phy.txt | 5 the definition of the PHY node in booting-without-of.txt for an example 9 - reg : Offset and length of the register set for the device, and optionally 10 the offset and length of the TBIPA register (TBI PHY address 14 - compatible : Should define the compatible device type for the 16 - "fsl,gianfar-tbi" 17 - "fsl,gianfar-mdio" 18 - "fsl,etsec2-tbi" 19 - "fsl,etsec2-mdio" 20 - "fsl,ucc-mdio" 21 - "fsl,fman-mdio" [all …]
|
/linux/sound/usb/line6/ |
H A D | midibuf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004-2010 Markus Grabner (line6@grabner-graz.at) 18 message_length = -1; in midibuf_message_length() 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local 22 message_length = length[(code >> 4) - 8]; in midibuf_message_length() 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local 25 1, 1, 1, -1, 1, 1 in midibuf_message_length() 27 message_length = length[code & 0x0f]; in midibuf_message_length() 35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty() 40 return this->full; in midibuf_is_full() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | smu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * These commands are used to retrieve the sdb-partition-XX datas from 26 * the SMU. The length is always 2. First byte is the subcommand code 31 * - 0..1 : partition address 32 * - 2 : a byte containing the partition ID 33 * - 3 : length (maybe other bits are rest of header ?) 53 * --------------------- 66 * ------------------------ 115 * 0: bus number (from device-tree usually, SMU has lots of busses !) 119 * 3: subaddress length (0..3) [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verifier_log.c | 1 // SPDX-License-Identifier: GPL-2.0 61 bpf_object__for_each_program(prog, skel->obj) { in verif_log_subtest() 74 insns = bpf_program__insns(skel->progs.good_prog); in verif_log_subtest() 75 insn_cnt = bpf_program__insn_cnt(skel->progs.good_prog); in verif_log_subtest() 85 memset(logs.reference + fixed_log_sz, 0, sizeof(logs.reference) - fixed_log_sz); in verif_log_subtest() 88 * we get -ENOSPC and beginning of the full verifier log. This only in verif_log_subtest() 93 * But if provided too short log buf, kernel will NULL-out log->ubuf in verif_log_subtest() 96 * Long story short, we do the following -ENOSPC test only for in verif_log_subtest() 101 opts.log_level = log_level | 8; /* fixed-length log */ in verif_log_subtest() 106 if (!ASSERT_EQ(prog_fd, -ENOSPC, "unexpected_log_fixed_prog_load_result")) { in verif_log_subtest() [all …]
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | wlan_bssdef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 40 u32 length; /* Length of structure */ member 62 u8 length; member 66 /* Length is the 4 bytes multiples of the sum of 72 * Except for ie_length, all other fields are fixed length. Therefore, we can 113 u32 length; /* Length of this structure */ member 114 u32 key_index; /* 0 is the per-client key, 1-N are the global keys */ 115 u32 key_length; /* length of key in bytes */ 116 u8 key_material[16];/* variable length depending on above field */ [all …]
|
/linux/include/net/ |
H A D | nsh.h | 10 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 11 * |Ver|O|U| TTL | Length |U|U|U|U|MD Type| Next Protocol | 12 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 14 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 18 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 27 * discussion of MPLS-related forwarding requirements. 32 * example [I-D.ietf-sfc-oam-framework] for one approach). 34 * The O bit MUST be set for OAM packets and MUST NOT be set for non-OAM 65 * Length: The total length, in 4-byte words, of NSH including the Base 66 * Header, the Service Path Header, the Fixed Length Context Header or [all …]
|
/linux/drivers/misc/mei/ |
H A D | client.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2003-2018, Intel Corporation. All rights reserved. 37 * mei_me_cl_is_active - check whether me client is active in the fw 45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active() 49 * mei_me_cl_uuid - return me client protocol name (uuid) 57 return &me_cl->props.protocol_name; in mei_me_cl_uuid() 61 * mei_me_cl_ver - return me client protocol version 69 return me_cl->props.protocol_version; in mei_me_cl_ver() 73 * mei_me_cl_max_conn - return me client max number of connections 81 return me_cl->props.max_number_of_connections; in mei_me_cl_max_conn() [all …]
|
/linux/include/linux/can/ |
H A D | length.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020 Marc Kleine-Budde <kernel@pengutronix.de> 19 * --------------------------------------------------------- 27 * Data Length Code (DLC) 4 37 * --------------------------------------------------------- 48 * Data length code (DLC) 4 55 * Size of a CAN-FD Standard Frame in bits 58 * --------------------------------------------------------- 69 * Data length code (DLC) 4 76 * Size of a CAN-FD Extended Frame in bits [all …]
|
/linux/fs/smb/server/ |
H A D | smb2misc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (hdr->Flags & SMB2_FLAGS_SERVER_TO_REDIR) in check_smb2_hdr() 55 * The size of the variable area depends on the offset and length fields 57 * with no variable length info, show an offset of zero for the offset field. 82 * Set length of the data area and the offset to arguments. 95 * of the data buffer offset and data buffer length for the particular in smb2_get_data_area_len() 98 switch (hdr->Command) { in smb2_get_data_area_len() 100 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len() 101 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len() 105 le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset), in smb2_get_data_area_len() [all …]
|
/linux/Documentation/fb/ |
H A D | api.rst | 9 --------------- 12 with frame buffer devices. In-kernel APIs between device drivers and the frame 22 --------------- 24 Device and driver capabilities are reported in the fixed screen information 36 - FB_CAP_FOURCC 44 -------------------- 46 Pixels are stored in memory in hardware-dependent formats. Applications need 58 - FB_TYPE_PACKED_PIXELS 64 Padding at end of lines may be present and is then reported through the fixed 67 - FB_TYPE_PLANES [all …]
|
/linux/drivers/md/dm-vdo/indexer/ |
H A D | radix-sort.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "radix-sort.h" 11 #include "memory-alloc.h" 12 #include "string-utils.h" 23 /* Sort keys are pointers to immutable fixed-length arrays of bytes. */ 31 /* The number of non-empty bins */ 33 /* The index (key byte) of the first non-empty bin */ 35 /* The index (key byte) of the last non-empty bin */ 42 * Sub-tasks are manually managed on a stack, both for performance and to put a logarithmic bound 53 u16 length; member [all …]
|
/linux/Documentation/networking/ |
H A D | radiotap-headers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------------------------------------ 10 Radiotap headers are variable-length and extensible, you can get most of the 19 ----------------------- 21 There is a fixed portion at the start which contains a u32 bitmap that defines 29 < 8-byte ieee80211_radiotap_header > 44 -------------------------- 46 After the fixed part of the header, the arguments follow for each argument 50 - the arguments are all stored little-endian! 52 - the argument payload for a given argument index has a fixed size. So [all …]
|
/linux/net/mac80211/ |
H A D | eht.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright(c) 2021-2025 Intel Corporation 18 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap() 22 u8 eht_total_size = sizeof(eht_cap->eht_cap_elem); in ieee80211_eht_cap_ie_to_sta_eht_cap() 28 !ieee80211_get_eht_iftype_cap_vif(sband, &sdata->vif)) in ieee80211_eht_cap_ie_to_sta_eht_cap() 32 &eht_cap_ie_elem->fixed, in ieee80211_eht_cap_ie_to_sta_eht_cap() 33 sdata->vif.type == in ieee80211_eht_cap_ie_to_sta_eht_cap() 38 /* Calculate the PPE thresholds length only if the header is present */ in ieee80211_eht_cap_ie_to_sta_eht_cap() 39 if (eht_cap_ie_elem->fixed.phy_cap_info[5] & in ieee80211_eht_cap_ie_to_sta_eht_cap() 46 eht_ppe_hdr = get_unaligned_le16(eht_cap_ie_elem->optional + mcs_nss_size); in ieee80211_eht_cap_ie_to_sta_eht_cap() [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | fixed-cell.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fixed offset & size NVMEM cell 10 - Rafał Miłecki <rafal@milecki.pl> 11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 16 - const: mac-base 20 It can be stored in a plain binary format (cell length 6) or as an 21 ASCII text like "00:11:22:33:44:55" (cell length 17). [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_counters_test.c |
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | nuvoton,npcm750-clk.txt | 8 There are six fixed clocks that are generated outside the BMC. All clocks are of 9 a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and 17 dt-bindings/clock/nuvoton,npcm7xx-clock.h 22 - compatible: "nuvoton,npcm750-clk" : for clock controller of Nuvoton 25 - reg: physical base address of the clock controller and length of 28 - #clock-cells: should be 1. 32 clk: clock-controller@f0801000 { 33 compatible = "nuvoton,npcm750-clk"; 34 #clock-cells = <1>; 36 clock-names = "refclk", "sysbypck", "mcbypck"; [all …]
|
/linux/include/acpi/ |
H A D | actbl.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: actbl.h - Basic ACPI Table Definitions 6 * Copyright (C) 2000 - 2023, Intel Corp. 18 * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related 32 #define ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */ 44 * All tables and structures must be byte-packed to match the ACPI 54 * essentially useless for dealing with packed data in on-disk formats or 70 u32 length; /* Length of table in bytes, including this header */ member 82 * GAS - Generic Address Structure (ACPI 2.0+) 86 * 64-bit Address field must be performed with care. [all …]
|
/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 38 …There is no fixed limit on the number of outstanding CCBs guest software may have queued in the vi… 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync 81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility [all …]
|
/linux/arch/x86/include/uapi/asm/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright(c) 2016-20 Intel Corporation. 12 * enum sgx_page_flags - page control flags 40 * struct sgx_enclave_create - parameter structure for the 49 * struct sgx_enclave_add_pages - parameter structure for the 53 * @length: length of the data (multiple of the page size) 61 __u64 length; member 68 * struct sgx_enclave_init - parameter structure for the 77 * struct sgx_enclave_provision - parameter structure for the 86 * struct sgx_enclave_restrict_permissions - parameters for ioctl [all …]
|
/linux/lib/ |
H A D | inflate.c | 1 // SPDX-License-Identifier: GPL-2.0 4 /* inflate.c -- Not copyrighted 1992 by Mark Adler 9 * based on gzip-1.0.3 14 * at run-time only. This allows for the kernel uncompressor to run 21 length of 258) in the previous 32 K bytes. If it doesn't find any 22 matches (of at least length 3), it codes the next byte. Otherwise, it 23 codes the length o [all...] |
/linux/drivers/crypto/bcm/ |
H A D | spu2.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 74 /* Fixed Metadata format */ 84 /* Fixed part of request message header length in bytes. Just FMD. */ 131 #define SPU2_RET_IV_LEN 0xF00000000 /* length in bytes of IV returned. 137 #define SPU2_IV_LEN 0x1F0000000000 /* length of input IV in bytes */ 139 #define SPU2_HASH_TAG_LEN 0x7F000000000000 /* hash tag length in bytes */ 151 #define SPU2_AAD1_LEN 0xFF000 /* length of AAD1 in bytes */ 159 #define SPU2_PL_LEN 0xFFFFFFFF /* payload length in bytes */ 166 * Max value that can be represented in the Payload Length field of the
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 1 // SPDX-License-Identifier: GPL-2.0+ 58 * Everything about this interface is ascii/big-endian, since the 63 * - function code ('PD' 0x5044 or 'PK' 0x504B) 64 * - rule block (one of:) 65 * + 0x000A 'PKCS-1.2' (MCL2 'PD') 66 * + 0x000A 'ZERO-PAD' (MCL2 'PK') 67 * + 0x000A 'ZERO-PAD' (MCL3 'PD' or CEX2C 'PD') 69 * - VUD block 210 unsigned short length; in icamex_msg_to_type6mex_msgx() member 212 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() [all …]
|