| /kernel/linux/linux-6.6/arch/m68k/atari/ |
| D | stram.c | 2 * Functions for ST-RAM allocations 4 * Copyright 1994-97 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> 35 * The ST-RAM allocator allocates memory from a pool of reserved ST-RAM of 36 * configurable size, set aside on ST-RAM init. 37 * As long as this pool is not exhausted, allocation of real ST-RAM can be 41 /* set if kernel is in ST-RAM */ 45 .name = "ST-RAM Pool" 48 static unsigned long pool_size = 1024*1024; 50 static unsigned long stram_virt_offset; 73 * determine whether kernel code resides in ST-RAM in atari_stram_init() [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/atari/ |
| D | stram.c | 2 * Functions for ST-RAM allocations 4 * Copyright 1994-97 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> 35 * The ST-RAM allocator allocates memory from a pool of reserved ST-RAM of 36 * configurable size, set aside on ST-RAM init. 37 * As long as this pool is not exhausted, allocation of real ST-RAM can be 41 /* set if kernel is in ST-RAM */ 45 .name = "ST-RAM Pool" 48 static unsigned long pool_size = 1024*1024; 50 static unsigned long stram_virt_offset; 73 * determine whether kernel code resides in ST-RAM in atari_stram_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
| D | mvme147.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Uses the generic 7990.c LANCE code. 30 /* We have 32K of RAM for the init block and buffers. This places 37 #include "7990.h" /* use generic LANCE code */ 42 unsigned long ram; member 47 * plus board-specific init, open and close actions. 48 * Oh, and we need to tell the generic code how to read and write LANCE registers... 70 /* Initialise the one and only on-board 7990 */ 82 return ERR_PTR(-ENODEV); in mvme147lance_probe() 87 return ERR_PTR(-ENOMEM); in mvme147lance_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
| D | mvme147.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Uses the generic 7990.c LANCE code. 30 /* We have 32K of RAM for the init block and buffers. This places 37 #include "7990.h" /* use generic LANCE code */ 42 unsigned long ram; member 47 * plus board-specific init, open and close actions. 48 * Oh, and we need to tell the generic code how to read and write LANCE registers... 70 /* Initialise the one and only on-board 7990 */ 83 return ERR_PTR(-ENODEV); in mvme147lance_probe() 88 return ERR_PTR(-ENOMEM); in mvme147lance_probe() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | crash_dump.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define ELFCORE_ADDR_MAX (-1ULL) 13 #define ELFCORE_ADDR_ERR (-2ULL) 15 extern unsigned long long elfcorehdr_addr; 16 extern unsigned long long elfcorehdr_size; 19 extern int elfcorehdr_alloc(unsigned long long *addr, unsigned long long *size); 20 extern void elfcorehdr_free(unsigned long long addr); 24 unsigned long from, unsigned long pfn, 25 unsigned long size, pgprot_t prot); 27 ssize_t copy_oldmem_page(struct iov_iter *i, unsigned long pfn, size_t csize, [all …]
|
| D | hp_sdc.h | 2 * HP i8042 System Device Controller -- header 10 * 1. Redistributions of source code must retain the above copyright 31 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 34 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2 104 #define HP_SDC_STATUS_PUP 0x70 /* Successful power-up self test */ 134 #define HP_SDC_STR 0x7f /* i8042 self-test result */ 146 #define HP_SDC_CFG_ROLLOVER 0x08 /* WTF is "N-key rollover"? */ 149 #define HP_SDC_CFG_KBD_OLD 0x03 /* keyboard code for non-HIL */ 150 #define HP_SDC_CFG_KBD_NEW 0x07 /* keyboard code from HIL autoconfig */ 151 #define HP_SDC_CFG_REV 0x40 /* Code revision bit */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 16 typedef void (*phys_reset_t)(unsigned long, bool); 30 * code. 54 phys_reset((unsigned long)addr, is_hyp_mode_available()); in __soft_restart() 60 void _soft_restart(unsigned long addr, bool disable_l2) in _soft_restart() 79 void soft_restart(unsigned long addr) in soft_restart() 88 * to execute e.g. a RAM-based pin loop is not sufficient. This allows the 89 * kexec'd kernel to use any and all RAM as it sees fit, without having to 90 * avoid any code or data used by any SW CPU pin loop. The CPU hotplug [all …]
|
| D | tcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson AB 41 .name = "DTCM RAM", 48 .name = "ITCM RAM", 77 unsigned long vaddr; in tcm_alloc() 95 gen_pool_free(tcm_pool, (unsigned long) addr, len); in tcm_free() 114 const int tcm_sizes[16] = { 0, -1, -1, 4, 8, 16, 32, 64, 128, in setup_tcm_bank() 115 256, 512, 1024, -1, -1, -1, -1 }; in setup_tcm_bank() 141 return -EINVAL; in setup_tcm_bank() 145 return -EINVAL; in setup_tcm_bank() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 17 typedef void (*phys_reset_t)(unsigned long, bool); 30 * code. 54 phys_reset((unsigned long)addr, is_hyp_mode_available()); in __soft_restart() 60 void _soft_restart(unsigned long addr, bool disable_l2) in _soft_restart() 79 void soft_restart(unsigned long addr) in soft_restart() 88 * to execute e.g. a RAM-based pin loop is not sufficient. This allows the 89 * kexec'd kernel to use any and all RAM as it sees fit, without having to 90 * avoid any code or data used by any SW CPU pin loop. The CPU hotplug [all …]
|
| D | tcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson AB 41 .name = "DTCM RAM", 48 .name = "ITCM RAM", 77 unsigned long vaddr; in tcm_alloc() 95 gen_pool_free(tcm_pool, (unsigned long) addr, len); in tcm_free() 114 const int tcm_sizes[16] = { 0, -1, -1, 4, 8, 16, 32, 64, 128, in setup_tcm_bank() 115 256, 512, 1024, -1, -1, -1, -1 }; in setup_tcm_bank() 141 return -EINVAL; in setup_tcm_bank() 145 return -EINVAL; in setup_tcm_bank() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| D | nvidia,tegra20-apbmisc.txt | 4 - compatible: Must be: 5 - Tegra20: "nvidia,tegra20-apbmisc" 6 - Tegra30: "nvidia,tegra30-apbmisc", "nvidia,tegra20-apbmisc" 7 - Tegra114: "nvidia,tegra114-apbmisc", "nvidia,tegra20-apbmisc" 8 - Tegra124: "nvidia,tegra124-apbmisc", "nvidia,tegra20-apbmisc" 9 - Tegra132: "nvidia,tegra124-apbmisc", "nvidia,tegra20-apbmisc" 10 - Tegra210: "nvidia,tegra210-apbmisc", "nvidia,tegra20-apbmisc" 11 - reg: Should contain 2 entries: the first entry gives the physical address 17 - nvidia,long-ram-code: If present, the RAM code is long (4 bit). If not, short (2 bit).
|
| /kernel/linux/linux-5.10/arch/microblaze/kernel/ |
| D | setup.c | 2 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2007-2009 PetaLogix 12 #include <linux/clk-provider.h> 32 #include <linux/dma-mapping.h> 46 * ASM code. Default position is BSS section which is cleared 70 code (ie no point checking for CRAMFS if it's not even enabled) */ 74 if (memcmp(&addr[0], "-rom1fs-", 8) == 0) /* romfs */ in get_romfs_len() 86 unsigned long kernel_tlb; 88 void __init machine_early_init(const char *cmdline, unsigned int ram, in machine_early_init() argument 92 unsigned long *src, *dst; in machine_early_init() [all …]
|
| /kernel/linux/linux-6.6/arch/microblaze/kernel/ |
| D | setup.c | 2 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2007-2009 PetaLogix 32 #include <linux/dma-mapping.h> 46 * ASM code. Default position is BSS section which is cleared 70 code (ie no point checking for CRAMFS if it's not even enabled) */ 74 if (memcmp(&addr[0], "-rom1fs-", 8) == 0) /* romfs */ in get_romfs_len() 86 unsigned long kernel_tlb; 88 void __init machine_early_init(const char *cmdline, unsigned int ram, in machine_early_init() argument 92 unsigned long *src, *dst; in machine_early_init() 104 romfs_base = (ram ? ram : (unsigned int)&__init_end); in machine_early_init() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/misc/ |
| D | nvidia,tegra20-apbmisc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/misc/nvidia,tegra20-apbmisc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - items: 17 - enum: 18 - nvidia,tegra210-apbmisc 19 - nvidia,tegra124-apbmisc [all …]
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | dma-mapping.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 * arm_dma_alloc - allocate consistent memory for DMA 25 * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices 27 * @handle: bus-specific DMA address 31 * allocates pages, and will return the CPU-viewed address, and sets @handle 32 * to be the device-viewed address. 35 gfp_t gfp, unsigned long attrs); 38 * arm_dma_free - free memory allocated by arm_dma_alloc 39 * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices 41 * @cpu_addr: CPU-view address returned from dma_alloc_coherent [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/coldfire/ |
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * head.S -- common startup code for ColdFire CPUs. 7 * (C) Copyright 1999-2011, Greg Ungerer <gerg@snapgear.com>. 14 #include <asm/asm-offsets.h> 23 * If we don't have a fixed memory size, then lets build in code 26 * that do not have their RAM starting at address 0, and it only 40 * but the DCMR register is virtually identical - give or take 119 * During startup we store away the RAM setup. These are not in the 124 .long 0 126 .long 0 [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/coldfire/ |
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * head.S -- common startup code for ColdFire CPUs. 7 * (C) Copyright 1999-2011, Greg Ungerer <gerg@snapgear.com>. 14 #include <asm/asm-offsets.h> 23 * If we don't have a fixed memory size, then lets build in code 26 * that do not have their RAM starting at address 0, and it only 40 * but the DCMR register is virtually identical - give or take 119 * During startup we store away the RAM setup. These are not in the 124 .long 0 126 .long 0 [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | hp_sdc.h | 2 * HP i8042 System Device Controller -- header 10 * 1. Redistributions of source code must retain the above copyright 31 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 34 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2 104 #define HP_SDC_STATUS_PUP 0x70 /* Successful power-up self test */ 134 #define HP_SDC_STR 0x7f /* i8042 self-test result */ 146 #define HP_SDC_CFG_ROLLOVER 0x08 /* WTF is "N-key rollover"? */ 149 #define HP_SDC_CFG_KBD_OLD 0x03 /* keyboard code for non-HIL */ 150 #define HP_SDC_CFG_KBD_NEW 0x07 /* keyboard code from HIL autoconfig */ 151 #define HP_SDC_CFG_REV 0x40 /* Code revision bit */ [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | ebda.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * are code), that must not be used by the kernel as available 13 * RAM. 20 * guess the reserved BIOS area by looking at the low BIOS RAM size 26 * - This code also contains a quirk for Dell systems that neglect 27 * to reserve the EBDA area in the 'RAM size' value ... 29 * - The same quirk also avoids a problem with the AMD768MPX 34 * - Plus paravirt systems don't have a reliable value in the 35 * 'BIOS RAM size' pointer we can rely on, so we must quirk 43 * rarely a problem, as long as we have enough memory to install [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | ebda.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * are code), that must not be used by the kernel as available 13 * RAM. 20 * guess the reserved BIOS area by looking at the low BIOS RAM size 26 * - This code also contains a quirk for Dell systems that neglect 27 * to reserve the EBDA area in the 'RAM size' value ... 29 * - The same quirk also avoids a problem with the AMD768MPX 34 * - Plus paravirt systems don't have a reliable value in the 35 * 'BIOS RAM size' pointer we can rely on, so we must quirk 43 * rarely a problem, as long as we have enough memory to install [all …]
|
| /kernel/linux/linux-5.10/arch/c6x/include/asm/ |
| D | processor.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 * but some C6X processors may have RAM addresses up to 0xFFFFFFFF. 21 * have to allow room for error returns when code does something 25 * if ((unsigned long)addr >= TASK_SIZE) 26 * ... its an error code, not an address ... 29 * use the last 4K page on systems with RAM extending all the way 30 * to the end of the 32-bit address space. 41 unsigned long long b15_14; 42 unsigned long long a15_14; 43 unsigned long long b13_12; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_gem_vram_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 * buffer object that is backed by video RAM (VRAM). It can be used for 35 * graphics buffers, such as an on-screen framebuffer. GEM does not provide 39 * library. Each active buffer object is stored in video RAM. Active 50 * .. code-block:: c 66 * unsigned long vram_size; 81 * manages an area of video RAM with VRAM MM and provides GEM VRAM objects 86 * clean-up handler to run during the DRM device's release. 89 * in video RAM. Call drm_gem_vram_pin() with &DRM_GEM_VRAM_PL_FLAG_VRAM or 90 * &DRM_GEM_VRAM_PL_FLAG_SYSTEM to pin a buffer object in video RAM or system [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_gem_vram_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/iosys-map.h> 30 * buffer object that is backed by video RAM (VRAM). It can be used for 39 * graphics buffers, such as an on-screen framebuffer. GEM does not provide 43 * library. Each active buffer object is stored in video RAM. Active 54 * .. code-block:: c 70 * unsigned long vram_size; 85 * manages an area of video RAM with VRAM MM and provides GEM VRAM objects 90 * clean-up handler to run during the DRM device's release. 93 * in video RAM. Call drm_gem_vram_pin() with &DRM_GEM_VRAM_PL_FLAG_VRAM or [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/qe/ |
| D | qe_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common CPM code 7 * Copyright 2007-2008,2010 Freescale Semiconductor, Inc. 11 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> 58 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init() 61 np = of_find_node_by_name(NULL, "data-only"); in cpm_muram_init() 64 ret = -ENODEV; in cpm_muram_init() 69 muram_pool = gen_pool_create(0, -1); in cpm_muram_init() 72 ret = -ENOMEM; in cpm_muram_init() 78 ret = -ENODEV; in cpm_muram_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/qe/ |
| D | qe_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common CPM code 7 * Copyright 2007-2008,2010 Freescale Semiconductor, Inc. 11 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> 56 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init() 59 np = of_find_node_by_name(NULL, "data-only"); in cpm_muram_init() 62 ret = -ENODEV; in cpm_muram_init() 67 muram_pool = gen_pool_create(0, -1); in cpm_muram_init() 70 ret = -ENOMEM; in cpm_muram_init() 76 ret = -ENODEV; in cpm_muram_init() [all …]
|