| /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-5.10/arch/powerpc/include/asm/ |
| D | nvram.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * lnx,oops-log partition max size is 4000, header version > 4000 will 29 long size; /* size of data portion (excluding err_log_info) */ 30 long index; /* offset of data portion of partition */ 31 bool os_partition; /* partition initialized by OS, not FW */ 58 return -ENODEV; in mmio_nvram_init() 70 /* Return partition offset in nvram */ 75 extern void pmac_xpram_write(int xpaddr, u8 data); 77 /* Initialize NVRAM OS partition */ 88 /* Write to NVRAM OS partition */
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| D | nvram.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * lnx,oops-log partition max size is 4000, header version > 4000 will 29 long size; /* size of data portion (excluding err_log_info) */ 30 long index; /* offset of data portion of partition */ 31 bool os_partition; /* partition initialized by OS, not FW */ 58 return -ENODEV; in mmio_nvram_init() 70 /* Return partition offset in nvram */ 75 extern void pmac_xpram_write(int xpaddr, u8 data); 77 /* Initialize NVRAM OS partition */ 88 /* Write to NVRAM OS partition */
|
| /kernel/linux/linux-5.10/fs/adfs/ |
| D | adfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* Internal data structures for ADFS */ 14 /* RISC OS 12-bit filetype is stored in load_address[19:8] */ 30 * adfs file system inode data in memory 36 __u32 loadaddr; /* RISC OS load address */ 37 __u32 execaddr; /* RISC OS exec address */ 38 unsigned int attr; /* RISC OS permissions */ 49 return (ADFS_I(inode)->loadaddr & 0xfff00000) == 0xfff00000; in adfs_inode_is_stamped() 53 * Forward-declare this 59 * ADFS file system superblock data in memory [all …]
|
| /kernel/linux/linux-6.6/fs/adfs/ |
| D | adfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* Internal data structures for ADFS */ 14 /* RISC OS 12-bit filetype is stored in load_address[19:8] */ 30 * adfs file system inode data in memory 36 __u32 loadaddr; /* RISC OS load address */ 37 __u32 execaddr; /* RISC OS exec address */ 38 unsigned int attr; /* RISC OS permissions */ 49 return (ADFS_I(inode)->loadaddr & 0xfff00000) == 0xfff00000; in adfs_inode_is_stamped() 53 * Forward-declare this 59 * ADFS file system superblock data in memory [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | sa1100_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * "AS-IS" and at no charge. 34 #define REG_OSMR0 0x0000 /* OS timer Match Reg. 0 */ 35 #define REG_OSMR1 0x0004 /* OS timer Match Reg. 1 */ 36 #define REG_OSMR2 0x0008 /* OS timer Match Reg. 2 */ 37 #define REG_OSMR3 0x000c /* OS timer Match Reg. 3 */ 38 #define REG_OSCR 0x0010 /* OS timer Counter Reg. */ 39 #define REG_OSSR 0x0014 /* OS timer Status Reg. */ 40 #define REG_OWER 0x0018 /* OS timer Watch-dog Enable Reg. */ 41 #define REG_OIER 0x001C /* OS timer Interrupt Enable Reg. */ [all …]
|
| /kernel/linux/linux-6.6/arch/s390/appldata/ |
| D | appldata_os.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 4 * Collects misc. OS related data (CPU utilization, running processes). 29 * OS data 31 * This is accessed as binary data by z/VM. If changes to it can't be avoided, 54 u32 sync_count_1; /* after VM collected the record data, */ 58 (possibly corrupt) data */ 61 u32 per_cpu_size; /* size of the per-cpu data struct */ 62 u32 cpu_offset; /* offset of the first per-cpu data struct */ 73 /* per cpu data */ [all …]
|
| /kernel/linux/linux-5.10/arch/s390/appldata/ |
| D | appldata_os.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 4 * Collects misc. OS related data (CPU utilization, running processes). 29 * OS data 31 * This is accessed as binary data by z/VM. If changes to it can't be avoided, 54 u32 sync_count_1; /* after VM collected the record data, */ 58 (possibly corrupt) data */ 61 u32 per_cpu_size; /* size of the per-cpu data struct */ 62 u32 cpu_offset; /* offset of the first per-cpu data struct */ 73 /* per cpu data */ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/sdsi/ |
| D | sdsi_test.py | 2 # SPDX-License-Identifier: GPL-2.0 9 import os 38 return os.path.isfile(kmemleak) 43 result = subprocess.check_output(('grep', '-q', MODULE_NAME), stdin=lsmod_p.stdout) 59 assert os.path.isfile(folder + "guid") == True 60 assert os.path.isfile(folder + "provision_akc") == True 61 assert os.path.isfile(folder + "provision_cap") == True 62 assert os.path.isfile(folder + "state_certificate") == True 63 assert os.path.isfile(folder + "registers") == True 67 mode = os.stat(folder + "guid").st_mode & 0o777 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
| D | nvmem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 14 configuration data stored in NVMEMs like eeprom, efuses and so on. 17 some data on NVMEM, for the OS to be able to retrieve these 18 information and act upon it. Obviously, the OS has to know about 19 where to retrieve these data from, and where they are stored on the 24 pattern: "^(eeprom|efuse|nvram)(@.*|-[0-9a-f])*$" 26 "#address-cells": [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 */ 120 #define IMAGE_SCN_CNT_INITIALIZED_DATA 0x00000040 /* .data */ 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 */ 129 #define IMAGE_SCN_GPREL 0x00008000 /* global pointer referenced data */ 135 /* and here they just stuck a 1-byte integer in the middle of a bitfield */ 176 uint16_t reloc_table_offset; /* offset of the first relocation */ [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
| D | os-area.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PS3 flash memory os area. 36 * struct os_area_header - os area header segment. 39 * @db_area_offset: Starting segment number of other os database area. 45 * segments from the start of the os area (top of the header). These are 46 * better thought of as segment numbers. The os area of the os area is 47 * reserved for the os image. 72 * struct os_area_params - os area params segment. 85 * The ps3 rtc maintains a read-only value that approximates seconds since 86 * 2000-01-01 00:00:00 UTC. [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/ |
| D | os-area.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PS3 flash memory os area. 34 * struct os_area_header - os area header segment. 37 * @db_area_offset: Starting segment number of other os database area. 43 * segments from the start of the os area (top of the header). These are 44 * better thought of as segment numbers. The os area of the os area is 45 * reserved for the os image. 70 * struct os_area_params - os area params segment. 83 * The ps3 rtc maintains a read-only value that approximates seconds since 84 * 2000-01-01 00:00:00 UTC. [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/ |
| D | jevents.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 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: 94 utf = s.encode(encoding='utf-8',errors='strict') 98 return len(utf) - utf.count(b'\\') + utf.count(b'\\\\') - (utf.count(b'\\000') * 2) 103 Generating a large number of stand-alone C strings creates a large [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 */ 132 #define IMAGE_SCN_CNT_INITIALIZED_DATA 0x00000040 /* .data */ 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 */ 141 #define IMAGE_SCN_GPREL 0x00008000 /* global pointer referenced data */ [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 90 struct task and the kernel stacks. Then the MCA/INIT data would be 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 [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 90 struct task and the kernel stacks. Then the MCA/INIT data would be 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 [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/drivers/hid/ |
| D | hid-wiimote.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> 54 #define WIIPROTO_FLAG_LED(num) (WIIPROTO_FLAG_LED1 << (num - 1)) 103 __u8 data[HID_MAX_BUFFER_SIZE]; member 136 /* calibration/cache data */ 272 extern int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, 274 extern ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, 277 #define wiiproto_req_rreg(wdata, os, sz) \ argument 278 wiiproto_req_rmem((wdata), false, (os), (sz)) 279 #define wiiproto_req_reeprom(wdata, os, sz) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-wiimote.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> 54 #define WIIPROTO_FLAG_LED(num) (WIIPROTO_FLAG_LED1 << (num - 1)) 104 __u8 data[HID_MAX_BUFFER_SIZE]; member 137 /* calibration/cache data */ 273 extern int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, 275 extern ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, 278 #define wiiproto_req_rreg(wdata, os, sz) \ argument 279 wiiproto_req_rmem((wdata), false, (os), (sz)) 280 #define wiiproto_req_reeprom(wdata, os, sz) \ argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
| D | e1000_osdep.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 4 /* glue for the OS independent part of e1000 22 #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \ argument 23 (iowrite16_rep(base + offset, data, count)) 25 #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \ argument 26 (ioread16_rep(base + (offset << 1), data, count)) 29 (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 33 (writel((value), (hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 36 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument [all …]
|