| /kernel/linux/linux-6.6/drivers/acpi/acpica/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/acpi/acpica/ |
| 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 - 2020, 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| 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 trasmit 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 …]
|
| /kernel/linux/linux-6.6/sound/usb/line6/ |
| D | midibuf.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/usb/line6/ |
| D | midibuf.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
| D | wlan_bssdef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 36 u32 Length; /* Length of structure */ member 38 u32 HopSet; /* to one if non-802.11 */ 47 u32 Length; /* Length of structure */ member 70 u8 Length; member 74 /* Length is the 4 bytes multiples of the sum of 80 * Except for IELength, all other fields are fixed length. Therefore, we can 131 u32 Length; member 149 u32 Length; /* Length of this structure */ member [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
| D | p80211mgmt.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 7 * -------------------------------------------------------------------- 9 * linux-wlan 32 * -------------------------------------------------------------------- 34 * Inquiries regarding the linux-wlan Open Source project can be 38 * info@linux-wlan.com 39 * http://www.linux-wlan.com 41 * -------------------------------------------------------------------- 46 * -------------------------------------------------------------------- 52 * - Constant values are always in HOST byte order. To assign [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
| D | wlan_bssdef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 32 u32 Length; /* Length of structure */ member 34 u32 HopSet; /* to one if non-802.11 */ 43 u32 Length; /* Length of structure */ member 66 u8 Length; member 71 * Length is the 4 bytes multiples of the sume of 77 * Except the ie_length, all other fields are fixed length. 121 u32 Length; /* Length of this structure */ member 122 u32 KeyIndex; /* 0 is the per-client key, [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/misc/mei/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
| D | p80211mgmt.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
| D | hugepage-mmap.c | 1 // 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 26 #define LENGTH (256UL*1024*1024) macro 47 for (i = 0; i < LENGTH; i++) in write_bytes() 56 for (i = 0; i < LENGTH; i++) in read_bytes() 69 fd = memfd_create("hugepage-mmap", MFD_HUGETLB); in main() 75 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, fd, 0); in main() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | hugepage-mmap.c | 1 // 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() 76 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, fd, 0); in main() 88 munmap(addr, LENGTH); in main()
|
| /kernel/linux/linux-6.6/drivers/misc/mei/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/net/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/net/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
| D | wlan_bssdef.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
| D | wlan_bssdef.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | fixed-mmio-clock.txt | 1 Binding for simple memory mapped io fixed-rate clock sources. 2 The driver reads a clock frequency value from a single 32-bit memory mapped 3 I/O register and registers it as a fixed rate clock. 9 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 12 - compatible : shall be "fixed-mmio-clock". 13 - #clock-cells : from common clock binding; shall be set to 0. 14 - reg : Address and length of the clock value register set. 17 - clock-output-names : From common clock binding. 21 #clock-cells = <0>; 22 compatible = "fixed-mmio-clock";
|
| /kernel/linux/linux-6.6/include/linux/can/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/layouts/ |
| 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 …]
|