data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SYNC_BITOPS_H__ #define __ASM_SYNC_BITOPS_H__ #include <asm/bitops.h> /* sync_bitops functions are equivalent to the SMP implementation of the * original functions, independently from CONFIG_SMP being defined. * * We need them because _set_bit etc are not SMP sa...
arch/arm/include/asm/sync_bitops.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Access to user system call parameters and results * * See asm-generic/syscall.h for descriptions of what we must do here. */ #ifndef _ASM_ARM_SYSCALL_H #define _ASM_ARM_SYSCALL_H #include <uapi/linux/audit.h> /* for AUDIT_ARCH_* */ #include <linux/elf.h> /* for ELF_EM *...
arch/arm/include/asm/syscall.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_SYSCALLS_H #define __ASM_SYSCALLS_H #include <linux/linkage.h> #include <linux/types.h> struct pt_regs; asmlinkage int sys_sigreturn(struct pt_regs *regs); asmlinkage int sys_rt_sigreturn(struct pt_regs *regs); asmlinkage long sys_arm_fadvise64_64(int fd, int ...
arch/arm/include/asm/syscalls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_SYSTEM_INFO_H #define __ASM_ARM_SYSTEM_INFO_H #define CPU_ARCH_UNKNOWN 0 #define CPU_ARCH_ARMv3 1 #define CPU_ARCH_ARMv4 2 #define CPU_ARCH_ARMv4T 3 #define CPU_ARCH_ARMv5 4 #define CPU_ARCH_ARMv5T 5 #define CPU_ARCH_ARMv5TE 6 #define CPU_ARCH_ARMv5TEJ 7 #d...
arch/arm/include/asm/system_info.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_SYSTEM_MISC_H #define __ASM_ARM_SYSTEM_MISC_H #ifndef __ASSEMBLY__ #include <linux/compiler.h> #include <linux/linkage.h> #include <linux/irqflags.h> #include <linux/reboot.h> #include <linux/percpu.h> extern void cpu_init(void); void soft_restart(unsigned lo...
arch/arm/include/asm/system_misc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2008-2009 ST-Ericsson AB * * Author: Rickard Andersson <rickard.andersson@stericsson.com> * Author: Linus Walleij <linus.walleij@stericsson.com> */ #ifndef __ASMARM_TCM_H #define __ASMARM_TCM_H #ifdef CONFIG_HAVE_TCM #include <linux/compiler.h> /...
arch/arm/include/asm/tcm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARM_KERNEL_PATCH_H #define _ARM_KERNEL_PATCH_H void patch_text(void *addr, unsigned int insn); void __patch_text_real(void *addr, unsigned int insn, bool remap); static inline void __patch_text(void *addr, unsigned int insn) { __patch_text_real(addr, insn, true); } st...
arch/arm/include/asm/text-patching.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/therm.h: Definitions for Dallas Semiconductor * DS1620 thermometer driver (as used in the Rebel.com NetWinder) */ #ifndef __ASM_THERM_H #define __ASM_THERM_H /* ioctl numbers for /dev/therm */ #define CMD_SET_THERMOSTATE 0x53 #define CMD_GET_THERMOST...
arch/arm/include/asm/therm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/thread_info.h * * Copyright (C) 2002 Russell King. */ #ifndef __ASM_ARM_THREAD_INFO_H #define __ASM_ARM_THREAD_INFO_H #ifdef __KERNEL__ #include <linux/compiler.h> #include <asm/fpstate.h> #include <asm/page.h> #ifdef CONFIG_KASAN /* * KASa...
arch/arm/include/asm/thread_info.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/thread_notify.h * * Copyright (C) 2006 Russell King. */ #ifndef ASMARM_THREAD_NOTIFY_H #define ASMARM_THREAD_NOTIFY_H #ifdef __KERNEL__ #ifndef __ASSEMBLY__ #include <linux/notifier.h> #include <asm/thread_info.h> static inline int thread_r...
arch/arm/include/asm/thread_notify.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/timex.h * * Copyright (C) 1997,1998 Russell King * * Architecture Specific TIME specifications */ #ifndef _ASMARM_TIMEX_H #define _ASMARM_TIMEX_H typedef unsigned long cycles_t; #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0...
arch/arm/include/asm/timex.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/tlb.h * * Copyright (C) 2002 Russell King * * Experimentation shows that on a StrongARM, it appears to be faster * to use the "invalidate whole tlb" rather than "invalidate single * tlb" for this. * * This appears true for both the pro...
arch/arm/include/asm/tlb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/tlbflush.h * * Copyright (C) 1999-2003 Russell King */ #ifndef _ASMARM_TLBFLUSH_H #define _ASMARM_TLBFLUSH_H #ifndef __ASSEMBLY__ # include <linux/mm_types.h> #endif #ifdef CONFIG_MMU #include <asm/glue.h> #define TLB_V4_U_PAGE (1 << 1) #de...
arch/arm/include/asm/tlbflush.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASMARM_TLS_H #define __ASMARM_TLS_H #include <linux/compiler.h> #include <asm/thread_info.h> #ifdef __ASSEMBLY__ #include <asm/asm-offsets.h> .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2 .endm .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2 mrc p15, 0,...
arch/arm/include/asm/tls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_TOPOLOGY_H #define _ASM_ARM_TOPOLOGY_H #ifdef CONFIG_ARM_CPU_TOPOLOGY #include <linux/cpumask.h> #include <linux/arch_topology.h> /* big.LITTLE switcher is incompatible with frequency invariance */ #ifndef CONFIG_BL_SWITCHER /* Replace task scheduler's default ...
arch/arm/include/asm/topology.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMARM_TRAP_H #define _ASMARM_TRAP_H #include <linux/linkage.h> #include <linux/list.h> struct pt_regs; struct task_struct; struct undef_hook { struct list_head node; u32 instr_mask; u32 instr_val; u32 cpsr_mask; u32 cpsr_val; int (*fn)(struct pt_regs *regs, unsi...
arch/arm/include/asm/traps.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_UACCESS_ASM_H__ #define __ASM_UACCESS_ASM_H__ #include <asm/asm-offsets.h> #include <asm/domain.h> #include <asm/page.h> #include <asm/thread_info.h> .macro csdb #ifdef CONFIG_THUMB2_KERNEL .inst.w 0xf3af8014 #else .inst 0xe320f014 #endif .endm .macro c...
arch/arm/include/asm/uaccess-asm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/uaccess.h */ #ifndef _ASMARM_UACCESS_H #define _ASMARM_UACCESS_H /* * User space memory access functions */ #include <linux/kernel.h> #include <linux/string.h> #include <asm/page.h> #include <asm/domain.h> #include <linux/unaligned.h> #include ...
arch/arm/include/asm/uaccess.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMARM_UCONTEXT_H #define _ASMARM_UCONTEXT_H #include <asm/fpstate.h> #include <asm/user.h> /* * struct sigcontext only has room for the basic registers, but struct * ucontext now has room for all registers which need to be saved and * restored. Coprocessor register...
arch/arm/include/asm/ucontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * include/asm-arm/unified.h - Unified Assembler Syntax helper macros * * Copyright (C) 2008 ARM Limited */ #ifndef __ASM_UNIFIED_H #define __ASM_UNIFIED_H #if defined(__ASSEMBLY__) .syntax unified #else __asm__(".syntax unified"); #endif #ifdef CONFIG_CPU_V7M #defi...
arch/arm/include/asm/unified.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/unistd.h * * Copyright (C) 2001-2005 Russell King * * Please forward _all_ changes to this file to rmk@arm.linux.org.uk, * no matter what the change is. Thanks! */ #ifndef __ASM_ARM_UNISTD_H #define __ASM_ARM_UNISTD_H #include <uapi/asm/un...
arch/arm/include/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/unwind.h * * Copyright (C) 2008 ARM Limited */ #ifndef __ASM_UNWIND_H #define __ASM_UNWIND_H #ifndef __ASSEMBLY__ /* Unwind reason code according the the ARM EABI documents */ enum unwind_reason_code { URC_OK = 0, /* operation completed suc...
arch/arm/include/asm/unwind.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Rabin Vincent <rabin at rab.in> */ #ifndef _ASM_UPROBES_H #define _ASM_UPROBES_H #include <asm/probes.h> #include <asm/opcodes.h> typedef u32 uprobe_opcode_t; #define MAX_UINSN_BYTES 4 #define UPROBE_XOL_SLOT_BYTES 64 #define UPROBE_SWBP_ARM_IN...
arch/arm/include/asm/uprobes.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ARM_USER_H #define _ARM_USER_H #include <asm/page.h> #include <asm/ptrace.h> /* Core file format: The core file is written in such a way that gdb can understand it and provide useful information to the user (under linux we use the 'trad-core' bfd). There are quite...
arch/arm/include/asm/user.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Common defines for v7m cpus */ #define V7M_SCS_ICTR IOMEM(0xe000e004) #define V7M_SCS_ICTR_INTLINESNUM_MASK 0x0000000f #define BASEADDR_V7M_SCB IOMEM(0xe000ed00) #define V7M_SCB_CPUID 0x00 #define V7M_SCB_ICSR 0x04 #define V7M_SCB_ICSR_PENDSVSET (1 << 28) #defi...
arch/arm/include/asm/v7m.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_H #define __ASM_VDSO_H #ifdef __KERNEL__ #define __VDSO_PAGES 4 #ifndef __ASSEMBLY__ struct mm_struct; #ifdef CONFIG_VDSO void arm_install_vdso(struct mm_struct *mm, unsigned long addr); extern unsigned int vdso_total_pages; #else /* CONFIG_VDSO */ stat...
arch/arm/include/asm/vdso.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_VERMAGIC_H #define _ASM_VERMAGIC_H #include <linux/stringify.h> /* * Add the ARM architecture version to the version magic string */ #define MODULE_ARCH_VERMAGIC_ARMVSN "ARMv" __stringify(__LINUX_ARM_ARCH__) " " /* Add __virt_to_phys patching state as well */ #if...
arch/arm/include/asm/vermagic.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/vfp.h * * VFP register definitions. * First, the standard VFP set. */ #ifndef __ASM_VFP_H #define __ASM_VFP_H /* FPSID bits */ #define FPSID_IMPLEMENTER_BIT (24) #define FPSID_IMPLEMENTER_MASK (0xff << FPSID_IMPLEMENTER_BIT) #define FPSID_SOFTWARE ...
arch/arm/include/asm/vfp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/vfpmacros.h * * Assembler-only file containing VFP macros and register definitions. */ #include <asm/hwcap.h> #include <asm/vfp.h> .macro VFPFMRX, rd, sysreg, cond vmrs\cond \rd, \sysreg .endm .macro VFPFMXR, sysreg, rd, cond vmsr\cond \sysreg...
arch/arm/include/asm/vfpmacros.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASMARM_VGA_H #define ASMARM_VGA_H #include <linux/io.h> extern unsigned long vga_base; extern struct screen_info vgacon_screen_info; #define VGA_MAP_MEM(x,s) (vga_base + (x)) #define vga_readb(x) (*((volatile unsigned char *)x)) #define vga_writeb(x,y) (*((volatile uns...
arch/arm/include/asm/vga.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2012 Linaro Limited. */ #ifndef VIRT_H #define VIRT_H #include <asm/ptrace.h> /* * Flag indicating that the kernel was not entered in the same mode on every * CPU. The zImage loader stashes this value in an SPSR, so we need an * architecturally...
arch/arm/include/asm/virt.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm-generic/vmlinux.lds.h> #ifdef CONFIG_HOTPLUG_CPU #define ARM_CPU_DISCARD(x) #define ARM_CPU_KEEP(x) x #else #define ARM_CPU_DISCARD(x) x #define ARM_CPU_KEEP(x) #endif #if (defined(CONFIG_SMP_ON_UP) && !defined(CONFIG_DEBUG_SPINLOCK)) || \ defined(CONFIG_GENERIC_...
arch/arm/include/asm/vmlinux.lds.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_WORD_AT_A_TIME_H #define __ASM_ARM_WORD_AT_A_TIME_H #ifndef __ARMEB__ /* * Little-endian word-at-a-time zero byte handling. * Heavily based on the x86 algorithm. */ #include <linux/bitops.h> #include <linux/wordpart.h> struct word_at_a_time { const unsigne...
arch/arm/include/asm/word-at-a-time.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/xor.h * * Copyright (C) 2001 Russell King */ #include <linux/hardirq.h> #include <asm-generic/xor.h> #include <asm/hwcap.h> #include <asm/neon.h> #define __XOR(a1, a2) a1 ^= a2 #define GET_BLOCK_2(dst) \ __asm__("ldmia %0, {%1, %2}" \ : "=...
arch/arm/include/asm/xor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * AURORA shared L2 cache controller support * * Copyright (C) 2012 Marvell * * Yehuda Yitschak <yehuday@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> */ #ifndef __ASM_ARM_HARDWARE_AURORA_L2_H #define __ASM_ARM_HARDWARE_AURORA_L2_H #define AUR...
arch/arm/include/asm/hardware/cache-aurora-l2.h
null
null
null
null
null
source
linux
#ifndef __ASM_ARM_HARDWARE_CACHE_B15_RAC_H #define __ASM_ARM_HARDWARE_CACHE_B15_RAC_H #ifndef __ASSEMBLY__ void b15_flush_kern_cache_all(void); #endif #endif
arch/arm/include/asm/hardware/cache-b15-rac.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/cache-feroceon-l2.h * * Copyright (C) 2008 Marvell Semiconductor */ extern void __init feroceon_l2_init(int l2_wt_override); extern int __init feroceon_of_init(void);
arch/arm/include/asm/hardware/cache-feroceon-l2.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/cache-l2x0.h * * Copyright (C) 2007 ARM Limited */ #ifndef __ASM_ARM_HARDWARE_L2X0_H #define __ASM_ARM_HARDWARE_L2X0_H #include <linux/errno.h> #include <linux/init.h> #include <linux/types.h> #define L2X0_CACHE_ID 0x000 #define L2X...
arch/arm/include/asm/hardware/cache-l2x0.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/cache-tauros2.h * * Copyright (C) 2008 Marvell Semiconductor */ #define CACHE_TAUROS2_PREFETCH_ON (1 << 0) #define CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) extern void __init tauros2_init(unsigned int features);
arch/arm/include/asm/hardware/cache-tauros2.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2015-2016 Socionext Inc. * Author: Masahiro Yamada <yamada.masahiro@socionext.com> */ #ifndef __CACHE_UNIPHIER_H #define __CACHE_UNIPHIER_H #include <linux/errno.h> #ifdef CONFIG_CACHE_UNIPHIER int uniphier_cache_init(void); #else static inline ...
arch/arm/include/asm/hardware/cache-uniphier.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. */ #ifndef __ASM_HARDWARE_CP14_H #define __ASM_HARDWARE_CP14_H #include <linux/types.h> /* Accessors for CP14 registers */ #define dbg_read(reg) RCP14_##reg() #define dbg_write(val, reg) WCP14_##reg...
arch/arm/include/asm/hardware/cp14.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/dec21285.h * * Copyright (C) 1998 Russell King * * DC21285 registers */ #define DC21285_PCI_IACK 0x79000000 #define DC21285_ARMCSR_BASE 0x42000000 #define DC21285_PCI_TYPE_0_CONFIG 0x7b000000 #define DC21285_PCI_TYPE_1_CONFIG 0x7a...
arch/arm/include/asm/hardware/dec21285.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/ioc.h * * Copyright (C) Russell King * * Use these macros to read/write the IOC. All it does is perform the actual * read/write. */ #ifndef __ASMARM_HARDWARE_IOC_H #define __ASMARM_HARDWARE_IOC_H #ifndef __ASSEMBLY__ /* * We u...
arch/arm/include/asm/hardware/ioc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/iomd.h * * Copyright (C) 1999 Russell King * * This file contains information out the IOMD ASIC used in the * Acorn RiscPC and subsequently integrated into the CLPS7500 chips. */ #ifndef __ASMARM_HARDWARE_IOMD_H #define __ASMARM_H...
arch/arm/include/asm/hardware/iomd.h
null
null
null
null
null
source
linux
/* * arch/arm/include/asm/hardware/locomo.h * * This file contains the definitions for the LoCoMo G/A Chip * * (C) Copyright 2004 John Lenz * * May be copied or modified under the terms of the GNU General Public * License. See linux/COPYING for more information. * * Based on sa1111.h */ #ifndef _ASM_ARCH_LO...
arch/arm/include/asm/hardware/locomo.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/memc.h * * Copyright (C) Russell King. */ #define VDMA_ALIGNMENT PAGE_SIZE #define VDMA_XFERSIZE 16 #define VDMA_INIT 0 #define VDMA_START 1 #define VDMA_END 2 #ifndef __ASSEMBLY__ extern void memc_write(unsigned int reg, unsigned lon...
arch/arm/include/asm/hardware/memc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/include/asm/hardware/sa1111.h * * Copyright (C) 2000 John G Dorsey <john+@cs.cmu.edu> * * This file contains definitions for the SA-1111 Companion Chip. * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.) * * Macro that calculates real addr...
arch/arm/include/asm/hardware/sa1111.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Definitions for the SCOOP interface found on various Sharp PDAs * * Copyright (c) 2004 Richard Purdie */ #define SCOOP_MCR 0x00 #define SCOOP_CDR 0x04 #define SCOOP_CSR 0x08 #define SCOOP_CPR 0x0C #define SCOOP_CCR 0x10 #define SCOOP_IRR 0x14 #define SCOOP_I...
arch/arm/include/asm/hardware/scoop.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * ssp.h * * Copyright (C) 2003 Russell King, All Rights Reserved. */ #ifndef SSP_H #define SSP_H struct ssp_state { unsigned int cr0; unsigned int cr1; }; int ssp_write_word(u16 data); int ssp_read_word(u16 *data); int ssp_flush(void); void ssp_enable(void); void...
arch/arm/include/asm/hardware/ssp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/arch.h * * Copyright (C) 2000 Russell King */ #include <linux/types.h> #ifndef __ASSEMBLY__ #include <linux/reboot.h> struct tag; struct pt_regs; struct smp_operations; #ifdef CONFIG_SMP #define smp_ops(ops) (&(ops)) #define smp_init_op...
arch/arm/include/asm/mach/arch.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/dma.h * * Copyright (C) 1998-2000 Russell King * * This header file describes the interface between the generic DMA handler * (dma.c) and the architecture-specific DMA backends (dma-*.c) */ struct dma_struct; typedef struct dma_struc...
arch/arm/include/asm/mach/dma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/flash.h * * Copyright (C) 2003 Russell King, All Rights Reserved. */ #ifndef ASMARM_MACH_FLASH_H #define ASMARM_MACH_FLASH_H struct mtd_partition; struct mtd_info; /* * map_name: the map probe function name * name: flash device name (e...
arch/arm/include/asm/mach/flash.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/irq.h * * Copyright (C) 1995-2000 Russell King. */ #ifndef __ASM_ARM_MACH_IRQ_H #define __ASM_ARM_MACH_IRQ_H #include <linux/irq.h> struct seq_file; /* * This is internal. Do not use it. */ extern void init_FIQ(int); extern int show_...
arch/arm/include/asm/mach/irq.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/map.h * * Copyright (C) 1999-2000 Russell King * * Page table mapping constructs and function prototypes */ #ifndef __ASM_MACH_MAP_H #define __ASM_MACH_MAP_H #include <asm/io.h> struct map_desc { unsigned long virtual; unsigned long pfn;...
arch/arm/include/asm/mach/map.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/pci.h * * Copyright (C) 2000 Russell King */ #ifndef __ASM_MACH_PCI_H #define __ASM_MACH_PCI_H #include <linux/ioport.h> struct pci_sys_data; struct pci_ops; struct pci_bus; struct pci_host_bridge; struct device; struct hw_pci { struc...
arch/arm/include/asm/mach/pci.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Hardware parameter area specific to Sharp SL series devices * * Copyright (c) 2005 Richard Purdie * * Based on Sharp's 2.4 kernel patches */ struct sharpsl_param_info { unsigned int comadj_keyword; unsigned int comadj; unsigned int uuid_keyword; unsigned ...
arch/arm/include/asm/mach/sharpsl_param.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/mach/time.h * * Copyright (C) 2004 MontaVista Software, Inc. */ #ifndef __ASM_ARM_MACH_TIME_H #define __ASM_ARM_MACH_TIME_H typedef void (*clock_access_fn)(struct timespec64 *); extern int register_persistent_clock(clock_access_fn read_persisten...
arch/arm/include/asm/mach/time.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSOCLOCKSOURCE_H #define __ASM_VDSOCLOCKSOURCE_H #define VDSO_ARCH_CLOCKMODES \ VDSO_CLOCKMODE_ARCHTIMER #endif /* __ASM_VDSOCLOCKSOURCE_H */
arch/arm/include/asm/vdso/clocksource.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 ARM Ltd. */ #ifndef __ASM_VDSO_CP15_H #define __ASM_VDSO_CP15_H #ifndef __ASSEMBLY__ #ifdef CONFIG_CPU_CP15 #include <linux/stringify.h> #define __ACCESS_CP15(CRn, Op1, CRm, Op2) \ "mrc", "mcr", __stringify(p15, Op1, %0, CRn, CRm, Op2), u32 #def...
arch/arm/include/asm/vdso/cp15.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 ARM Limited */ #ifndef __ASM_VDSO_GETTIMEOFDAY_H #define __ASM_VDSO_GETTIMEOFDAY_H #ifndef __ASSEMBLY__ #include <asm/barrier.h> #include <asm/errno.h> #include <asm/unistd.h> #include <asm/vdso/cp15.h> #include <uapi/linux/time.h> #define VDSO_HAS_CLO...
arch/arm/include/asm/vdso/gettimeofday.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 ARM Ltd. */ #ifndef __ASM_VDSO_PROCESSOR_H #define __ASM_VDSO_PROCESSOR_H #ifndef __ASSEMBLY__ #if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327) #define cpu_relax() \ do { \ smp_mb(); \ __asm__ __volatile__("nop; ...
arch/arm/include/asm/vdso/processor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_VSYSCALL_H #define __ASM_VDSO_VSYSCALL_H #ifndef __ASSEMBLY__ #include <vdso/datapage.h> #include <asm/cacheflush.h> static __always_inline void __arch_sync_vdso_time_data(struct vdso_time_data *vdata) { flush_dcache_page(virt_to_page(vdata)); } #define __ar...
arch/arm/include/asm/vdso/vsyscall.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM_XEN_EVENTS_H #define _ASM_ARM_XEN_EVENTS_H #include <asm/ptrace.h> #include <asm/atomic.h> enum ipi_vector { XEN_PLACEHOLDER_VECTOR, /* Xen IPIs go here */ XEN_NR_IPIS, }; static inline int xen_irqs_disabled(struct pt_regs *regs) { return raw_irqs_disabled...
arch/arm/include/asm/xen/events.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/8250.S * * Copyright (C) 1994-2013 Russell King */ #include <linux/serial_reg.h> .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS ldr \rv, =CONFIG_DEBUG_UART_VIRT .endm #ifdef CONFIG_DEBUG_UART_8250_WORD .macro store, ...
arch/arm/include/debug/8250.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks * Modified for ASM9260 by Oleksij Remepl <linux@rempel-privat.de> */ .macro addruart, rp, rv, tmp ldr \rp, = CONFIG_DEBUG_UART_PHYS ...
arch/arm/include/debug/asm9260.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2003-2005 SAN People * * Debugging macro include header */ #define AT91_DBGU_SR (0x14) /* Status Register */ #define AT91_DBGU_THR (0x1c) /* Transmitter Holding Register */ #define AT91_DBGU_TXRDY (1 << 1) /* Transmitter Ready */ #define AT91_DBGU_T...
arch/arm/include/debug/at91.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Broadcom BCM63xx low-level UART debug * * Copyright (C) 2014 Broadcom Corporation */ #include <linux/serial_bcm63xx.h> .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS ldr \rv, =CONFIG_DEBUG_UART_VIRT .endm .macro senduart, rd, rx /* word access...
arch/arm/include/debug/bcm63xx.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (C) 2016 Broadcom */ #include <linux/serial_reg.h> #include <asm/cputype.h> /* Physical register offset and virtual register offset */ #define REG_PHYS_BASE 0xf0000000 #define REG_PHYS_BASE_V7 0x08000000 #define REG_VIRT_BASE 0xfc000000 #define REG_PHYS_ADDR(x...
arch/arm/include/debug/brcmstb.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> */ #ifndef CONFIG_DEBUG_CLPS711X_UART2 #define CLPS711X_UART_PADDR (0x80000000 + 0x0000) #define CLPS711X_UART_VADDR (0xfeff4000 + 0x0000) #else #define CLPS711X_UART_PADDR (0x80000000 + 0x1000) #define CLPS71...
arch/arm/include/debug/clps711x.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-footbridge/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <asm/hardware/dec21285.h> #include <mach/hardware.h> /* For EBSA285...
arch/arm/include/debug/dc21285.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header for Conexant Digicolor USART * * Copyright (C) 2014 Paradox Innovation Ltd. */ #define UA0_STATUS 0x0742 #define UA0_EMI_REC 0x0744 #define UA0_STATUS_TX_READY 0x40 #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv, tmp ldr \r...
arch/arm/include/debug/digicolor.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com */ /* pull in the relevant register and map files. */ #define S3C_ADDR_BASE 0xF6000000 #define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 #define EXYNOS4_PA_UART 0x13800000 #define EXYNOS5_PA_U...
arch/arm/include/debug/exynos.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/icedcc.S * * Copyright (C) 1994-1999 Russell King */ @@ debug using ARM EmbeddedICE DCC channel .macro addruart, rp, rv, tmp .endm #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) || defined(CONFIG_CPU_V7) .macro senduart, rd...
arch/arm/include/debug/icedcc.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012-2015 Freescale Semiconductor, Inc. */ #ifndef __DEBUG_IMX_UART_H #define __DEBUG_IMX_UART_H #define IMX1_UART1_BASE_ADDR 0x00206000 #define IMX1_UART2_BASE_ADDR 0x00207000 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR #define IMX1_UART_BA...
arch/arm/include/debug/imx-uart.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-imx/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <asm/assembler.h> #include "imx-uart.h" /* * FIXME: This is a copy of IMX...
arch/arm/include/debug/imx.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014 Carlo Caione * Carlo Caione <carlo@caione.org> */ #define MESON_AO_UART_WFIFO 0x0 #define MESON_AO_UART_STATUS 0xc #define MESON_AO_UART_TX_FIFO_EMPTY (1 << 22) #define MESON_AO_UART_TX_FIFO_FULL (1 << 21) .macro addruart, rp, rv, tmp ldr \rp...
arch/arm/include/debug/meson.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2011, Code Aurora Forum. All rights reserved. * Author: Brian Swetland <swetland@google.com> */ .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS ldr \rv, =CONFIG_DEBUG_UART_VIRT .endm .macro sendu...
arch/arm/include/debug/msm.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <linux/serial_reg.h> /* External port on Zoom2/3 */ #define ZOOM_UART_BASE 0x10000000 #define ZOOM_UART_VIRT 0xfa400000 ...
arch/arm/include/debug/omap2plus.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/serial_reg.h> #undef UART_TX #undef UART_LSR #undef UART_MSR #define UART_TX 1 #define UART_LSR 7 #define UART_MSR 8 #include <debug/8250.S>
arch/arm/include/debug/palmchip.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/include/debug/pl01x.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <linux/amba/serial.h> #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv, tmp ldr \...
arch/arm/include/debug/pl01x.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Renesas SCIF(A) debugging macro include header * * Based on r8a7790.S * * Copyright (C) 2012-2013 Renesas Electronics Corporation * Copyright (C) 1994-1999 Russell King */ #define SCIF_PHYS CONFIG_DEBUG_UART_PHYS #define SCIF_VIRT ((SCIF_PHYS & 0x00ffffff) | 0xfd00000...
arch/arm/include/debug/renesas-scif.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-s3c2410/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Copyright (C) 2005 Simtec Electronics * * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #include <linux/serial_s3c.h> #defi...
arch/arm/include/debug/s3c24xx.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com */ /* pull in the relevant register and map files. */ #define S3C_ADDR_BASE 0xF6000000 #define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 #define S5PV210_PA_UART 0xe2900000 /* note, for t...
arch/arm/include/debug/s5pv210.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/include/debug/sa1100.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #define UTCR3 0x0c #define UTDR 0x14 #define UTSR1 0x20 #define UTCR3_TXE 0x00000002 /* Transmi...
arch/arm/include/debug/sa1100.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2005, 2007 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> */ #include <linux/serial_s3c.h> /* The S5PV210/S5PC110 implementations are as belows. */ .macro fifo_level_s5pv210 rd, rx ldr \rd, [\rx, # S3C2410_UFSTAT] ARM_BE8...
arch/arm/include/debug/samsung.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/debug/sti.S * * Debugging macro include header * Copyright (C) 2013 STMicroelectronics (R&D) Limited. */ #define ASC_TX_BUF_OFF 0x04 #define ASC_CTRL_OFF 0x0c #define ASC_STA_OFF 0x14 #define ASC_STA_TX_FULL (1<<9) #define ASC_STA_...
arch/arm/include/debug/sti.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) STMicroelectronics SA 2017 - All Rights Reserved * Author: Gerald Baeza <gerald.baeza@st.com> for STMicroelectronics. */ #ifdef CONFIG_STM32F4_DEBUG_UART #define STM32_USART_SR_OFF 0x00 #define STM32_USART_TDR_OFF 0x04 #endif #if defined(CONFIG_STM32F7_...
arch/arm/include/debug/stm32.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2010,2011 Google, Inc. * Copyright (C) 2011-2012 NVIDIA CORPORATION. All Rights Reserved. * * Author: * Colin Cross <ccross@google.com> * Erik Gilling <konkers@google.com> * Doug Anderson <dianders@chromium.org> * Stephen Warren <swarren@nvidia.com>...
arch/arm/include/debug/tegra.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_DEBUG_UNCOMPRESS extern void putc(int c); #else static inline void putc(int c) {} #endif static inline void flush(void) {} static inline void arch_decomp_setup(void) {}
arch/arm/include/debug/uncompress.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 2009 ST-Ericsson */ #if CONFIG_UX500_DEBUG_UART > 2 #error Invalid Ux500 debug UART #endif /* * DEBUG_LL only works if only one SOC is built in. We don't use #else below * in order to get "__UX500_UART redefined...
arch/arm/include/debug/ux500.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* arch/arm/mach-realview/include/mach/debug-macro.S * * Debugging macro include header * * Copyright (C) 1994-1999 Russell King * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks */ #define DEBUG_LL_PHYS_BASE 0x10000000 #define DEBUG_LL_UART_OFFSET 0x00009000...
arch/arm/include/debug/vexpress.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #define VF_UART0_BASE_ADDR 0x40027000 #define VF_UART1_BASE_ADDR 0x40028000 #define VF_UART2_BASE_ADDR 0x40029000 #define VF_UART3_BASE_ADDR 0x4002a000 #define VF_UART_BASE_ADDR(n) VF_UART##n##_BASE_ADDR #define VF_UART_...
arch/arm/include/debug/vf.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> * Moved from arch/arm/mach-vt8500/include/mach/debug-macro.S * Minor changes for readability. */ #define DEBUG_LL_PHYS_BASE 0xD8000000 #define DEBUG_LL_VIRT_BASE 0xF...
arch/arm/include/debug/vt8500.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Debugging macro include header * * Copyright (C) 2011 Xilinx */ #define UART_CR_OFFSET 0x00 /* Control Register [8:0] */ #define UART_SR_OFFSET 0x2C /* Channel Status [11:0] */ #define UART_FIFO_OFFSET 0x30 /* FIFO [15:0] or [7:0] */ #define UART_SR_TXFULL 0x...
arch/arm/include/debug/zynq.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_AUXVEC_H #define __ASM_AUXVEC_H /* VDSO location */ #define AT_SYSINFO_EHDR 33 #endif
arch/arm/include/uapi/asm/auxvec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * arch/arm/include/asm/byteorder.h * * ARM Endian-ness. In little endian mode, the data bus is connected such * that byte accesses appear as: * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31 * and word accesses (data or instruction) app...
arch/arm/include/uapi/asm/byteorder.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ARM_FCNTL_H #define _ARM_FCNTL_H #define O_DIRECTORY 040000 /* must be a directory */ #define O_NOFOLLOW 0100000 /* don't follow links */ #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ #define O_LARGEFILE 0400000 #inc...
arch/arm/include/uapi/asm/fcntl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__ASMARM_HWCAP_H #define _UAPI__ASMARM_HWCAP_H /* * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP */ #define HWCAP_SWP (1 << 0) #define HWCAP_HALF (1 << 1) #define HWCAP_THUMB (1 << 2) #define HWCAP_26BIT (1 << 3) /* Play it safe */ #...
arch/arm/include/uapi/asm/hwcap.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_ARM_IOCTLS_H #define __ASM_ARM_IOCTLS_H #define FIOQSIZE 0x545E #include <asm-generic/ioctls.h> #endif
arch/arm/include/uapi/asm/ioctls.h
null
null
null
null
null
source
linux
#include <asm-generic/mman.h> #define arch_mmap_check(addr, len, flags) \ (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
arch/arm/include/uapi/asm/mman.h
null
null
null
null
null