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 */ #include <asm/assembler.h> #include <asm/unwind.h> #if __LINUX_ARM_ARCH__ >= 6 .macro bitop, name, instr ENTRY( \name ) UNWIND( .fnstart ) ands ip, r1, #3 strbne r1, [ip] @ assert word-aligned mov r2, #1 and r3, r0, #31 @ Get bit offset mov r0, r0, lsr #5 add r1, r1, r0...
arch/arm/lib/bitops.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/assembler.h> #if __LINUX_ARM_ARCH__ >= 6 ENTRY(__bswapsi2) rev r0, r0 bx lr ENDPROC(__bswapsi2) ENTRY(__bswapdi2) rev r3, r0 rev r0, r1 mov r1, r3 bx lr ENDPROC(__bswapdi2) #else ENTRY(__bswapsi2) eor r3, r0, r0, ror #16 mov r3, r...
arch/arm/lib/bswapsdi2.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/lib/call_with_stack.S * * Copyright (C) 2011 ARM Ltd. * Written by Will Deacon <will.deacon@arm.com> */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> /* * void call_with_stack(void (*fn)(void *), void *arg, void *sp) * *...
arch/arm/lib/call_with_stack.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/changebit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text bitop _change_bit, eor
arch/arm/lib/changebit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/clear_user.S * * Copyright (C) 1995, 1996,1997,1998 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> .text /* Prototype: unsigned long arm_clear_user(void *addr, size_t sz) * Purpose : clear some...
arch/arm/lib/clear_user.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/clearbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text bitop _clear_bit, bic
arch/arm/lib/clearbit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copy_from_user.S * * Author: Nicolas Pitre * Created: Sep 29, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> /* * Prototype: * * size_t arm_copy_from_user(void...
arch/arm/lib/copy_from_user.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copypage.S * * Copyright (C) 1995-1999 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/cache.h> #define COPY_COUNT (PAGE_SZ / (2 * L1_CACHE_BY...
arch/arm/lib/copy_page.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copy_template.s * * Code template for optimized memory copy functions * * Author: Nicolas Pitre * Created: Sep 28, 2005 * Copyright: MontaVista Software, Inc. */ /* * Theory of operation * ------------------- * * This file provides th...
arch/arm/lib/copy_template.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copy_to_user.S * * Author: Nicolas Pitre * Created: Sep 29, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> /* * Prototype: * * size_t arm_copy_to_user(void *to...
arch/arm/lib/copy_to_user.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumipv6.S * * Copyright (C) 1995-1998 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .text ENTRY(__csum_ipv6_magic) str lr, [sp, #-4]! adds ip, r2, r3 ldmia r1, {r1 - r3, lr} adcs ip, ip, r1 adcs ip, ip, r2 ...
arch/arm/lib/csumipv6.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumpartial.S * * Copyright (C) 1995-1998 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .text /* * Function: __u32 csum_partial(const char *src, int len, __u32 sum) * Params : r0 = buffer, r1 = len, r2 = checksum *...
arch/arm/lib/csumpartial.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumpartialcopy.S * * Copyright (C) 1995-1998 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .text /* Function: __u32 csum_partial_copy_nocheck(const char *src, char *dst, int len) * Params : r0 = src, r1 = dst, r2 = ...
arch/arm/lib/csumpartialcopy.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumpartialcopygeneric.S * * Copyright (C) 1995-2001 Russell King */ #include <asm/assembler.h> /* * unsigned int * csum_partial_copy_xxx(const char *src, char *dst, int len, int sum, ) * r0 = src, r1 = dst, r2 = len, r3 = sum * Returns : ...
arch/arm/lib/csumpartialcopygeneric.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumpartialcopyuser.S * * Copyright (C) 1995-1998 Russell King * * 27/03/03 Ian Molton Clean up CONFIG_CPU */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/errno.h> #include <asm/asm-offsets.h> .text #if defined(CONFIG...
arch/arm/lib/csumpartialcopyuser.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/delay.S * * Copyright (C) 1995, 1996 Russell King */ #include <linux/linkage.h> #include <linux/cfi_types.h> #include <asm/assembler.h> #include <asm/delay.h> #ifdef CONFIG_ARCH_RPC .arch armv4 #endif .text .LC0: .word loops_per_jiffy .LC...
arch/arm/lib/delay-loop.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Delay loops based on the OpenRISC implementation. * * Copyright (C) 2012 ARM Limited * * Author: Will Deacon <will.deacon@arm.com> */ #include <linux/clocksource.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #...
arch/arm/lib/delay.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/div64.S * * Optimized computation of 64-bit dividend / 32-bit divisor * * Author: Nicolas Pitre * Created: Oct 5, 2003 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h...
arch/arm/lib/div64.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/error-injection.h> #include <linux/kprobes.h> void override_function_with_return(struct pt_regs *regs) { instruction_pointer_set(regs, regs->ARM_lr); } NOKPROBE_SYMBOL(override_function_with_return);
arch/arm/lib/error-inject.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/findbit.S * * Copyright (C) 1995-2000 Russell King * * 16th March 2001 - John Ripley <jripley@sonicblue.com> * Fixed so that "size" is an exclusive not an inclusive quantity. * All users of these functions expect exclusive sizes, and may ...
arch/arm/lib/findbit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/getuser.S * * Copyright (C) 2001 Russell King * * Idea from x86 version, (C) Copyright 1998 Linus Torvalds * * These functions have a non-standard call interface to make them more * efficient, especially as they return an error value in addi...
arch/arm/lib/getuser.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-readsb.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .Linsb_align: rsb ip, ip, #4 cmp ip, r2 movgt ip, r2 cmp ip, #2 ldrb r3, [r0] strb r3, [r1], #1 ldrbge r3, [r0] strbge r3...
arch/arm/lib/io-readsb.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-readsl.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> ENTRY(__raw_readsl) teq r2, #0 @ do we have to check for the zero len? reteq lr ands ip, r1, #3 bne 3f subs r2, r2, #4 bm...
arch/arm/lib/io-readsl.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-readsw-armv3.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .Linsw_bad_alignment: adr r0, .Linsw_bad_align_msg mov r2, lr b panic .Linsw_bad_align_msg: .asciz "insw: bad buffer alig...
arch/arm/lib/io-readsw-armv3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-readsw-armv4.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro pack, rd, hw1, hw2 #ifndef __ARMEB__ orr \rd, \hw1, \hw2, lsl #16 #else orr \rd, \hw2, \hw1, lsl #16 #endif .endm ...
arch/arm/lib/io-readsw-armv4.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesb.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro outword, rd #ifndef __ARMEB__ strb \rd, [r0] mov \rd, \rd, lsr #8 strb \rd, [r0] mov \rd, \rd, lsr #8 strb \rd, [r0...
arch/arm/lib/io-writesb.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesl.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> ENTRY(__raw_writesl) teq r2, #0 @ do we have to check for the zero len? reteq lr ands ip, r1, #3 bne 3f subs r2, r2, #4 ...
arch/arm/lib/io-writesl.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesw-armv3.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .Loutsw_bad_alignment: adr r0, .Loutsw_bad_align_msg mov r2, lr b panic .Loutsw_bad_align_msg: .asciz "outsw: bad buffer...
arch/arm/lib/io-writesw-armv3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesw-armv4.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro outword, rd #ifndef __ARMEB__ strh \rd, [r0] mov \rd, \rd, lsr #16 strh \rd, [r0] #else mov lr, \rd, lsr #16 ...
arch/arm/lib/io-writesw-armv4.S
null
null
null
null
null
source
linux
/* * linux/arch/arm/lib/lib1funcs.S: Optimized ARM division routines * * Author: Nicolas Pitre <nico@fluxnic.net> * - contributed to gcc-3.4 on Sep 30, 2003 * - adapted for the Linux kernel on Oct 2, 2003 */ /* Copyright 1995, 1996, 1998, 1999, 2000, 2003 Free Software Foundation, Inc. This file is free sof...
arch/arm/lib/lib1funcs.S
null
null
null
null
null
source
linux
/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In...
arch/arm/lib/lshrdi3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memchr.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 ENTRY(memchr) 1: subs r2, r2, #1 bmi 2f ldrb r3, [r0], #1 teq r3, r1 bne 1b su...
arch/arm/lib/memchr.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memcpy.S * * Author: Nicolas Pitre * Created: Sep 28, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> #define LDR1W_SHIFT 0 #define STR1W_SHIFT 0 .macro ldr1w pt...
arch/arm/lib/memcpy.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memmove.S * * Author: Nicolas Pitre * Created: Sep 28, 2005 * Copyright: (C) MontaVista Software Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> .text /* * Prototype: void *memmove(void *dest, const...
arch/arm/lib/memmove.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memset.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> .text .align 5 ENTRY(__memset) ENTRY(mmioset) WEAK(memset) UNWIND( .fnsta...
arch/arm/lib/memset.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/muldi3.S * * Author: Nicolas Pitre * Created: Oct 19, 2005 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #ifdef __ARMEB__ #define xh r0 #define xl r1 #define yh r2 #define yl r3 #el...
arch/arm/lib/muldi3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/putuser.S * * Copyright (C) 2001 Russell King * * Idea from x86 version, (C) Copyright 1998 Linus Torvalds * * These functions have a non-standard call interface to make * them more efficient, especially as they return an error * value in a...
arch/arm/lib/putuser.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/setbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text bitop _set_bit, orr
arch/arm/lib/setbit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/strchr.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 ENTRY(strchr) and r1, r1, #0xff 1: ldrb r2, [r0], #1 teq r2, r1 teqne r2, ...
arch/arm/lib/strchr.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/strrchr.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 ENTRY(strrchr) mov r3, #0 1: ldrb r2, [r0], #1 teq r2, r1 subeq r3, r0, #...
arch/arm/lib/strrchr.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/testchangebit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text testop _test_and_change_bit, eor, str #if __LINUX_ARM_ARCH__ >= 6 sync_testop _sync_test...
arch/arm/lib/testchangebit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/testclearbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text testop _test_and_clear_bit, bicne, strne #if __LINUX_ARM_ARCH__ >= 6 sync_testop _sync_te...
arch/arm/lib/testclearbit.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/testsetbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text testop _test_and_set_bit, orreq, streq #if __LINUX_ARM_ARCH__ >= 6 sync_testop _sync_test_a...
arch/arm/lib/testsetbit.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/lib/uaccess_with_memcpy.c * * Written by: Lennert Buytenhek and Nicolas Pitre * Copyright (C) 2009 Marvell Semiconductor */ #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/uaccess.h> #include <linux/rwsem.h> #include <linux/mm.h> #...
arch/arm/lib/uaccess_with_memcpy.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/ucmpdi2.S * * Author: Nicolas Pitre * Created: Oct 19, 2005 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #ifdef __ARMEB__ #define xh r0 #define xl r1 #define yh r2 #define yl r3 #else #def...
arch/arm/lib/ucmpdi2.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/lib/xor-neon.c * * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <linux/raid/xor.h> #include <linux/module.h> MODULE_DESCRIPTION("NEON accelerated XOR implementation"); MODULE_LICENSE("GPL"); #ifndef __ARM_NEON__ #error You shou...
arch/arm/lib/xor-neon.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Actions Semi Leopard * * This file is based on arm realview smp platform. * * Copyright 2012 Actions Semi Inc. * Author: Actions Semi, Inc. * * Copyright (c) 2017 Andreas Färber */ #include <linux/delay.h> #include <linux/io.h> #include <linux/of.h> #include <...
arch/arm/mach-actions/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Low-level power-management support for Alpine platform. * * Copyright (C) 2015 Annapurna Labs Ltd. */ #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/regmap.h> #include <linux/mfd/syscon.h> #include "alpine_cpu_pm.h" #incl...
arch/arm/mach-alpine/alpine_cpu_pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Low-level power-management support for Alpine platform. * * Copyright (C) 2015 Annapurna Labs Ltd. */ #ifndef __ALPINE_CPU_PM_H__ #define __ALPINE_CPU_PM_H__ /* Alpine CPU Power Management Services Initialization */ void alpine_cpu_pm_init(void); /* Wake-up a ...
arch/arm/mach-alpine/alpine_cpu_pm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Annapurna labs cpu-resume register structure. * * Copyright (C) 2015 Annapurna Labs Ltd. */ #ifndef ALPINE_CPU_RESUME_H_ #define ALPINE_CPU_RESUME_H_ /* Per-cpu regs */ struct al_cpu_resume_regs_per_cpu { uint32_t flags; uint32_t resume_addr; }; /* general r...
arch/arm/mach-alpine/alpine_cpu_resume.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Machine declaration for Alpine platforms. * * Copyright (C) 2015 Annapurna Labs Ltd. */ #include <asm/mach/arch.h> static const char * const al_match[] __initconst = { "al,alpine", NULL, }; DT_MACHINE_START(AL_DT, "Annapurna Labs Alpine") .dt_compat = al_match...
arch/arm/mach-alpine/alpine_machine.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SMP operations for Alpine platform. * * Copyright (C) 2015 Annapurna Labs Ltd. */ #include <linux/init.h> #include <linux/errno.h> #include <linux/io.h> #include <linux/of.h> #include <asm/smp_plat.h> #include "alpine_cpu_pm.h" static int alpine_boot_secondary(u...
arch/arm/mach-alpine/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * ARTPEC-6 device support. */ #include <linux/amba/bus.h> #include <linux/clocksource.h> #include <linux/dma-mapping.h> #include <linux/io.h> #include <linux/irqchip.h> #include <linux/irqchip/arm-gic.h> #include <linux/mfd/syscon.h> #include <linux/of.h> #include <linux/o...
arch/arm/mach-artpec/board-artpec6.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later // Copyright (C) ASPEED Technology Inc. // Copyright IBM Corp. #include <linux/of_address.h> #include <linux/io.h> #include <linux/of.h> #include <linux/smp.h> #define BOOT_ADDR 0x00 #define BOOT_SIG 0x04 static struct device_node *secboot_node; static int aspeed_g6_boot...
arch/arm/mach-aspeed/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Setup code for AT91RM9200 * * Copyright (C) 2011 Atmel, * 2011 Nicolas Ferre <nicolas.ferre@atmel.com> * 2012 Joachim Eastwood <manabian@gmail.com> */ #include <asm/mach/arch.h> #include "generic.h" static const char *const at91r...
arch/arm/mach-at91/at91rm9200.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Setup code for AT91SAM9 * * Copyright (C) 2011 Atmel, * 2011 Nicolas Ferre <nicolas.ferre@atmel.com> */ #include <asm/mach/arch.h> #include <asm/system_misc.h> #include "generic.h" static const char *const at91_dt_board_compat[] __initconst = { ...
arch/arm/mach-at91/at91sam9.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mach-at91/generic.h * * Copyright (C) 2005 David Brownell */ #ifndef _AT91_GENERIC_H #define _AT91_GENERIC_H #ifdef CONFIG_PM extern void __init at91rm9200_pm_init(void); extern void __init at91sam9_pm_init(void); extern void __init sam9x60_pm_init(...
arch/arm/mach-at91/generic.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/arm/mach-at91/pm.c * AT91 Power Management * * Copyright (C) 2005 David Brownell */ #include <linux/genalloc.h> #include <linux/io.h> #include <linux/of_address.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> #include <linux/...
arch/arm/mach-at91/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * AT91 Power Management * * Copyright (C) 2005 David Brownell */ #ifndef __ARCH_ARM_MACH_AT91_PM #define __ARCH_ARM_MACH_AT91_PM #include <asm/proc-fns.h> #include <linux/mfd/syscon/atmel-mc.h> #include <soc/at91/at91sam9_ddrsdr.h> #include <soc/at91/at91sam9_sdr...
arch/arm/mach-at91/pm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/stddef.h> #include <linux/kbuild.h> #include "pm.h" int main(void) { DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); DEFINE(P...
arch/arm/mach-at91/pm_data-offsets.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-at91/pm_slow_clock.S * * Copyright (C) 2006 Savin Zlobec * * AT91SAM9 support: * Copyright (C) 2007 Anti Sullin <anti.sullin@artecdesign.ee> */ #include <linux/linkage.h> #include <linux/clk/at91_pmc.h> #include "pm.h" #include "pm_data-offsets.h" ...
arch/arm/mach-at91/pm_suspend.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Setup code for SAM9X60. * * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries * * Author: Claudiu Beznea <claudiu.beznea@microchip.com> */ #include <asm/mach/arch.h> #include <asm/system_misc.h> #include "generic.h" static const char *const sam9x60_dt_b...
arch/arm/mach-at91/sam9x60.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Setup code for SAM9X7. * * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries * * Author: Varshini Rajendran <varshini.rajendran@microchip.com> */ #include <asm/mach/arch.h> #include "generic.h" static const char * const sam9x7_dt_board_compat[] __initco...
arch/arm/mach-at91/sam9x7.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2022, Microchip */ #include <linux/arm-smccc.h> #include <linux/of.h> #include "sam_secure.h" static bool optee_available; #define SAM_SIP_SMC_STD_CALL_VAL(func_num) \ ARM_SMCCC_CALL_VAL(ARM_SMCCC_STD_CALL, ARM_SMCCC_SMC_32, \ ARM_SMCCC_OWNER_SIP, ...
arch/arm/mach-at91/sam_secure.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2022, Microchip */ #ifndef SAM_SECURE_H #define SAM_SECURE_H #include <linux/arm-smccc.h> /* Secure Monitor mode APIs */ #define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400 #define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401 void __init sam_secure_init(void); struc...
arch/arm/mach-at91/sam_secure.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Setup code for SAMA5 * * Copyright (C) 2013 Atmel, * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> */ #include <asm/hardware/cache-l2x0.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/outercache.h> #include <asm/system...
arch/arm/mach-at91/sama5.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Setup code for SAMA7 * * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries * */ #include <asm/mach/arch.h> #include <asm/system_misc.h> #include "generic.h" static const char *const sama7_dt_board_compat[] __initconst = { "microchip,sama7", NU...
arch/arm/mach-at91/sama7.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Setup code for SAMv7x * * Copyright (C) 2013 Atmel, * 2016 Andras Szemzo <szemzo.andras@gmail.com> */ #include <asm/mach/arch.h> static const char *const samv7_dt_board_compat[] __initconst = { "atmel,samv7", NULL }; DT_MACHINE_START(samv7_dt, ...
arch/arm/mach-at91/samv7.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Support for the LSI Axxia SoC devices based on ARM cores. * * Copyright (C) 2012 LSI */ #include <linux/init.h> #include <asm/mach/arch.h> static const char *const axxia_dt_match[] __initconst = { "lsi,axm5516", "lsi,axm5516-sim", "lsi,axm5516-emu", NULL }; DT...
arch/arm/mach-axxia/axxia.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-axxia/platsmp.c * * Copyright (C) 2012 LSI Corporation */ #include <linux/init.h> #include <linux/io.h> #include <linux/smp.h> #include <linux/of.h> #include <linux/of_address.h> #include <asm/cacheflush.h> /* Syscon register offsets for releasing ...
arch/arm/mach-axxia/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2019 Stefan Wahren */ #include <linux/of_address.h> #include <asm/mach/arch.h> #include "platsmp.h" static const char * const bcm2711_compat[] = { #ifdef CONFIG_ARCH_MULTI_V7 "brcm,bcm2711", #endif NULL }; DT_MACHINE_START(BCM2711, "BCM2711") #ifdef CONFI...
arch/arm/mach-bcm/bcm2711.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Broadcom BCM63138 PMB initialization for secondary CPU(s) * * Copyright (C) 2015 Broadcom Corporation * Author: Florian Fainelli <f.fainelli@gmail.com> */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/spinlock.h> #include <linux/reset/bcm63xx_pmb....
arch/arm/mach-bcm/bcm63xx_pmb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Broadcom BCM63138 DSL SoCs SMP support code * * Copyright (C) 2015, Broadcom Corporation */ #include <linux/delay.h> #include <linux/init.h> #include <linux/smp.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <asm/cacheflush.h> #i...
arch/arm/mach-bcm/bcm63xx_smp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __BCM63XX_SMP_H #define __BCM63XX_SMP_H struct device_node; extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn); #endif /* __BCM63XX_SMP_H */
arch/arm/mach-bcm/bcm63xx_smp.h
null
null
null
null
null
source
linux
/* * Broadcom BCM470X / BCM5301X ARM platform code. * * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> * * Licensed under the GNU/GPL. See COPYING for details. */ #include <asm/mach/arch.h> #include <asm/siginfo.h> #include <asm/signal.h> #define FSR_EXTERNAL (1 << 12) #define FSR_READ (0 << 10) #define FSR...
arch/arm/mach-bcm/bcm_5301x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2014 Broadcom Corporation #include <asm/mach/arch.h> static const char * const bcm_cygnus_dt_compat[] __initconst = { "brcm,cygnus", NULL, }; DT_MACHINE_START(BCM_CYGNUS_DT, "Broadcom Cygnus SoC") .l2c_aux_val = 0, .l2c_aux_mask = ~0, .dt_compat = bcm_cy...
arch/arm/mach-bcm/bcm_cygnus.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2017 Broadcom #include <asm/mach/arch.h> static const char * const bcm_hr2_dt_compat[] __initconst = { "brcm,hr2", NULL, }; DT_MACHINE_START(BCM_HR2_DT, "Broadcom Hurricane 2 SoC") .l2c_aux_val = 0, .l2c_aux_mask = ~0, .dt_compat = bcm_hr2_dt_compat, MAC...
arch/arm/mach-bcm/bcm_hr2.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2013 Broadcom Corporation #include <linux/smp.h> #include <linux/io.h> #include <linux/ioport.h> #include <asm/cacheflush.h> #include <linux/of_address.h> #include "bcm_kona_smc.h" static u32 bcm_smc_buffer_phys; /* physical address */ static void __iomem *b...
arch/arm/mach-bcm/bcm_kona_smc.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (C) 2013 Broadcom Corporation */ #ifndef BCM_KONA_SMC_H #define BCM_KONA_SMC_H #include <linux/types.h> /* Broadcom Secure Service API service IDs, return codes, and exit codes */ #define SSAPI_ENABLE_L2_CACHE 0x01000002 #define SEC_ROM_RET_OK 0x00000001 #d...
arch/arm/mach-bcm/bcm_kona_smc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2015 Broadcom Corporation #include <asm/mach/arch.h> static const char *const bcm_nsp_dt_compat[] __initconst = { "brcm,nsp", NULL, }; DT_MACHINE_START(NSP_DT, "Broadcom Northstar Plus SoC") .l2c_aux_val = 0, .l2c_aux_mask = ~0, .dt_compat = bcm_nsp_dt_c...
arch/arm/mach-bcm/bcm_nsp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2014 Broadcom Corporation #include <asm/mach/arch.h> #include "kona_l2_cache.h" static void __init bcm21664_init(void) { kona_l2_cache_init(); } static const char * const bcm21664_dt_compat[] = { "brcm,bcm21664", NULL, }; DT_MACHINE_START(BCM21664_DT, "B...
arch/arm/mach-bcm/board_bcm21664.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2016 Broadcom #include <asm/mach/arch.h> static const char * const bcm23550_dt_compat[] = { "brcm,bcm23550", NULL, }; DT_MACHINE_START(BCM23550_DT, "BCM23550 Broadcom Application Processor") .dt_compat = bcm23550_dt_compat, MACHINE_END
arch/arm/mach-bcm/board_bcm23550.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2012-2014 Broadcom Corporation #include <linux/clocksource.h> #include <linux/of_address.h> #include <asm/mach/arch.h> #include "kona_l2_cache.h" #define SECWDOG_OFFSET 0x00000000 #define SECWDOG_RESERVED_MASK 0xe2000000 #define SECWDOG_WD_LOAD_FLAG_MASK ...
arch/arm/mach-bcm/board_bcm281xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2010 Broadcom */ #include <linux/init.h> #include <linux/irqchip.h> #include <linux/of_address.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include "platsmp.h" static const char * const bcm2835_compat[] = { #ifdef CONFIG_ARCH_MULTI_V6 "brcm,bcm2...
arch/arm/mach-bcm/board_bcm2835.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2024 Linus Walleij <linus.walleij@linaro.org> #include <asm/mach/arch.h> #include <asm/mach/map.h> /* This is needed for LL-debug/earlyprintk/debug-macro.S */ static struct map_desc bcmbca_io_desc[] __initdata = { { .virtual = CONFIG_DEBUG_UART_VIRT, .pfn...
arch/arm/mach-bcm/board_bcmbca.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2013-2014 Broadcom Corporation #include <linux/init.h> #include <linux/irqchip.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> /* * Storage for debug-macro.S's state. * * This must be in .data not .bss so that it gets initialized each time the *...
arch/arm/mach-bcm/brcmstb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2012-2014 Broadcom Corporation #include <linux/init.h> #include <linux/printk.h> #include <asm/hardware/cache-l2x0.h> #include "bcm_kona_smc.h" #include "kona_l2_cache.h" void __init kona_l2_cache_init(void) { unsigned int result; int ret; ret = bcm_kona...
arch/arm/mach-bcm/kona_l2_cache.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (C) 2012-2014 Broadcom Corporation */ #ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE void kona_l2_cache_init(void); #else #define kona_l2_cache_init() ((void)0) #endif
arch/arm/mach-bcm/kona_l2_cache.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Broadcom STB CPU SMP and hotplug support for ARM * * Copyright (C) 2013-2014 Broadcom Corporation */ #include <linux/delay.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/io.h> #include <linux/jiffies.h> #include <linux/of.h> #include <linux/of_addr...
arch/arm/mach-bcm/platsmp-brcmstb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014-2015 Broadcom Corporation * Copyright 2014 Linaro Limited */ #include <linux/cpumask.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/io.h> #include <linux/irqchip/irq-bcm2836.h> #include <linux/jiffies.h> #inclu...
arch/arm/mach-bcm/platsmp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2017 Stefan Wahren <stefan.wahren@i2se.com> */ extern const struct smp_operations bcm2836_smp_ops;
arch/arm/mach-bcm/platsmp.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Device Tree support for Marvell Berlin SoCs. * * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> * * based on GPL'ed 2.6 kernel sources * (c) Marvell International Ltd. */ #include <asm/mach/arch.h> static const char * const berlin_dt_compat[] = { "marvell,ber...
arch/arm/mach-berlin/berlin.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2014 Marvell Technology Group Ltd. * * Antoine Ténart <antoine.tenart@free-electrons.com> */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/assembler.h> /* * If the following instruction is set in the reset exception vector, CPUs * will...
arch/arm/mach-berlin/headsmp.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Marvell Technology Group Ltd. * * Antoine Ténart <antoine.tenart@free-electrons.com> */ #include <linux/io.h> #include <linux/delay.h> #include <linux/of.h> #include <linux/of_address.h> #include <asm/cacheflush.h> #include <asm/cp15.h> #include <asm/pag...
arch/arm/mach-berlin/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Author: Alexander Shiyan <shc_work@mail.ru>, 2016 */ #include <linux/io.h> #include <linux/of_fdt.h> #include <linux/platform_device.h> #include <linux/random.h> #include <linux/sizes.h> #include <linux/mfd/syscon/clps711x.h> #include <asm/system_info.h> #include ...
arch/arm/mach-clps711x/board-dt.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * TI DaVinci clock definitions * * Copyright (C) 2006-2007 Texas Instruments. * Copyright (C) 2008-2009 Deep Root Systems, LLC */ #ifndef __ARCH_ARM_DAVINCI_CLOCK_H #define __ARCH_ARM_DAVINCI_CLOCK_H /* PLL/Reset register offsets */ #define PLLCTL 0x100 #de...
arch/arm/mach-davinci/clock.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Code commons to all DaVinci SoCs. * * Author: Mark A. Greer <mgreer@mvista.com> * * 2009 (c) MontaVista Software, Inc. */ #include <linux/module.h> #include <linux/io.h> #include <linux/etherdevice.h> #include <linux/davinci_emac.h> #include <linux/dma-mapping.h> #inc...
arch/arm/mach-davinci/common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Header for code common to all DaVinci machines. * * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com> * * 2007 (c) MontaVista Software, Inc. */ #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H #define __ARCH_ARM_MACH_DAVINCI_COMMON_H #include <linux/clk...
arch/arm/mach-davinci/common.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * DaVinci CPU type detection * * Author: Kevin Hilman, Deep Root Systems, LLC * * Defines the cpu_is_*() macros for runtime detection of DaVinci * device type. In addition, if support for a given device is not * compiled in to the kernel, the macros return 0 so tha...
arch/arm/mach-davinci/cputype.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * TI DA850/OMAP-L138 chip specific setup * * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ * * Original Copyrights follow: * * 2009 (c) MontaVista Software, Inc. */ #include <linux/gpio.h> #include <linux/init.h> #include <linux/io.h> #inclu...
arch/arm/mach-davinci/da850.c
null
null
null
null
null