/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | edac.h | 6 * 2006-2008 (c) MontaVista Software, Inc. This file is licensed under 26 #define EDAC_OPSTATE_INVAL -1 60 * enum dev_type - describe the type of memory DRAM chips used at the stick 93 * enum hw_event_mc_err_type - type of the detected error 95 * @HW_EVENT_ERR_CORRECTED: Corrected Error - Indicates that an ECC 97 * @HW_EVENT_ERR_UNCORRECTED: Uncorrected Error - Indicates an error that 101 * it for example, by re-trying the operation). 102 * @HW_EVENT_ERR_DEFERRED: Deferred Error - Indicates an uncorrectable 108 * @HW_EVENT_ERR_FATAL: Fatal Error - Uncorrected error that could not 110 * @HW_EVENT_ERR_INFO: Informational - The CPER spec defines a forth [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | e820.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * allocation code routines via a platform independent interface (memblock, etc.). 16 #include <linux/firmware-map.h> 26 * - 'e820_table_firmware': the original firmware version passed to us by the 27 * bootloader - not modified by the kernel. It is composed of two parts: 31 * - inform the user about the firmware's notion of memory layout 34 * - the hibernation code uses it to generate a kernel-independent CRC32 37 * - 'e820_table_kexec': a slightly modified (by the kernel) firmware version 38 * passed to us by the bootloader - the major difference between 45 * - kexec, which is a bootloader in disguise, uses the original E820 [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2020-2021 Advanced Micro Devices, Inc. 25 #include <linux/dma-direction.h> 26 #include <linux/dma-mapping.h> 52 struct amdgpu_device *adev = ring->adev; in svm_migrate_gart_map() 62 *gart_addr = adev->gmc.gart_start; in svm_migrate_gart_map() 64 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in svm_migrate_gart_map() 67 r = amdgpu_job_alloc_with_ib(adev, &adev->mman.high_pr, in svm_migrate_gart_map() 76 src_addr += job->ibs[0].gpu_addr; in svm_migrate_gart_map() 78 dst_addr = amdgpu_bo_gpu_offset(adev->gart.bo); in svm_migrate_gart_map() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | tlb_64e.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 27 #include <asm/code-patching.h> 32 /* The variables below are currently only used on 64-bit Book3E 39 unsigned long linear_map_top; /* Top of linear mapping */ 45 * do not modify this SPRG in the TLB miss code; for other TLB miss handlers, 54 void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address) in tlb_flush_pgtable() 56 int tsize = mmu_psize_defs[mmu_pte_psize].shift - 10; in tlb_flush_pgtable() 59 unsigned long start = address & PMD_MASK; in tlb_flush_pgtable() 60 unsigned long end = address + PMD_SIZE; in tlb_flush_pgtable() [all …]
|
/linux-6.12.1/kernel/ |
D | resource_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 90 KUNIT_EXPECT_EQ_MSG(test, r->start, exp_r->start, "Start elements are not equal"); in resource_do_test() 91 KUNIT_EXPECT_EQ_MSG(test, r->end, exp_r->end, "End elements are not equal"); in resource_do_test() 100 ret = resource_union(r->r1, r->r2, &result); in resource_do_union_test() 101 resource_do_test(test, ret, &result, r->ret, &r->r, r->r1, r->r2); in resource_do_union_test() 104 ret = resource_union(r->r2, r->r1, &result); in resource_do_union_test() 105 resource_do_test(test, ret, &result, r->ret, &r->r, r->r2, r->r1); in resource_do_union_test() 124 ret = resource_intersection(r->r1, r->r2, &result); in resource_do_intersection_test() 125 resource_do_test(test, ret, &result, r->ret, &r->r, r->r1, r->r2); in resource_do_intersection_test() 128 ret = resource_intersection(r->r2, r->r1, &result); in resource_do_intersection_test() [all …]
|
/linux-6.12.1/include/soc/fsl/qe/ |
D | qe.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 97 s32 cpm_muram_alloc(unsigned long size, unsigned long align); 98 s32 devm_cpm_muram_alloc(struct device *dev, unsigned long size, 99 unsigned long align); 101 s32 cpm_muram_alloc_fixed(unsigned long offset, unsigned long size); 102 s32 devm_cpm_muram_alloc_fixed(struct device *dev, unsigned long offset, 103 unsigned long size); 104 void __iomem *cpm_muram_addr(unsigned long offset); 105 unsigned long cpm_muram_offset(const void __iomem *addr); 109 static inline s32 cpm_muram_alloc(unsigned long size, in cpm_muram_alloc() [all …]
|
/linux-6.12.1/arch/x86/mm/ |
D | init.c | 28 #include <asm/text-patching.h> 44 * WC and WT fall back to UC-. pat_init() updates these values to support 46 * for the details. Note, __early_ioremap() used during early boot-time 63 unsigned long cachemode2protval(enum page_cache_mode pcm) in cachemode2protval() 83 * Check that the write-protect PAT entry is set for write-protect. 100 unsigned long masked; in pgprot2cachemode() 108 static unsigned long __initdata pgt_buf_start; 109 static unsigned long __initdata pgt_buf_end; 110 static unsigned long __initdata pgt_buf_top; 112 static unsigned long min_pfn_mapped; [all …]
|
/linux-6.12.1/arch/nios2/kernel/ |
D | head.S | 23 #include <asm/asm-offsets.h> 24 #include <asm/asm-macros.h> 27 * ZERO_PAGE is a special page that is used for zero-initialized 46 .long 0 48 * Input(s): passed from u-boot 49 * r4 - Optional pointer to a board information structure. 50 * r5 - Optional pointer to the physical starting address of the init RAM 52 * r6 - Optional pointer to the physical ending address of the init RAM 54 * r7 - Optional pointer to the physical starting address of any kernel 55 * command-line parameters. [all …]
|
/linux-6.12.1/arch/mips/kernel/ |
D | setup.c | 28 #include <linux/dma-map-ops.h> 44 #include <asm/smp-ops.h> 45 #include <asm/mips-cps.h> 62 unsigned long mips_machtype __read_mostly = MACH_UNKNOWN; 79 unsigned long mips_io_port_base = -1; 82 static struct resource code_resource = { .name = "Kernel code", }; 86 unsigned long __kaslr_offset __ro_after_init; 92 unsigned long ARCH_PFN_OFFSET; 106 pr_debug("Memory: %lluMB of RAM detected at 0x%llx (min: %lluMB, max: %lluMB)\n", in detect_memory_region() 107 ((unsigned long long) size) / SZ_1M, in detect_memory_region() [all …]
|
/linux-6.12.1/drivers/net/wan/ |
D | wanxlfw.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 0x000 - 0x050 TX#0 0x050 - 0x140 RX#0 15 0x140 - 0x190 TX#1 0x190 - 0x280 RX#1 16 0x280 - 0x2D0 TX#2 0x2D0 - 0x3C0 RX#2 17 0x3C0 - 0x410 TX#3 0x410 - 0x500 RX#3 20 000 5FF 1536 Bytes Dual-Port RAM User Data / BDs 21 600 6FF 256 Bytes Dual-Port RAM User Data / BDs 22 700 7FF 256 Bytes Dual-Port RAM User Data / BDs 23 C00 CBF 192 Bytes Dual-Port RAM Parameter RAM Page 1 24 D00 DBF 192 Bytes Dual-Port RAM Parameter RAM Page 2 [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | suspend_64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2001-2003 Pavel Machek <pavel@suse.cz> 4 * Based on code 15 * RAM code and by the low level hibernation code. 39 unsigned long kernelmode_gs_base, usermode_gs_base, fs_base; 41 unsigned long cr0, cr2, cr3, cr4; 44 unsigned long efer; 51 unsigned long tr; 52 unsigned long safety; 53 unsigned long return_address; [all …]
|
/linux-6.12.1/drivers/block/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 drivers. This option alone does not add any kernel code. 28 <file:Documentation/admin-guide/blockdev/floppy.rst>. 41 special low-level hardware accesses to them (access and use 42 non-standard formats, for example), then enable this. 44 Note that the code enabled by this option is rarely used and 64 If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple) 78 This enables support for using Chip RAM and Zorro II RAM as a 95 tristate "SEGA Dreamcast GD-ROM drive" 100 "GD-ROM" by SEGA to signify it is capable of reading special disks [all …]
|
/linux-6.12.1/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> 57 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init() 60 np = of_find_node_by_name(NULL, "data-only"); in cpm_muram_init() 63 ret = -ENODEV; in cpm_muram_init() 68 muram_pool = gen_pool_create(0, -1); in cpm_muram_init() 71 ret = -ENOMEM; in cpm_muram_init() 77 ret = -ENODEV; in cpm_muram_init() [all …]
|
/linux-6.12.1/arch/powerpc/mm/ |
D | mem.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 9 * PPC44x/36-bit changes by Matt Porter (mporter@mvista.com) 18 #include <linux/dma-direct.h> 29 #include <asm/code-patching.h> 35 unsigned long long memory_limit __initdata; 37 unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)] __page_aligned_bss; 40 pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size, in __phys_mem_access_prot() 64 int __weak create_section_mapping(unsigned long start, unsigned long end, in create_section_mapping() 67 return -ENODEV; in create_section_mapping() [all …]
|