Home
last modified time | relevance | path

Searched +full:fixed +full:- +full:length (Results 1 – 25 of 1032) sorted by relevance

12345678910>>...42

/linux-6.8/drivers/acpi/acpica/
Dacpredef.h1 /* 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 …]
/linux-6.8/Documentation/devicetree/bindings/net/
Dsamsung-sxgbe.txt4 - 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 …]
Dfsl-tsec-phy.txt5 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-6.8/sound/usb/line6/
Dmidibuf.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.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-6.8/arch/powerpc/include/asm/
Dsmu.h1 /* 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-6.8/tools/testing/selftests/bpf/prog_tests/
Dverifier_log.c1 // 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-6.8/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h1 /* 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-6.8/drivers/staging/wlan-ng/
Dp80211mgmt.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
7 * --------------------------------------------------------------------
9 * linux-wlan
11 * --------------------------------------------------------------------
13 * Inquiries regarding the linux-wlan Open Source project can be
17 * info@linux-wlan.com
18 * http://www.linux-wlan.com
20 * --------------------------------------------------------------------
25 * --------------------------------------------------------------------
31 * - Constant values are always in HOST byte order. To assign
[all …]
/linux-6.8/drivers/misc/mei/
Dclient.h1 /* 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-6.8/include/net/
Dnsh.h10 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
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-6.8/tools/testing/selftests/mm/
Dhugepage-mmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * hugepage-mmap:
8 * like /mnt) using the command mount -t hugetlbfs nodev /mnt. In this
13 * huge pages. That means that if one requires a fixed address, a huge page
14 * aligned address starting with 0x800000... will be required. If a fixed
27 #define LENGTH (256UL*1024*1024) macro
48 for (i = 0; i < LENGTH; i++) in write_bytes()
57 for (i = 0; i < LENGTH; i++) in read_bytes()
73 fd = memfd_create("hugepage-mmap", MFD_HUGETLB); in main()
77 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, fd, 0); in main()
[all …]
Dhugepage-shm.c1 // SPDX-License-Identifier: GPL-2.0
3 * hugepage-shm:
12 * huge pages. That means that if one requires a fixed address, a huge page
13 * aligned address starting with 0x800000... will be required. If a fixed
38 #define LENGTH (256UL*1024*1024) macro
57 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
65 if (shmaddr == (char *)-1) { in main()
73 for (i = 0; i < LENGTH; i++) { in main()
81 for (i = 0; i < LENGTH; i++) in main()
/linux-6.8/drivers/staging/rtl8712/
Dwlan_bssdef.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
37 u32 Length; /* Length of structure */ member
39 u32 HopSet; /* to one if non-802.11 */
48 u32 Length; /* Length of structure */ member
70 u32 Length; member
132 u32 Length; member
145 u32 Length; /* Length of this structure */ member
147 u32 KeyLength; /* length of key in bytes */
150 u8 KeyMaterial[32]; /* variable length */
[all …]
/linux-6.8/include/linux/can/
Dlength.h1 /* 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-6.8/fs/smb/server/
Dsmb2misc.c1 // 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()
104 *off = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset); in smb2_get_data_area_len()
[all …]
/linux-6.8/Documentation/fb/
Dapi.rst9 ---------------
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-6.8/Documentation/networking/
Dradiotap-headers.rst1 .. 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-6.8/Documentation/devicetree/bindings/nvmem/layouts/
Dfixed-cell.yaml1 # 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-6.8/rust/kernel/
Dprint.rs1 // SPDX-License-Identifier: GPL-2.0
7 //! Reference: <https://www.kernel.org/doc/html/latest/core-api/printk-basics.html>
25 ) -> *mut c_char { in rust_fmt_argument()
40 /// The length we copy from the `KERN_*` kernel prefixes.
43 /// The length of the fixed format strings.
44 pub const LENGTH: usize = 10; constant
46 /// Generates a fixed format string for the kernel's [`_printk`].
52 const fn generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] { in generate() argument
62 let suffix: &[u8; LENGTH - LENGTH_PREFIX] = if is_cont {
74 // Generate the format strings at compile-time.
[all …]
/linux-6.8/Documentation/netlink/
Dgenetlink-legacy.yaml1 # 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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dnetlink-raw.yaml1 # 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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
[all …]
/linux-6.8/Documentation/devicetree/bindings/clock/
Dnuvoton,npcm750-clk.txt8 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-6.8/arch/x86/include/uapi/asm/
Dsgx.h1 /* 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-6.8/include/acpi/
Dactbl.h1 /* 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-6.8/Documentation/arch/sparc/oradax/
Ddax-hv-api.txt3 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 …]

12345678910>>...42