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_ARCH_MFP_PXA3XX_H #define __ASM_ARCH_MFP_PXA3XX_H #include <linux/soc/pxa/mfp.h> #define MFPR_BASE (0x40e10000) /* PXA3xx common MFP configurations - processor specific ones defined * in mfp-pxa300.h and mfp-pxa320.h */ #define GPIO0_GPIO MFP_CFG(GPIO0, AF0) #d...
arch/arm/mach-pxa/mfp-pxa3xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-pxa/include/mach/mfp.h * * Multi-Function Pin Definitions * * Copyright (C) 2007 Marvell International Ltd. * * 2007-8-21: eric miao <eric.miao@marvell.com> * initial version */ #ifndef __ASM_ARCH_MFP_H #define __ASM_ARCH_MFP_H #includ...
arch/arm/mach-pxa/mfp.h
null
null
null
null
null
source
linux
/* * PXA250/210 Power Management Routines * * Original code for the SA11x0: * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * Modified for the PXA250 by Nicolas Pitre: * Copyright (c) 2002 Monta Vista Software, Inc. * */ #include <linux/init.h> #include <linux/module.h> #include <linux/suspend.h> #inc...
arch/arm/mach-pxa/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2005 Richard Purdie */ #include <linux/suspend.h> struct pxa_cpu_pm_fns { int save_count; void (*save)(unsigned long *); void (*restore)(unsigned long *); int (*valid)(suspend_state_t state); void (*enter)(suspend_state_t state); int (*prepare)(vo...
arch/arm/mach-pxa/pm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa-dt.c * * Copyright (C) 2012 Daniel Mack */ #include <asm/mach/arch.h> #include "generic.h" #ifdef CONFIG_PXA25x static const char * const pxa25x_dt_board_compat[] __initconst = { "marvell,pxa250", NULL, }; DT_MACHINE_START(PXA25X_DT, ...
arch/arm/mach-pxa/pxa-dt.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Author: Nicolas Pitre * Created: Jun 15, 2001 * Copyright: MontaVista Software Inc. */ #ifndef __ASM_MACH_PXA_REGS_H #define __ASM_MACH_PXA_REGS_H /* * Workarounds for at least 2 errata so far require this. * The mapping is set in mach-pxa/generic.c. */ #define UNC...
arch/arm/mach-pxa/pxa-regs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa25x.c * * Author: Nicolas Pitre * Created: Jun 15, 2001 * Copyright: MontaVista Software Inc. * * Code specific to PXA21x/25x/26x variants. * * Since this file should be linked before any other machine specific file, * the __initcall...
arch/arm/mach-pxa/pxa25x.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_PXA25x_H #define __MACH_PXA25x_H #include "addr-map.h" #include "pxa2xx-regs.h" #include "mfp-pxa25x.h" #include "irqs.h" #endif /* __MACH_PXA25x_H */
arch/arm/mach-pxa/pxa25x.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARCH_PXA27X_UDC_H #define _ASM_ARCH_PXA27X_UDC_H #include "pxa-regs.h" #ifdef _ASM_ARCH_PXA25X_UDC_H #error You cannot include both PXA25x and PXA27x UDC support #endif #define UDCCR __REG(0x40600000) /* UDC Control Register */ #define UDCCR_OEN (1 << 31)...
arch/arm/mach-pxa/pxa27x-udc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa27x.c * * Author: Nicolas Pitre * Created: Nov 05, 2002 * Copyright: MontaVista Software Inc. * * Code specific to PXA27x aka Bulverde. */ #include <linux/dmaengine.h> #include <linux/dma/pxa-dma.h> #include <linux/gpio.h> #include <li...
arch/arm/mach-pxa/pxa27x.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_PXA27x_H #define __MACH_PXA27x_H #include <linux/suspend.h> #include "addr-map.h" #include "pxa2xx-regs.h" #include "mfp-pxa27x.h" #include "irqs.h" #define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */ #define ARB_DMA_SLV_PARK (1<<31) /* Be park...
arch/arm/mach-pxa/pxa27x.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h * * Taken from pxa-regs.h by Russell King * * Author: Nicolas Pitre * Copyright: MontaVista Software Inc. */ #ifndef __PXA2XX_REGS_H #define __PXA2XX_REGS_H #include "pxa-regs.h" /* * Power Manager */ #define ...
arch/arm/mach-pxa/pxa2xx-regs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa2xx.c * * code specific to pxa2xx * * Copyright (C) 2008 Dmitry Baryshkov */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/io.h> #include "pxa2xx-regs.h" #include "mfp-pxa25x.h" #include "gen...
arch/arm/mach-pxa/pxa2xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa300.c * * Code specific to PXA300/PXA310 * * Copyright (C) 2007 Marvell Internation Ltd. * * 2007-08-21: eric miao <eric.miao@marvell.com> * initial version */ #include <linux/module.h> #include <linux/kernel.h> #include <lin...
arch/arm/mach-pxa/pxa300.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_PXA300_H #define __MACH_PXA300_H #include "pxa3xx.h" #include "mfp-pxa300.h" #endif /* __MACH_PXA300_H */
arch/arm/mach-pxa/pxa300.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa320.c * * Code specific to PXA320 * * Copyright (C) 2007 Marvell Internation Ltd. * * 2007-08-21: eric miao <eric.miao@marvell.com> * initial version */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/plat...
arch/arm/mach-pxa/pxa320.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_PXA320_H #define __MACH_PXA320_H #include "pxa3xx.h" #include "mfp-pxa320.h" #endif /* __MACH_PXA320_H */
arch/arm/mach-pxa/pxa320.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h * * PXA3xx specific register definitions * * Copyright (C) 2007 Marvell International Ltd. */ #ifndef __ASM_ARCH_PXA3XX_REGS_H #define __ASM_ARCH_PXA3XX_REGS_H #include "pxa-regs.h" /* * Oscillator Configuration Regi...
arch/arm/mach-pxa/pxa3xx-regs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-pxa/pxa3xx.c * * code specific to pxa3xx aka Monahans * * Copyright (C) 2006 Marvell International Ltd. * * 2007-09-02: eric miao <eric.miao@marvell.com> * initial version */ #include <linux/dmaengine.h> #include <linux/dma/pxa-dma.h...
arch/arm/mach-pxa/pxa3xx.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_PXA3XX_H #define __MACH_PXA3XX_H #include "addr-map.h" #include "pxa3xx-regs.h" #include "irqs.h" #endif /* __MACH_PXA3XX_H */
arch/arm/mach-pxa/pxa3xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MACH_REGS_OST_H #define __ASM_MACH_REGS_OST_H #include "pxa-regs.h" /* * OS Timer & Match Registers */ #define OST_PHYS 0x40A00000 #define OST_LEN 0x00000020 #define OSMR0 io_p2v(0x40A00000) /* */ #define OSMR1 io_p2v(0x40A00004) /* */ #define OSMR2 io_p2v...
arch/arm/mach-pxa/regs-ost.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MACH_REGS_RTC_H #define __ASM_MACH_REGS_RTC_H #include "pxa-regs.h" /* * Real Time Clock */ #define RCNR __REG(0x40900000) /* RTC Count Register */ #define RTAR __REG(0x40900004) /* RTC Alarm Register */ #define RTSR __REG(0x40900008) /* RTC Status Registe...
arch/arm/mach-pxa/regs-rtc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only #include <linux/kernel.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/gpio.h> #include <linux/io.h> #include <asm/proc-fns.h> #include <asm/system_misc.h> #include "regs-ost.h" #include "reset.h" #include "smemc.h" #include "generic.h" static void do_hw_...
arch/arm/mach-pxa/reset.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARCH_RESET_H #define __ASM_ARCH_RESET_H #define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ #define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ #define RESET_STATUS_LOWPOWER (1 << 2) /* Low Power/Sleep Exit */ #define RESET_STATUS_GPIO (1 << 3) /* GP...
arch/arm/mach-pxa/reset.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 * series of PDAs * * Copyright (c) 2004-2005 Richard Purdie * * Based on code written by Sharp for 2.4 kernels */ #undef DEBUG #include <linux/module.h> #include <linux/kernel.h> #include <linux/i...
arch/arm/mach-pxa/sharpsl_pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * SharpSL Battery/PM Driver * * Copyright (c) 2004-2005 Richard Purdie */ #ifndef _MACH_SHARPSL_PM #define _MACH_SHARPSL_PM struct sharpsl_charger_machinfo { void (*init)(void); void (*exit)(void); int gpio_acin; int gpio_batfull; int batfull_irq; int gpio_batlo...
arch/arm/mach-pxa/sharpsl_pm.h
null
null
null
null
null
source
linux
/* * Low-level PXA250/210 sleep/wakeUp support * * Initial SA1110 code: * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * Adapted for PXA by Nicolas Pitre: * Copyright (c) 2002 Monta Vista Software, Inc. * */ #include <linux/linkage.h> #include <asm/assembler.h> #include "smemc.h" #include "pxa2xx-re...
arch/arm/mach-pxa/sleep.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Static Memory Controller */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/syscore_ops.h> #include <linux/soc/pxa/cpu.h> #include "smemc.h" #include <linux/soc/pxa/smemc.h> #ifdef CONFIG_PM static unsigned l...
arch/arm/mach-pxa/smemc.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Static memory controller register definitions for PXA CPUs * * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com> */ #ifndef __SMEMC_REGS_H #define __SMEMC_REGS_H #define PXA2XX_SMEMC_BASE 0x48000000 #define PXA3XX_SMEMC_BASE 0x4a000000 #define SMEMC_VIRT IOME...
arch/arm/mach-pxa/smemc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Support for Sharp SL-Cxx00 Series of PDAs * Models: SL-C3000 (Spitz), SL-C1000 (Akita) and SL-C3100 (Borzoi) * * Copyright (c) 2005 Richard Purdie * * Based on Sharp's 2.4 kernel patches/lubbock.c */ #include <linux/kernel.h> #include <linux/platform_device.h> #incl...
arch/arm/mach-pxa/spitz.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Hardware specific definitions for SL-Cx000 series of PDAs * * Copyright (c) 2005 Alexander Wykes * Copyright (c) 2005 Richard Purdie * * Based on Sharp's 2.4 kernel patches */ #ifndef __ASM_ARCH_SPITZ_H #define __ASM_ARCH_SPITZ_H 1 #endif #include "irqs.h" /* PX...
arch/arm/mach-pxa/spitz.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Battery and Power Management code for the Sharp SL-Cxx00 * * Copyright (c) 2005 Richard Purdie */ #include <linux/module.h> #include <linux/stat.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/gpio.h> #include <linux/gpio-p...
arch/arm/mach-pxa/spitz_pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * PXA27x standby mode * * Author: David Burrage * * 2005 (c) MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include "pxa2xx-regs.h" .text #ifdef CONFIG_PXA27x ENTRY(pxa_cpu_standby) ldr r0, =PSSR mov r1, #(PSSR_PH | PSSR_S...
arch/arm/mach-pxa/standby.S
null
null
null
null
null
source
linux
/* * arch/arm/mach-pxa/include/mach/udc.h * */ #include <linux/platform_data/pxa2xx_udc.h> extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info);
arch/arm/mach-pxa/udc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2002 ARM Ltd. * All Rights Reserved * Copyright (c) 2010, Code Aurora Forum. All rights reserved. * Copyright (c) 2014 The Linux Foundation. All rights reserved. */ #include <linux/init.h> #include <linux/errno.h> #include <linux/delay.h> #include <l...
arch/arm/mach-qcom/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Realtek RTD1195 * * Copyright (c) 2017-2019 Andreas Färber */ #include <linux/memblock.h> #include <asm/mach/arch.h> static void __init rtd1195_memblock_remove(phys_addr_t base, phys_addr_t size) { int ret; ret = memblock_remove(base, size); if (ret) pr_err(...
arch/arm/mach-realtek/rtd1195.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <heiko@sntech.de> */ extern char rockchip_secondary_trampoline; extern char rockchip_secondary_trampoline_end; extern unsigned long rockchip_boot_fn;
arch/arm/mach-rockchip/core.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <heiko@sntech.de> */ #include <linux/linkage.h> #include <linux/init.h> ENTRY(rockchip_secondary_trampoline) ldr pc, 1f ENDPROC(rockchip_secondary_trampoline) .globl rockchip_boot_fn rockchip_boot_fn:...
arch/arm/mach-rockchip/headsmp.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <heiko@sntech.de> */ #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 <linux/regmap.h> #include <li...
arch/arm/mach-rockchip/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd * Author: Tony Xie <tony.xie@rock-chips.com> */ #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/regmap.h> #include <linux...
arch/arm/mach-rockchip/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd * Author: Tony Xie <tony.xie@rock-chips.com> */ #ifndef __MACH_ROCKCHIP_PM_H #define __MACH_ROCKCHIP_PM_H extern unsigned long rkpm_bootdata_cpusp; extern unsigned long rkpm_bootdata_cpu_code; extern unsigned ...
arch/arm/mach-rockchip/pm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Device Tree support for Rockchip SoCs * * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <heiko@sntech.de> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_clk.h> #include <linux/cloc...
arch/arm/mach-rockchip/rockchip.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd * Author: Tony Xie <tony.xie@rock-chips.com> */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/page.h> .data /* * this code will be copied from * ddr to sram for system resumeing. * so ...
arch/arm/mach-rockchip/sleep.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-rpc/dma.c * * Copyright (C) 1998 Russell King * * DMA functions specific to RiscPC architecture */ #include <linux/mman.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/dma-mapping.h> #include <linux/io.h> #include <asm/p...
arch/arm/mach-rpc/dma.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/ecard.S * * Copyright (C) 1995, 1996 Russell King * * 27/03/03 Ian Molton Clean up CONFIG_CPU */ #include <linux/linkage.h> #include <asm/assembler.h> #define CPSR2SPSR(rt) \ mrs rt, cpsr; \ msr spsr_cxsf, rt @ Purpose: call an expansion ...
arch/arm/mach-rpc/ecard-loader.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/ecard.c * * Copyright 1995-2001 Russell King * * Find all installed expansion cards, and handle interrupts from them. * * Created from information from Acorns RiscOS3 PRMs * * 08-Dec-1996 RMK Added code for the 9'th expansion card - the e...
arch/arm/mach-rpc/ecard.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * ecard.h * * Copyright 2007 Russell King */ /* Definitions internal to ecard.c - for it's use only!! * * External expansion card header as read from the card */ struct ex_ecid { unsigned char r_irq:1; unsigned char r_zero:1; unsigned char r_fiq:1; unsigned c...
arch/arm/mach-rpc/ecard.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/assembler.h> #include <mach/hardware.h> .equ ioc_base_high, IOC_BASE & 0xff000000 .equ ioc_base_low, IOC_BASE & 0x00ff0000 .text .global rpc_default_fiq_end ENTRY(rpc_default_fiq_start) mov r12, #ioc_base_high .if ioc_base_low orr ...
arch/arm/mach-rpc/fiq.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/floppydma.S * * Copyright (C) 1995, 1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .text .global floppy_fiqin_end ENTRY(floppy_fiqin_start) subs r9, r9, #1 ldrbgt r12, [r11, #-4] ldrble r12, [r11], #0 strb...
arch/arm/mach-rpc/floppydma.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-acorn.S * * Copyright (C) 1995, 1996 Russell King * * 27/03/03 Ian Molton Clean up CONFIG_CPU */ #include <linux/linkage.h> #include <linux/kern_levels.h> #include <asm/assembler.h> .text .align .Liosl_warning: .ascii KERN_WARNING "i...
arch/arm/mach-rpc/io-acorn.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/list.h> #include <linux/io.h> #include <asm/mach/irq.h> #include <asm/hardware/iomd.h> #include <asm/irq.h> #include <asm/fiq.h> // These are offsets from the stat register for each IRQ bank #define STAT 0x00 #define REQ 0x04 #define CLR 0x04...
arch/arm/mach-rpc/irq.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-rpc/riscpc.c * * Copyright (C) 1998-2001 Russell King * * Architecture specific fixups. */ #include <linux/kernel.h> #include <linux/tty.h> #include <linux/delay.h> #include <linux/pm.h> #include <linux/init.h> #include <linux/sched.h> #include ...
arch/arm/mach-rpc/riscpc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/common/time-acorn.c * * Copyright (c) 1996-2000 Russell King. * * Changelog: * 24-Sep-1996 RMK Created * 10-Oct-1996 RMK Brought up to date with arch-sa110eval * 04-Dec-1997 RMK Updated for new arch/arm/time.c * 13=Jun-2004 DS Moved to arc...
arch/arm/mach-rpc/time.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/acornfb.h * * Copyright (C) 1999 Russell King * * AcornFB architecture specific code */ #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel) static inline int acornfb_valid_pixrate(struct fb_var_screeninfo...
arch/arm/mach-rpc/include/mach/acornfb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/hardware.h * * Copyright (C) 1996-1999 Russell King. * * This file contains the hardware definitions of the RiscPC series machines. */ #ifndef __ASM_ARCH_HARDWARE_H #define __ASM_ARCH_HARDWARE_H #include <mach/memory.h> /* * Wha...
arch/arm/mach-rpc/include/mach/hardware.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/io.h * * Copyright (C) 1997 Russell King * * Modifications: * 06-Dec-1997 RMK Created. */ #ifndef __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_H #include <mach/hardware.h> #define IO_SPACE_LIMIT 0xffff /* * We need PC style I...
arch/arm/mach-rpc/include/mach/io.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/irqs.h * * Copyright (C) 1996 Russell King */ #define IRQ_PRINTER 0 #define IRQ_BATLOW 1 #define IRQ_FLOPPYINDEX 2 #define IRQ_VSYNCPULSE 3 #define IRQ_POWERON 4 #define IRQ_TIMER0 5 #define IRQ_TIMER1 6 #define IRQ_IMMEDIATE ...
arch/arm/mach-rpc/include/mach/irqs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/isa-dma.h * * Copyright (C) 1997 Russell King */ #ifndef __ASM_ARCH_DMA_H #define __ASM_ARCH_DMA_H #define MAX_DMA_CHANNELS 8 #define DMA_0 0 #define DMA_1 1 #define DMA_2 2 #define DMA_3 3 #define DMA_S0 4 #define DMA_S1 ...
arch/arm/mach-rpc/include/mach/isa-dma.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/memory.h * * Copyright (C) 1996,1997,1998 Russell King. * * Changelog: * 20-Oct-1996 RMK Created * 31-Dec-1997 RMK Fixed definitions to reduce warnings * 11-Jan-1998 RMK Uninlined to reduce hits on cache * 08-Feb-1998 RM...
arch/arm/mach-rpc/include/mach/memory.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-rpc/include/mach/uncompress.h * * Copyright (C) 1996 Russell King */ #define VIDMEM ((char *)SCREEN_START) #include <linux/io.h> #include <mach/hardware.h> #include <asm/setup.h> #include <asm/page.h> int video_size_row; unsigned char bytes_per_cha...
arch/arm/mach-rpc/include/mach/uncompress.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. // http://www.samsung.com // // Samsung CPU Support #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include "map-base.h" #include "cpu.h" unsigned long samsung_cpu_id; ...
arch/arm/mach-s3c/cpu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Copyright (c) 2004-2005 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * Header file for Samsung CPU support */ /* todo - fix when rmk changes iodescs to use `void __iomem *` */ #if...
arch/arm/mach-s3c/cpu.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2011 Wolfson Microelectronics, plc // Copyright (c) 2011 Samsung Electronics Co., Ltd. // http://www.samsung.com #include <linux/kernel.h> #include <linux/init.h> #include <linux/cpuidle.h> #include <linux/io.h> #include <linux/export.h> #include <linux/time.h> ...
arch/arm/mach-s3c/cpuidle-s3c64xx.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* Cragganmore 6410 shared definitions * * Copyright 2011 Wolfson Microelectronics plc * Mark Brown <broonie@opensource.wolfsonmicro.com> */ #ifndef MACH_CRAG6410_H #define MACH_CRAG6410_H #include "gpio-samsung.h" #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START #define B...
arch/arm/mach-s3c/crag6410.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2009 Wolfson Microelectronics // Mark Brown <broonie@opensource.wolfsonmicro.com> #include <linux/kernel.h> #include <linux/string.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/gpio.h> #include <linux/export.h> #include "i...
arch/arm/mach-s3c/dev-audio-s3c64xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2008 Openmoko, Inc. // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // Base S3C64XX UART resource and device definitions #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include ...
arch/arm/mach-s3c/dev-uart-s3c64xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // originally from arch/arm/plat-s3c24xx/devs.c // // Copyright (c) 2004 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // // Base S3C24XX platform device definitions #include <linux/kernel.h> #include <linux/platform_device.h> #include "devs.h" /* uart devices */ static s...
arch/arm/mach-s3c/dev-uart.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2011 Samsung Electronics Co., Ltd. // http://www.samsung.com // // Base Samsung platform device definitions #include <linux/gpio.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/timer.h> #...
arch/arm/mach-s3c/devs.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Copyright (c) 2004 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * Header file for s3c2410 standard platform devices */ #ifndef __PLAT_DEVS_H #define __PLAT_DEVS_H __FILE__ #include...
arch/arm/mach-s3c/devs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C - FB platform data definitions */ #ifndef __PLAT_S3C_FB_H #define __PLAT_S3C_FB_H __FILE__ #include <linux/platform_data/video_s3c...
arch/arm/mach-s3c/fb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * Samsung Platform - GPIO pin configuration helper definitions */ /* This is meant for core cpu support, machine or other driver files *...
arch/arm/mach-s3c/gpio-cfg-helpers.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C Platform - GPIO pin configuration */ /* This file contains the necessary definitions to get the basic gpio * pin configuration don...
arch/arm/mach-s3c/gpio-cfg.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C Platform - GPIO core */ #ifndef __PLAT_SAMSUNG_GPIO_CORE_H #define __PLAT_SAMSUNG_GPIO_CORE_H /* Bring in machine-local definitions, especially S3C_GPIO_END */ #in...
arch/arm/mach-s3c/gpio-core.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C6400 - GPIO lib support */ #ifndef GPIO_SAMSUNG_S3C64XX_H #define GPIO_SAMSUNG_S3C64XX_H #ifdef CONFIG_GPIO_SAMSUNG /* GPIO bank s...
arch/arm/mach-s3c/gpio-samsung-s3c64xx.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. // http://www.samsung.com/ // // Copyright 2008 Openmoko, Inc. // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // Samsung - GPIOlib support #include <linux...
arch/arm/mach-s3c/gpio-samsung.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C - I2C Controller core functions */ #ifndef __ASM_ARCH_IIC_CORE_H #define __ASM_ARCH_IIC_CORE_H __FILE__ /* These functions are only for use with the core support c...
arch/arm/mach-s3c/iic-core.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // S3C series CPU initialisation /* * NOTE: Code in this file is not used on S3C64xx when booting with * Device Tree support. */ #include <linux/init.h> #include <linu...
arch/arm/mach-s3c/init.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2008 Openmoko, Inc. // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // S3C64XX - Interrupt handling Power Management /* * NOTE: Code in this file is not used when booting with Device Tree support. *...
arch/arm/mach-s3c/irq-pm-s3c64xx.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * Header file for Samsung SoC UART IRQ demux for S3C64XX and later */ struct s3c_uart_irq { void __iomem *regs; unsigned int base_irq; unsigned int parent_irq; };
arch/arm/mach-s3c/irq-uart-s3c64xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* linux/arch/arm/mach-s3c64xx/include/mach/irqs.h * * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C64XX - IRQ support */ #ifndef __ASM_MACH_S3C64XX_IRQS_H #define __ASM_M...
arch/arm/mach-s3c/irqs-s3c64xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Samsung Platform - Keypad platform data definitions * * Copyright (C) 2010 Samsung Electronics Co.Ltd * Author: Joonyoung Shim <jy0922.shim@samsung.com> */ #ifndef __PLAT_SAMSUNG_KEYPAD_H #define __PLAT_SAMSUNG_KEYPAD_H #include <linux/input/samsung-keypad.h> /** * ...
arch/arm/mach-s3c/keypad.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Speyside modules for Cragganmore - board data probing // // Copyright 2011 Wolfson Microelectronics plc // Mark Brown <broonie@opensource.wolfsonmicro.com> #include <linux/export.h> #include <linux/interrupt.h> #include <linux/i2c.h> #include <linux/spi/spi.h> #include <linux/...
arch/arm/mach-s3c/mach-crag6410-module.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2011 Wolfson Microelectronics plc // Mark Brown <broonie@opensource.wolfsonmicro.com> // // Copyright 2011 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> #include <linux/kernel.h> #include <linux/list.h> #include <linux/serial_core.h> #include <linux/serial_s3c.h...
arch/arm/mach-s3c/mach-crag6410.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Samsung's S3C64XX flattened device tree enabled machine // // Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/system_misc.h> #include "cpu.h" #include "map.h" #include "s3c64xx.h" /* * IO mapping for...
arch/arm/mach-s3c/mach-s3c64xx-dt.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2003, 2007 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C - Memory map definitions (virtual addresses) */ #ifndef __ASM_PLAT_MAP_H #define __ASM_PLAT_MAP_H __FILE__ /* Fit all our registers in at 0xF6000000 upwards,...
arch/arm/mach-s3c/map-base.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C24XX - Memory map definitions */ #ifndef __ASM_PLAT_MAP_S3C_H #define __ASM_PLAT_MAP_S3C_H __FILE__ #include "map.h" /* * GPIO ports * * the calculation for the VA of this must ensure that ...
arch/arm/mach-s3c/map-s3c.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C64XX - Memory map definitions */ #ifndef __ASM_ARCH_MAP_H #define __ASM_ARCH_MAP_H __FILE__ #include "map-base.h" #include "map-s3c...
arch/arm/mach-s3c/map-s3c64xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * S5P - Memory map definitions */ #ifndef __ASM_PLAT_MAP_S5P_H #define __ASM_PLAT_MAP_S5P_H __FILE__ #define VA_VIC(x) (S3C_VA_IRQ + ((x) * 0x10000)) #define VA_VIC0 VA_VIC(0) #define VA_V...
arch/arm/mach-s3c/map-s5p.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Samsung's S3C64XX generic DMA support using amba-pl08x driver. // // Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com> #include <linux/kernel.h> #include <linux/amba/bus.h> #include <linux/amba/pl080.h> #include <linux/amba/pl08x.h> #include <linux/of.h> #include "cpu.h"...
arch/arm/mach-s3c/pl080.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2010 Ben Dooks <ben-linux <at> fluff.org> // // Helper for platform data setting #include <linux/kernel.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/platform_device.h> #include "devs.h" #include "sdhci.h" void __init *s3c_set_platdata(void *...
arch/arm/mach-s3c/platformdata.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright (C) 2013 Samsung Electronics Co., Ltd. // Tomasz Figa <t.figa@samsung.com> // Copyright (C) 2008 Openmoko, Inc. // Copyright (C) 2004-2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // Samsung common power management helper ...
arch/arm/mach-s3c/pm-common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2013 Samsung Electronics Co., Ltd. * Tomasz Figa <t.figa@samsung.com> * Copyright (c) 2004 Simtec Electronics * http://armlinux.simtec.co.uk/ * Written by Ben Dooks, <ben@simtec.co.uk> */ #ifndef __PLAT_SAMSUNG_PM_COMMON_H #define __PLAT_SAMSUNG_PM_COMMON...
arch/arm/mach-s3c/pm-common.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C64XX - PM core support for arch/arm/plat-s3c/pm.c */ #ifndef __MACH_S3C64XX_PM_CORE_H #define __MACH_S3C64XX_PM_CORE_H __F...
arch/arm/mach-s3c/pm-core-s3c64xx.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ // // Copyright 2008 Openmoko, Inc. // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // S3C series GPIO PM code #include <linux/kernel.h> #include <linux/device.h> #include <linux/init.h> #include <linux/io.h> #include <linux/...
arch/arm/mach-s3c/pm-gpio.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2008 Openmoko, Inc. // Copyright 2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // S3C64XX CPU PM support. #include <linux/init.h> #include <linux/suspend.h> #include <linux/serial_core.h> #include <linux/io.h> #include <l...
arch/arm/mach-s3c/pm-s3c64xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2008 Openmoko, Inc. // Copyright 2004-2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // http://armlinux.simtec.co.uk/ // // S3C common power management (suspend to ram) support. #include <linux/init.h> #include <linux/suspend.h> #include <linux/errno.h> #inc...
arch/arm/mach-s3c/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2004 Simtec Electronics * http://armlinux.simtec.co.uk/ * Written by Ben Dooks, <ben@simtec.co.uk> */ /* s3c_pm_init * * called from board at initialisation time to setup the power * management */ #include "pm-common.h" struct device; #ifdef CONFIG_SA...
arch/arm/mach-s3c/pm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2013 Tomasz Figa <tomasz.figa@gmail.com> * * Samsung PWM controller platform data helpers. */ #ifndef __ASM_ARCH_PWM_CORE_H #define __ASM_ARCH_PWM_CORE_H __FILE__ #include <clocksource/samsung_pwm.h> #ifdef CONFIG_SAMSUNG_DEV_PWM extern void samsung_pwm_set_p...
arch/arm/mach-s3c/pwm-core.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C64XX clock register definitions */ #ifndef __PLAT_REGS_CLOCK_H #define __PLAT_REGS_CLOCK_H __FILE__ /* * FIXME: Remove remaining d...
arch/arm/mach-s3c/regs-clock-s3c64xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C64XX - GPIO memory port register definitions */ #ifndef __MACH_S3C64XX_REGS_GPIO_MEMPORT_H #define __MACH_S3C64XX_REGS_GPI...
arch/arm/mach-s3c/regs-gpio-memport-s3c64xx.h
null
null
null
null
null