| /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 - 2026, Intel Corp. 19 * ACPI_PTYPE1_FIXED: Fixed-length lengt [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 - 2026, 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-object [all...] |
| /linux/Documentation/driver-api/cxl/platform/example-configurations/ |
| H A D | flexible.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 * Cross-Bridge interleave is described in one CFMWS that covers all capacity. 16 * One CFMWS is also described per-host bridge. 17 * One CFMWS is also described per-device. 25 Length : 0020 30 Register length : 0000000000010000 34 Length : 0020 39 Register length : 0000000000010000 41 Subtable Type : 01 [CXL Fixed Memory Window Structure] 43 Length : 002C [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 | qcom,ipq4019-mdio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/qcom,ipq4019-mdio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robert Marko <robert.marko@sartura.hr> 15 - enum: 16 - qcom,ipq4019-mdio 17 - qcom,ipq5018-mdio 19 - items: 20 - enum: [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->ubu in verif_log_subtest() [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 …]
|
| H A D | red.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 ------------------ 24 When a new packet arrives we calculate the average queue length: 26 avg = (1-W)*avg + W*current_queue_len, 28 W is the filter time constant (chosen as 2^(-Wlog)), it controls 32 if (avg > th_max) -> packet marked (dropped). 33 if (avg < th_min) -> packet passes. 36 Pb = max_P * (avg - th_min)/(th_max-th_min) 42 max_P is chosen as a number, so that max_P/(th_max-th_min) 48 ----------------------------- [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 18 if (hdr->Flags & SMB2_FLAGS_SERVER_TO_REDIR) in check_smb2_hdr() 54 * The size of the variable area depends on the offset and length fields 56 * with no variable length info, show an offset of zero for the offset field. 81 * Set length of the data area and the offset to arguments. 94 * of the data buffer offset and data buffer length for the particular in smb2_get_data_area_len() 97 switch (hdr->Command) { in smb2_get_data_area_len() 99 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len() 100 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len() 104 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/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/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/rust/kernel/ |
| H A D | print.rs | 1 // SPDX-License-Identifier: GPL-2.0 7 //! Reference: <https://docs.kernel.org/core-api/printk-basics.html> 28 ) -> *mut c_char { in rust_fmt_argument() 42 /// The length we copy from the `KERN_*` kernel prefixes. 45 /// The length of the fixed format strings. 46 pub const LENGTH 41 pub const LENGTH: usize = 10; global() constant 49 generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] generate() argument 101 call_printk( format_string: &[u8; format_strings::LENGTH], module_name: &[u8], args: fmt::Arguments<'_>, ) call_printk() argument [all...] |
| /linux/Documentation/netlink/ |
| H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 22 len-or-limit: [all …]
|
| H A D | genetlink-legacy.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: 20 # literal int, const name, or limit based on fixed-width type 21 # e.g. u8-min, u16-max, etc. [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 separate 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 virtual 45 device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-devic [all...] |
| /linux/scripts/ |
| H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 73 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 76 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 78 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 92 - [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 - 2026, Intel Corp. 18 * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related 32 #define ACPI_SIG_FADT "FACP" /* Fixed ACP 70 u32 length; /* Length of table in bytes, including this header */ global() member 111 u32 length; /* Table length in bytes, including header (ACPI 2.0+) */ global() member 130 u32 length; global() member 164 u32 length; /* Length of structure, in bytes */ global() member 338 u32 length; /* Length fixed at 32 bits (fixed in table header) */ global() member [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/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | devlink_linecard.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # LC_SLOT - If not set, all probed line cards are going to be tested, 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l 91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink" 140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type") 170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \ 171 jq -e -r ".[][][].supported_types | length") 176 type=$(devlink lc show $DEVLINK_DEV lc $lc -j | \ 177 jq -e -r ".[][][].supported_types[$type_index]") [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.c | 1 // SPDX-License-Identifier: GPL-2.0+ 52 * Everything about this interface is ascii/big-endian, since the 57 * - function code ('PD' 0x5044 or 'PK' 0x504B) 58 * - rule block (one of:) 59 * + 0x000A 'PKCS-1.2' (MCL2 'PD') 60 * + 0x000A 'ZERO-PAD' (MCL2 'PK') 61 * + 0x000A 'ZERO-PAD' (MCL3 'PD' or CEX2C 'PD') 63 * - VUD block 204 unsigned short length; in icamex_msg_to_type6mex_msgx() member 206 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() [all …]
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|