| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpu/host1x/ |
| D | nvidia,tegra234-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra234-nvdec 32 clock-names: 34 - const: nvdec [all …]
|
| /kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/ |
| D | chromeos-acpi-device.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Chrome OS ACPI Device 7 Hardware functionality specific to Chrome OS is exposed through a Chrome OS ACPI device. 8 The plug and play ID of a Chrome OS ACPI device is GGL0001 and the hardware ID is 11 .. flat-table:: Supported ACPI Objects 13 :header-rows: 1 15 * - Object 16 - Description 18 * - CHSW 19 - Chrome OS switch positions [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | riscv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 static void riscv_writel(struct tegra_drm_riscv *riscv, u32 value, u32 offset) in riscv_writel() argument 34 writel(value, riscv->regs + offset); in riscv_writel() 39 struct tegra_drm_riscv_descriptor *bl = &riscv->bl_desc; in tegra_drm_riscv_read_descriptors() 40 struct tegra_drm_riscv_descriptor *os = &riscv->os_desc; in tegra_drm_riscv_read_descriptors() local 41 const struct device_node *np = riscv->dev->of_node; in tegra_drm_riscv_read_descriptors() 47 dev_err(riscv->dev, "failed to read " name ": %d\n", err); \ in tegra_drm_riscv_read_descriptors() 51 READ_PROP("nvidia,bl-manifest-offset", &bl->manifest_offset); in tegra_drm_riscv_read_descriptors() 52 READ_PROP("nvidia,bl-code-offset", &bl->code_offset); in tegra_drm_riscv_read_descriptors() 53 READ_PROP("nvidia,bl-data-offset", &bl->data_offset); in tegra_drm_riscv_read_descriptors() [all …]
|
| D | falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/dma-mapping.h> 20 static void falcon_writel(struct falcon *falcon, u32 value, u32 offset) in falcon_writel() argument 22 writel(value, falcon->regs + offset); in falcon_writel() 29 return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value, in falcon_wait_idle() 37 return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value, in falcon_dma_wait_idle() 43 unsigned long offset, in falcon_copy_chunk() argument 59 falcon_writel(falcon, offset, FALCON_DMATRFMOFFS); in falcon_copy_chunk() 69 u32 *virt = falcon->firmware.virt; in falcon_copy_firmware_image() 73 for (i = 0; i < firmware->size / sizeof(u32); i++) in falcon_copy_firmware_image() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/dma-mapping.h> 20 static void falcon_writel(struct falcon *falcon, u32 value, u32 offset) in falcon_writel() argument 22 writel(value, falcon->regs + offset); in falcon_writel() 29 return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value, in falcon_wait_idle() 37 return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value, in falcon_dma_wait_idle() 43 unsigned long offset, in falcon_copy_chunk() argument 51 falcon_writel(falcon, offset, FALCON_DMATRFMOFFS); in falcon_copy_chunk() 61 u32 *virt = falcon->firmware.virt; in falcon_copy_firmware_image() 65 for (i = 0; i < firmware->size / sizeof(u32); i++) in falcon_copy_firmware_image() [all …]
|
| /kernel/linux/linux-6.6/drivers/tee/optee/ |
| D | optee_ffa.h | 1 /* SPDX-License-Identifier: BSD-2-Clause */ 3 * Copyright (c) 2019-2021, Linaro Limited 7 * This file is exported by OP-TEE and is kept in sync between secure world 8 * and normal world drivers. We're using ARM FF-A 1.0 specification. 23 * defined in FF-A specification: 27 * w3-w7: Implementation defined, free to be used below 38 * Returns the API version implemented, currently follows the FF-A version. 41 * w4-w7: Not used (MBZ) 46 * w5-w7: Not used (MBZ) 51 * Returns the revision of OP-TEE. [all …]
|
| /kernel/linux/common_modules/tzdriver/core/ |
| D | ffa_abi.h | 27 * defined in FF-A specification: 31 * w3-w7: Implementation defined, free to be used below 42 * Returns the API version implemented, currently follows the FF-A version. 45 * w4-w7: Not used (MBZ) 50 * w5-w7: Not used (MBZ) 57 * Used by non-secure world to figure out which version of the Trusted OS 59 * Trusted OS, not of the API. 63 * w4-w7: Unused (MBZ) 80 * w4-w7: Not used (MBZ) 83 * w3: Error code, 0 on success [all …]
|
| /kernel/linux/linux-5.10/Documentation/livepatch/ |
| D | module-elf-format.rst | 22 Formerly, livepatch required separate architecture-specific code to write 23 relocations. However, arch-specific code to write relocations already 25 code. So, instead of duplicating code and re-implementing what the module 26 loader can already do, livepatch leverages existing code in the module 27 loader to perform the all the arch-specific relocation work. Specifically, 32 of arch-specific code required to port livepatch to a particular 40 selected from OS-specific ranges according to the definitions from glibc. 43 ----------------------------------------------------- 45 reference non-exported global symbols and non-included local symbols. 46 Relocations referencing these types of symbols cannot be left in as-is [all …]
|
| /kernel/linux/linux-6.6/Documentation/livepatch/ |
| D | module-elf-format.rst | 16 Formerly, livepatch required separate architecture-specific code to write 17 relocations. However, arch-specific code to write relocations already 19 code. So, instead of duplicating code and re-implementing what the module 20 loader can already do, livepatch leverages existing code in the module 21 loader to perform the all the arch-specific relocation work. Specifically, 26 of arch-specific code required to port livepatch to a particular 34 selected from OS-specific ranges according to the definitions from glibc. 37 ----------------------------------------------------- 39 reference non-exported global symbols and non-included local symbols. 40 Relocations referencing these types of symbols cannot be left in as-is [all …]
|
| /kernel/linux/linux-6.6/samples/seccomp/ |
| D | bpf-helper.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org> 8 * The code may be used by anyone for any purpose, 17 #include "bpf-helper.h" 25 return -1; in bpf_resolve_jumps() 31 size_t offset = count - i - 1; in bpf_resolve_jumps() local 32 struct sock_filter *instr = &filter[offset]; in bpf_resolve_jumps() 33 if (instr->code != (BPF_JMP+BPF_JA)) in bpf_resolve_jumps() 35 switch ((instr->jt<<8)|instr->jf) { in bpf_resolve_jumps() 37 if (labels->labels[instr->k].location == 0xffffffff) { in bpf_resolve_jumps() [all …]
|
| /kernel/linux/linux-5.10/samples/seccomp/ |
| D | bpf-helper.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org> 8 * The code may be used by anyone for any purpose, 17 #include "bpf-helper.h" 25 return -1; in bpf_resolve_jumps() 31 size_t offset = count - i - 1; in bpf_resolve_jumps() local 32 struct sock_filter *instr = &filter[offset]; in bpf_resolve_jumps() 33 if (instr->code != (BPF_JMP+BPF_JA)) in bpf_resolve_jumps() 35 switch ((instr->jt<<8)|instr->jf) { in bpf_resolve_jumps() 37 if (labels->labels[instr->k].location == 0xffffffff) { in bpf_resolve_jumps() [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/ia64/ |
| D | mca.rst | 2 An ad-hoc collection of notes on IA64 MCA and INIT processing 7 --- 10 the OS is in any state. Including when one of the cpus is already 15 --- 48 have to use their own, per-cpu stacks. The MCA/INIT stacks are 97 --- 102 slaves. All the OS INIT handlers are entered at approximately the same 103 time. The OS monarch prints the state of all tasks and returns, after 109 cpu to return from the OS then drive the rest as slaves. Some versions 110 of SAL cannot even cope with returning from the OS, they spin inside [all …]
|
| /kernel/linux/linux-5.10/Documentation/ia64/ |
| D | mca.rst | 2 An ad-hoc collection of notes on IA64 MCA and INIT processing 7 --- 10 the OS is in any state. Including when one of the cpus is already 15 --- 48 have to use their own, per-cpu stacks. The MCA/INIT stacks are 97 --- 102 slaves. All the OS INIT handlers are entered at approximately the same 103 time. The OS monarch prints the state of all tasks and returns, after 109 cpu to return from the OS then drive the rest as slaves. Some versions 110 of SAL cannot even cope with returning from the OS, they spin inside [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | pe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 * - Loading initrd from the LINUX_EFI_INITRD_MEDIA_GUID device path, 16 * - Loading/starting the kernel from firmware that targets a different 117 #define IMAGE_SCN_TYPE_NO_PAD 0x00000008 /* don't pad - obsolete */ 125 #define IMAGE_SCN_LNK_REMOVE 0x00000800 /* .o only - scn to be rm'd*/ 126 #define IMAGE_SCN_LNK_COMDAT 0x00001000 /* .o only - COMDAT data */ 135 /* and here they just stuck a 1-byte integer in the middle of a bitfield */ 155 #define IMAGE_SCN_MEM_EXECUTE 0x20000000 /* can be executed as code */ 176 uint16_t reloc_table_offset; /* offset of the first relocation */ 187 uint16_t offset; member [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | pe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * - 0x1: initrd loading from the LINUX_EFI_INITRD_MEDIA_GUID device path, 17 * - 0x2: initrd loading using the initrd= command line option, where the file 30 * (https://lore.kernel.org/all/efd6f2d4-547c-1378-1faa-53c044dbd297@gmail.com/) 36 * LINUX_PE_MAGIC appears at offset 0x38 into the MS-DOS header of EFI bootable 129 #define IMAGE_SCN_TYPE_NO_PAD 0x00000008 /* don't pad - obsolete */ 137 #define IMAGE_SCN_LNK_REMOVE 0x00000800 /* .o only - scn to be rm'd*/ 138 #define IMAGE_SCN_LNK_COMDAT 0x00001000 /* .o only - COMDAT data */ 147 /* and here they just stuck a 1-byte integer in the middle of a bitfield */ 167 #define IMAGE_SCN_MEM_EXECUTE 0x20000000 /* can be executed as code */ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_bpftool_synctypes.py | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 import os, sys 10 LINUX_ROOT = os.path.abspath(os.path.join(__file__, 11 os.pardir, os.pardir, os.pardir, os.pardir, os.pardir)) 12 BPFTOOL_DIR = os.getenv('BPFTOOL_DIR', 13 os.path.join(LINUX_ROOT, 'tools/bpf/bpftool')) 14 BPFTOOL_BASHCOMP_DIR = os.getenv('BPFTOOL_BASHCOMP_DIR', 15 os.path.join(BPFTOOL_DIR, 'bash-completion')) 16 BPFTOOL_DOC_DIR = os.getenv('BPFTOOL_DOC_DIR', 17 os.path.join(BPFTOOL_DIR, 'Documentation')) [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 32 * OMAP hwmod provides a consistent way to describe the on-chip 37 * hwmod provides a way for other core code, such as the Linux device 38 * code or the OMAP power management and address space mapping code, 42 * ----------- [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 32 * OMAP hwmod provides a consistent way to describe the on-chip 37 * hwmod provides a way for other core code, such as the Linux device 38 * code or the OMAP power management and address space mapping code, 42 * ----------- [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/ |
| D | jevents.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 3 """Convert directories of JSON events to C code.""" 9 import os 63 def removesuffix(s: str, suffix: str) -> str: 69 return s[0:-len(suffix)] if s.endswith(suffix) else s 73 dirname: str) -> str: 79 return tblname.replace('-', '_') 82 def c_len(s: str) -> int: 87 \\. The code uses \000 rather than \0 as a terminator as an adjacent 90 \05). The code adjusts for \000 but not properly for all octal, hex [all …]
|
| /kernel/linux/linux-6.6/lib/zlib_inflate/ |
| D | inflate.h | 4 /* inflate.h -- internal inflate state definition 5 * Copyright (C) 1995-2004 Mark Adler 21 OS, /* i: waiting for extra flags and operating system (gzip) */ enumerator 29 TYPE, /* i: waiting for type bits, including last-flag bit */ 34 LENLENS, /* i: waiting for code length code lengths */ 35 CODELENS, /* i: waiting for length/lit and distance code lengths */ 36 LEN, /* i: waiting for length/lit code */ 38 DIST, /* i: waiting for distance code */ 42 CHECK, /* i: waiting for 32-bit check value */ 43 LENGTH, /* i: waiting for 32-bit length (gzip) */ [all …]
|
| /kernel/linux/linux-5.10/lib/zlib_inflate/ |
| D | inflate.h | 4 /* inflate.h -- internal inflate state definition 5 * Copyright (C) 1995-2004 Mark Adler 21 OS, /* i: waiting for extra flags and operating system (gzip) */ enumerator 29 TYPE, /* i: waiting for type bits, including last-flag bit */ 34 LENLENS, /* i: waiting for code length code lengths */ 35 CODELENS, /* i: waiting for length/lit and distance code lengths */ 36 LEN, /* i: waiting for length/lit code */ 38 DIST, /* i: waiting for distance code */ 42 CHECK, /* i: waiting for 32-bit check value */ 43 LENGTH, /* i: waiting for 32-bit length (gzip) */ [all …]
|
| /kernel/linux/linux-6.6/tools/perf/scripts/python/ |
| D | intel-pt-events.py | 1 # SPDX-License-Identifier: GPL-2.0 2 # intel-pt-events.py: Print Intel PT Events including Power Events and PTWRITE 3 # Copyright (c) 2017-2021, Intel Corporation. 17 import os 26 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 47 glb_cpu = -1 77 ap.add_argument("--insn-trace", action='store_true') 78 ap.add_argument("--src-trace", action='store_true') 79 ap.add_argument("--all-switch-events", action='store_true') [all …]
|
| /kernel/linux/linux-5.10/include/scsi/ |
| D | scsi_cmnd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/dma-mapping.h> 7 #include <linux/t10-pi.h> 20 * The longest fixed-length SCSI CDB as per the SCSI standard. 21 * fixed-length means: commands that their size can be determined 27 * So in effect MAX_COMMAND_SIZE means the maximum size command scsi-ml 56 /* for scmd->flags */ 64 /* for scmd->state */ 118 * command (auto-sense). Length must be 121 /* Low-level done function - can be used by low-level driver to point [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | bpf_helpers_doc.py | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright (C) 2018-2019 Netronome Systems, Inc. 11 import sys, os 20 'Error at file offset %d, parsing line: %s' % 84 # - "void" 85 # - "type name" 86 # - "type *name" 87 # - Same as above, with "const" and/or "struct" in front of type 88 # - "..." (undefined number of arguments, for bpf_trace_printk()) 145 offset = self.reader.read().find('* Start of BPF helper function descriptions:') [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| D | bcm47081-tplink-archer-c5-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708"; 12 model = "TP-LINK Archer C5 V2"; 24 compatible = "gpio-leds"; 26 led-2ghz { 31 led-lan { 36 led-usb2-port1 { 37 label = "bcm53xx:green:usb2-port1"; 39 trigger-sources = <&ohci_port1>, <&ehci_port1>; [all …]
|