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-or-later /* * Copyright 2011-2013 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/clk.h> #include <linux/irqchip.h> #include <linux/of_platform.h> #include <linux/pci.h> #include <linux/phy.h> #include <linux/regmap.h> #include <linux/micrel_phy.h> #...
arch/arm/mach-imx/mach-imx6q.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2013 Freescale Semiconductor, Inc. */ #include <linux/irqchip.h> #include <linux/of_platform.h> #include <linux/mfd/syscon.h> #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> #include <linux/regmap.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include...
arch/arm/mach-imx/mach-imx6sl.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2014 Freescale Semiconductor, Inc. */ #include <linux/irqchip.h> #include <linux/of_platform.h> #include <linux/regmap.h> #include <linux/mfd/syscon.h> #include <asm/mach/arch.h> #include "common.h" #include "cpuidle.h" static void __init imx6sx_init_machine(...
arch/arm/mach-imx/mach-imx6sx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Freescale Semiconductor, Inc. */ #include <linux/irqchip.h> #include <linux/of_platform.h> #include <asm/mach/arch.h> #include "common.h" #include "cpuidle.h" #include "hardware.h" static void __init imx6ul_init_machine(void) { imx_print_silicon_rev(...
arch/arm/mach-imx/mach-imx6ul.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2018 Pengutronix, Oleksij Rempel <o.rempel@pengutronix.de> */ #include <linux/kernel.h> #include <asm/v7m.h> #include <asm/mach/arch.h> static const char * const imx7d_cm4_dt_compat[] __initconst = { "fsl,imx7d-cm4", NULL, }; DT_MACHINE_START(IMX7D, "Freesca...
arch/arm/mach-imx/mach-imx7d-cm4.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Freescale Semiconductor, Inc. */ #include <linux/irqchip.h> #include <linux/mfd/syscon.h> #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> #include <linux/platform_device.h> #include <linux/phy.h> #include <linux/regmap.h> #include <asm/mach/arch.h> #incl...
arch/arm/mach-imx/mach-imx7d.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP * Author: Dong Aisheng <aisheng.dong@nxp.com> */ #include <linux/irqchip.h> #include <linux/mfd/syscon.h> #include <linux/of_platform.h> #include <linux/regmap.h> #include <asm/mach/arch.h> #incl...
arch/arm/mach-imx/mach-imx7ulp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2019 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> */ #include <linux/kernel.h> #include <asm/mach/arch.h> #include <asm/v7m.h> static const char *const imxrt_compat[] __initconst = { "fsl,imxrt1050", NULL }; DT_MACHINE_START(IMXRTDT, ...
arch/arm/mach-imx/mach-imxrt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2013-2014 Freescale Semiconductor, Inc. */ #include <asm/mach/arch.h> #include "common.h" static const char * const ls1021a_dt_compat[] __initconst = { "fsl,ls1021a", NULL, }; DT_MACHINE_START(LS1021A, "Freescale LS1021A") .smp = smp_ops(ls1021a_smp_...
arch/arm/mach-imx/mach-ls1021a.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2012-2013 Freescale Semiconductor, Inc. */ #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/io.h> #include <linux/irqchip.h> #include <asm/mach/arch.h> #include <asm/hardware/cache-l2x0.h> #include "common.h" #include "hardware...
arch/arm/mach-imx/mach-vf610.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 1999,2000 Arm Limited * Copyright (C) 2000 Deep Blue Solutions Ltd * Copyright (C) 2002 Shane Nay (shane@minirl.com) * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved. * - add MX31 specific definitions */ #include <linux...
arch/arm/mach-imx/mm-imx3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2017 NXP * Copyright 2011,2016 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/clk.h> #include <linux/hrtimer.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <l...
arch/arm/mach-imx/mmdc.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2008 Juergen Beisert, kernel@pengutronix.de * * This contains i.MX27-specific hardware definitions. For those * hardware pieces that are common between i.MX21 and i.MX27, have a ...
arch/arm/mach-imx/mx27.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2008 Juergen Beisert, kernel@pengutronix.de * * This contains hardware definitions that are common between i.MX21 and * i.MX27. */ #ifndef __MACH_MX2x_H__ #define __MACH_MX2x_H_...
arch/arm/mach-imx/mx2x.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_MX31_H__ #define __MACH_MX31_H__ #define MX31_AIPS1_BASE_ADDR 0x43f00000 #define MX31_AIPS1_SIZE SZ_1M #define MX31_SPBA0_BASE_ADDR 0x50000000 #define MX31_SPBA0_SIZE SZ_1M #define MX31_AIPS2_BASE_ADDR 0x53f00000 #define MX31_AIPS2_SIZE SZ_1M #define MX31_...
arch/arm/mach-imx/mx31.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_MX35_H__ #define __MACH_MX35_H__ #define MX35_AIPS1_BASE_ADDR 0x43f00000 #define MX35_AIPS1_SIZE SZ_1M #define MX35_SPBA0_BASE_ADDR 0x50000000 #define MX35_SPBA0_SIZE SZ_1M #define MX35_AIPS2_BASE_ADDR 0x53f00000 #define MX35_AIPS2_SIZE SZ_1M #define MX35_...
arch/arm/mach-imx/mx35.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. */ #ifndef __MACH_MX3x_H__ #define __MACH_MX3x_H__ /* * MX31 memory map: * * Virt Phys Size What * --------------------------------------------------------------------------- * FC000000 43...
arch/arm/mach-imx/mx3x.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2004-2007, 2010-2015 Freescale Semiconductor, Inc. * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) */ #ifndef __ASM_ARCH_MXC_H__ #define __ASM_ARCH_MXC_H__ #include <linux/types.h> #include <soc/imx/cpu.h> #ifndef __ASM_ARCH_MXC_HARDWARE_...
arch/arm/mach-imx/mxc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/init.h> #include <linux/of_address.h> #include <linux/of.h> #include <linux/smp.h> #include <asm/cacheflush.h> #include <asm/page.h> #include <asm/smp_scu.h> #include <asm/...
arch/arm/mach-imx/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 NXP Semiconductors */ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> #include "common.h" static int imx25_suspend_enter(suspend_state_t state) { if (!IS_ENABLED(CONFIG_PM)) return 0; switch (state) { case PM_SUSPEND_MEM: ...
arch/arm/mach-imx/pm-imx25.c
null
null
null
null
null
source
linux
/* * i.MX27 Power Management Routines * * Based on Freescale's BSP * */ #include <linux/of_address.h> #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> #include "common.h" #include "hardware.h" static int mx27_suspend_enter(suspend_state_t state) { void __iomem *ccm_base; struct devic...
arch/arm/mach-imx/pm-imx27.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. */ #include <linux/suspend.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/err.h> #include <linux/export.h> #include <linux/genalloc.h> #include <linux/of.h> #include <linux/of_add...
arch/arm/mach-imx/pm-imx5.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011-2014 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/clk/imx.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/io.h> #include <linux/irq.h> #include <linux/genalloc.h> #include <linux/irqchip/arm-gic.h> ...
arch/arm/mach-imx/pm-imx6.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP * Author: Dong Aisheng <aisheng.dong@nxp.com> */ #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include "common.h" #define SMC_PMCTRL 0x10 #define BP_PMCTRL_PSTOPO ...
arch/arm/mach-imx/pm-imx7ulp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2014 Freescale Semiconductor, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/hardware/cache-l2x0.h> #include "hardware.h" .arch armv7-a /* * The following code must assume it is running from ph...
arch/arm/mach-imx/resume-imx6.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/init.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/platform_device.h> #include <linux/reset-controll...
arch/arm/mach-imx/src.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Exported ksyms for the SSI FIQ handler * * Copyright (C) 2009, Sascha Hauer <s.hauer@pengutronix.de> */ #include <linux/module.h> #include <linux/platform_data/asoc-imx-ssi.h> EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer); EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer); EXPORT_SYMBOL(i...
arch/arm/mach-imx/ssi-fiq-ksym.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2009 Sascha Hauer <s.hauer@pengutronix.de> */ #include <linux/linkage.h> #include <asm/assembler.h> /* * r8 = bit 0-15: tx offset, bit 16-31: tx buffer size * r9 = bit 0-15: rx offset, bit 16-31: rx buffer size */ #define SSI_STX0 0x00 #define SS...
arch/arm/mach-imx/ssi-fiq.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. */ /* */ #include <linux/linkage.h> #define M4IF_MCR0_OFFSET (0x008C) #define M4IF_MCR0_FDVFS (0x1 << 11) #define M4IF_MCR0_FDVACK (0x1 << 27) .align 3 /* * ==================== low level suspend =...
arch/arm/mach-imx/suspend-imx53.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2014 Freescale Semiconductor, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/hardware/cache-l2x0.h> #include "hardware.h" .arch armv7-a /* * ==================== low level suspend =============...
arch/arm/mach-imx/suspend-imx6.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 1999 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd * Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2008 Juergen Beisert, kernel@pengutronix.de * Copyright 2009 Ilya Yanok, Emcraft Systems Ltd, yanok@emcr...
arch/arm/mach-imx/system.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C)2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. */ #include <linux/init.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/io.h> #include <linux/irqchip.h> #include <linux/irqdomain.h> #include <linux/of.h> #include <linux...
arch/arm/mach-imx/tzic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * IXP4xx Device Tree boot support */ #include <asm/mach/arch.h> /* * We handle 4 different SoC families. These compatible strings are enough * to provide the core so that different boards can add their more detailed * specifics. */ static const char *ixp4xx_of_board_compat[...
arch/arm/mach-ixp4xx/ixp4xx-of.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Keystone2 based boards and SOC related code. * * Copyright 2013 Texas Instruments, Inc. * Cyril Chemparathy <cyril@ti.com> * Santosh Shilimkar <santosh.shillimkar@ti.com> */ #include <linux/io.h> #include <linux/dma-map-ops.h> #include <linux/init.h> #include <linux/...
arch/arm/mach-keystone/keystone.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree board file for NXP LPC18xx/43xx * * Copyright (C) 2015 Joachim Eastwood <manabian@gmail.com> */ #include <asm/mach/arch.h> static const char *const lpc18xx_43xx_compat[] __initconst = { "nxp,lpc1850", "nxp,lpc4350", "nxp,lpc4370", NULL }; DT_MACHINE_S...
arch/arm/mach-lpc18xx/board-dt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/arm/mach-lpc32xx/common.c * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #include <linux/init.h> #include <linux/soc/nxp/lpc32xx-misc.h> #include <asm/mach/map.h> #include <asm/system_info.h> #include "lpc32xx.h"...
arch/arm/mach-lpc32xx/common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/arm/mach-lpc32xx/common.h * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2009-2010 NXP Semiconductors */ #ifndef __LPC32XX_COMMON_H #define __LPC32XX_COMMON_H #include <linux/init.h> /* * Other arch specific structures and functions *...
arch/arm/mach-lpc32xx/common.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/arm/mach-lpc32xx/include/mach/platform.h * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #ifndef __ARM_LPC32XX_H #define __ARM_LPC32XX_H #define _SBF(f, v) ((v) << (f)) #define _BIT(n) _SBF(n, 1) /* * A...
arch/arm/mach-lpc32xx/lpc32xx.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ /* * Platform support for LPC32xx SoC * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2012 Roland Stigge <stigge@antcom.de> * Copyright (C) 2010 NXP Semiconductors */ #include <linux/amba/pl08x.h> #include <linux/mtd/lpc32xx_mlc.h> #include <linux/mtd/lpc32xx...
arch/arm/mach-lpc32xx/phy3250.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-lpc32xx/pm.c * * Original authors: Vitaly Wool, Dmitry Chigirev <source@mvista.com> * Modified by Kevin Wells <kevin.wells@nxp.com> * * 2005 (c) MontaVista Software, Inc. */ /* * LPC32XX CPU and system power management * * The LPC32XX has three CPU ...
arch/arm/mach-lpc32xx/pm.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/arm/mach-lpc32xx/serial.c * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/serial.h> #include <linux/serial_core.h> #include <linux/serial_reg.h> #in...
arch/arm/mach-lpc32xx/serial.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-lpc32xx/suspend.S * * Original authors: Dmitry Chigirev, Vitaly Wool <source@mvista.com> * Modified by Kevin Wells <kevin.wells@nxp.com> * * 2005 (c) MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include "lpc32xx...
arch/arm/mach-lpc32xx/suspend.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Device Tree support for Mediatek SoCs * * Copyright (c) 2014 MundoReader S.L. * Author: Matthias Brugger <matthias.bgg@gmail.com> */ #include <linux/init.h> #include <linux/io.h> #include <asm/mach/arch.h> #include <linux/of.h> #include <linux/of_clk.h> #include <l...
arch/arm/mach-mediatek/mediatek.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mediatek/platsmp.c * * Copyright (c) 2014 Mediatek Inc. * Author: Shunli Wang <shunli.wang@mediatek.com> * Yingjoe Chen <yingjoe.chen@mediatek.com> */ #include <linux/io.h> #include <linux/memblock.h> #include <linux/of.h> #include <linux/of_addr...
arch/arm/mach-mediatek/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2014 Carlo Caione <carlo@caione.org> */ #include <asm/mach/arch.h> static const char * const meson_common_board_compat[] = { "amlogic,meson6", "amlogic,meson8", "amlogic,meson8b", "amlogic,meson8m2", NULL, }; DT_MACHINE_START(MESON, "Amlogic Meso...
arch/arm/mach-meson/meson.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2015 Carlo Caione <carlo@endlessm.com> * Copyright (C) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com> */ #include <linux/delay.h> #include <linux/init.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include ...
arch/arm/mach-meson/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright: (C) 2018 Socionext Inc. * Copyright: (C) 2015 Linaro Ltd. */ #include <linux/cpu_pm.h> #include <linux/irqchip/arm-gic.h> #include <linux/of_address.h> #include <linux/suspend.h> #include <asm/cacheflush.h> #include <asm/cp15.h> #include <asm/idmap.h> #include <a...
arch/arm/mach-milbeaut/platsmp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Common address map definitions */ #ifndef __ASM_MACH_ADDR_MAP_H #define __ASM_MACH_ADDR_MAP_H /* APB - Application Subsystem Peripheral Bus * * NOTE: the DMA controller registers are actually on the AXI fabric #1 * slave port to AHB/APB bridge, due to its close ...
arch/arm/mach-mmp/addr-map.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/common.c * * Code common to PXA168 processor lines */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <asm/page.h> #include <asm/mach/map.h> #include <asm/system_misc.h> #include "addr-map.h" #include <lin...
arch/arm/mach-mmp/common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/reboot.h> extern void mmp_timer_init(int irq, unsigned long rate); extern void __init mmp_map_io(void); extern void __init mmp2_map_io(void);
arch/arm/mach-mmp/common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/mmp-dt.c * * Copyright (C) 2012 Marvell Technology Group Ltd. * Author: Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/of_clk.h> #include <linux/clocksource.h> #include <asm/mach/arch.h> #include <asm/hardware/cache-tauros2.h...
arch/arm/mach-mmp/mmp-dt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/mmp2-dt.c * * Copyright (C) 2012 Marvell Technology Group Ltd. * Author: Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/of_clk.h> #include <linux/clocksource.h> #include <asm/mach/arch.h> #include <asm/hardware/cache-tauros2....
arch/arm/mach-mmp/mmp2-dt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Marvell MMP3 aka PXA2128 aka 88AP2128 support * * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk> */ #include <asm/mach/arch.h> #include <asm/hardware/cache-l2x0.h> #include "common.h" static const char *const mmp3_dt_board_compat[] __initconst = { "marvell,mmp...
arch/arm/mach-mmp/mmp3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk> */ #include <linux/io.h> #include <asm/smp_scu.h> #include <asm/smp.h> #include "addr-map.h" #define SW_BRANCH_VIRT_ADDR CIU_REG(0x24) static int mmp3_boot_secondary(unsigned int cpu, struct task_struct *idle) { /*...
arch/arm/mach-mmp/platsmp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Timers Module */ #ifndef __ASM_MACH_REGS_TIMERS_H #define __ASM_MACH_REGS_TIMERS_H #define TMR_CCR (0x0000) #define TMR_TN_MM(n, m) (0x0004 + ((n) << 3) + (((n) + (m)) << 2)) #define TMR_CR(n) (0x0028 + ((n) << 2)) #define TMR_SR(n) (0x0034 + ((n) << 2)) #define T...
arch/arm/mach-mmp/regs-timers.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-mmp/time.c * * Support for clocksource and clockevents * * Copyright (C) 2008 Marvell International Ltd. * All rights reserved. * * 2008-04-11: Jason Chagas <Jason.chagas@marvell.com> * 2008-10-08: Bin Yang <bin.yang@marvell.com> * * The...
arch/arm/mach-mmp/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Device Tree support for MStar/Sigmastar Armv7 SoCs * * Copyright (c) 2020 thingy.jp * Author: Daniel Palmer <daniel@thingy.jp> */ #include <linux/init.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <linux/of.h> #include <linux/of_address.h> #include <linu...
arch/arm/mach-mstar/mstarv7.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_ARCH_BRIDGE_REGS_H #define __ASM_ARCH_BRIDGE_REGS_H #include "mv78xx0.h" #define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) #define L2_WRITETHROUGH 0x00020000 #define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) #define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x01...
arch/arm/mach-mv78xx0/bridge-regs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mv78xx0/buffalo-wxl-setup.c * * Buffalo WXL (Terastation Duo) Setup routines * * sebastien requiem <sebastien@requiem.fr> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/ata_platform.h> #include <l...
arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mv78xx0/common.c * * Core functions for Marvell MV78xx0 SoCs */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/serial_8250.h> #include <linux/ata_platform.h> #include <linux/clk-p...
arch/arm/mach-mv78xx0/common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-mv78xx0/common.h * * Core functions for Marvell MV78xx0 SoCs */ #ifndef __ARCH_MV78XX0_COMMON_H #define __ARCH_MV78XX0_COMMON_H #include <linux/reboot.h> struct mv643xx_eth_platform_data; struct mv_sata_platform_data; /* * Basic MV78xx0 init functi...
arch/arm/mach-mv78xx0/common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mv78xx0/irq.c * * MV78xx0 IRQ handling. */ #include <linux/gpio.h> #include <linux/kernel.h> #include <linux/irq.h> #include <linux/io.h> #include <asm/exception.h> #include <plat/orion-gpio.h> #include <plat/irq.h> #include "bridge-regs.h" #include "commo...
arch/arm/mach-mv78xx0/irq.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* IRQ definitions for Marvell MV78xx0 SoCs */ #ifndef __ASM_ARCH_IRQS_H #define __ASM_ARCH_IRQS_H /* * MV78xx0 Low Interrupt Controller */ #define IRQ_MV78XX0_ERR 0 #define IRQ_MV78XX0_SPI 1 #define IRQ_MV78XX0_I2C_0 2 #define IRQ_MV78XX0_I2C_1 3 #define IRQ_MV78XX0_ID...
arch/arm/mach-mv78xx0/irqs.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mv78x00/mpp.c * * MPP functions for Marvell MV78x00 SoCs */ #include <linux/gpio.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <plat/mpp.h> #include "mv78xx0.h" #include "common.h" #include "mpp.h" static unsigned int...
arch/arm/mach-mv78xx0/mpp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mach-mv78xx0/mpp.h -- Multi Purpose Pins * * sebastien requiem <sebastien@requiem.fr> */ #ifndef __MV78X00_MPP_H #define __MV78X00_MPP_H #define MPP(_num, _sel, _in, _out, _78100_A0) (\ /* MPP number */ ((_num) & 0xff) | \ /* MPP selec...
arch/arm/mach-mv78xx0/mpp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Generic definitions for Marvell MV78xx0 SoC flavors: * MV781x0 and MV782x0. */ #ifndef __ASM_ARCH_MV78XX0_H #define __ASM_ARCH_MV78XX0_H #include "irqs.h" /* * Marvell MV78xx0 address maps. * * phys * c0000000 PCIe Memory space * f0800000 PCIe #0 I/O space *...
arch/arm/mach-mv78xx0/mv78xx0.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mv78xx0/pcie.c * * PCIe functions for Marvell MV78xx0 SoCs */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/mbus.h> #include <video/vga.h> #include <asm/irq.h> #include <asm/mach/pci.h> #include <plat/pcie.h> #include "mv78xx0.h" #inclu...
arch/arm/mach-mv78xx0/pcie.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Generic definitions for Marvell Armada_370_XP SoCs * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #ifndef __MACH_ARMADA_370_XP...
arch/arm/mach-mvebu/armada-370-xp.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree support for Armada 370 and XP platforms. * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #include <linux/kernel.h> #in...
arch/arm/mach-mvebu/board-v7.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Coherency fabric (Aurora) support for Armada 370, 375, 38x and XP * platforms. * * Copyright (C) 2012 Marvell * * Yehuda Yitschak <yehuday@marvell.com> * Gregory Clement <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> *...
arch/arm/mach-mvebu/coherency.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-mvebu/include/mach/coherency.h * * Coherency fabric (Aurora) support for Armada 370 and XP platforms. * * Copyright (C) 2012 Marvell */ #ifndef __MACH_370_XP_COHERENCY_H #define __MACH_370_XP_COHERENCY_H extern void __iomem *coherency_base; /* for c...
arch/arm/mach-mvebu/coherency.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Coherency fabric: low level functions * * Copyright (C) 2012 Marvell * * Gregory CLEMENT <gregory.clement@free-electrons.com> * * This file implements the assembly function to add a CPU to the * coherency fabric. This function is called by each of the secondary ...
arch/arm/mach-mvebu/coherency_ll.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Core functions for Marvell System On Chip * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #ifndef __ARCH_MVEBU_COMMON_H #define...
arch/arm/mach-mvebu/common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #define pr_fmt(fmt) "mvebu-cpureset: " fmt #include <linux/kernel.h> #include <linux/init.h> #include <linux/of_address.h> #include <linux/io.h> #include <linux/resource.h> #incl...
arch/arm/mach-mvebu/cpu-reset.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-mvebu/dove.c * * Marvell Dove 88AP510 System On Chip FDT Board */ #include <linux/init.h> #include <linux/mbus.h> #include <linux/of.h> #include <linux/soc/dove/pmu.h> #include <asm/hardware/cache-tauros2.h> #include <asm/mach/arch.h> #include "common.h" ...
arch/arm/mach-mvebu/dove.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * SMP support: Entry point for secondary CPUs of Marvell EBU * Cortex-A9 based SOCs (Armada 375 and Armada 38x). * * Copyright (C) 2014 Marvell * * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #in...
arch/arm/mach-mvebu/headsmp-a9.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * SMP support: Entry point for secondary CPUs * * Copyright (C) 2012 Marvell * * Yehuda Yitschak <yehuday@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * * This file implements the asse...
arch/arm/mach-mvebu/headsmp.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Power Management driver for Marvell Kirkwood SoCs * * Copyright (C) 2013 Ezequiel Garcia <ezequiel@free-electrons.com> * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com> */ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> #include "kirkwoo...
arch/arm/mach-mvebu/kirkwood-pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Power Management driver for Marvell Kirkwood SoCs * * Copyright (C) 2013 Ezequiel Garcia <ezequiel@free-electrons.com> * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com> */ #ifndef __ARCH_KIRKWOOD_PM_H #define __ARCH_KIRKWOOD_PM_H #ifdef CONFIG_PM void kirkwood...
arch/arm/mach-mvebu/kirkwood-pm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2012 (C), Jason Cooper <jason@lakedaemon.net> * * arch/arm/mach-mvebu/kirkwood.c * * Flattened Device Tree board initialization */ #include <linux/clk.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/mbus.h> #include <linux/of.h> #includ...
arch/arm/mach-mvebu/kirkwood.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-mvebu/kirkwood.h * * Generic definitions for Marvell Kirkwood SoC flavors: * 88F6180, 88F6192 and 88F6281. */ #define KIRKWOOD_REGS_PHYS_BASE 0xf1000000 #define DDR_PHYS_BASE (KIRKWOOD_REGS_PHYS_BASE + 0x00000) #define BRIDGE_PHYS_BASE (KIRK...
arch/arm/mach-mvebu/kirkwood.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * ID and revision information for mvebu SoCs * * Copyright (C) 2014 Marvell * * Gregory CLEMENT <gregory.clement@free-electrons.com> * * All the mvebu SoCs have information related to their variant and * revision that can be read from the PCI control register. This is...
arch/arm/mach-mvebu/mvebu-soc-id.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Marvell EBU SoC ID and revision definitions. * * Copyright (C) 2014 Marvell Semiconductor */ #ifndef __LINUX_MVEBU_SOC_ID_H #define __LINUX_MVEBU_SOC_ID_H /* Armada XP ID */ #define MV78230_DEV_ID 0x7823 #define MV78260_DEV_ID 0x7826 #define MV78460_DEV_ID ...
arch/arm/mach-mvebu/mvebu-soc-id.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Symmetric Multi Processing (SMP) support for Marvell EBU Cortex-A9 * based SOCs (Armada 375/38x). * * Copyright (C) 2014 Marvell * * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #include <linux/ini...
arch/arm/mach-mvebu/platsmp-a9.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Symmetric Multi Processing (SMP) support for Armada XP * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Yehuda Yitschak <yehuday@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electr...
arch/arm/mach-mvebu/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Board-level suspend/resume support. * * Copyright (C) 2014-2015 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #include <linux/delay.h> #include <linux/err.h> #include <linux/gpio/consumer.h> #include <linux/init.h> #include <linux/io.h> #inclu...
arch/arm/mach-mvebu/pm-board.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Suspend/resume support. Currently supporting Armada XP only. * * Copyright (C) 2014 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */ #include <linux/cpu_pm.h> #include <linux/delay.h> #include <linux/gpio.h> #include <linux/io.h> #include <linux/...
arch/arm/mach-mvebu/pm.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Power Management Service Unit(PMSU) support for Armada 370/XP platforms. * * Copyright (C) 2012 Marvell * * Yehuda Yitschak <yehuday@marvell.com> * Gregory Clement <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * * The...
arch/arm/mach-mvebu/pmsu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. * * Copyright (C) 2012 Marvell */ #ifndef __MACH_MVEBU_PMSU_H #define __MACH_MVEBU_PMSU_H int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); int mvebu_setup_boot_addr_wa(unsigned i...
arch/arm/mach-mvebu/pmsu.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * Gregory Clement <gregory.clement@free-electrons.com> */ #include <linux/linkage.h> #include <asm/assembler.h> ENTRY(armada_38x_scu_power_up) mrc p15, 4, r1, c15, c0 @ get...
arch/arm/mach-mvebu/pmsu_ll.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * System controller support for Armada 370, 375 and XP platforms. * * Copyright (C) 2012 Marvell * * Lior Amsalem <alior@marvell.com> * Gregory CLEMENT <gregory.clement@free-electrons.com> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * * The Armada 370, 3...
arch/arm/mach-mvebu/system-controller.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Linaro Ltd. */ #include <linux/clk.h> #include <linux/clk/mxs.h> #include <linux/clkdev.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/gpio.h> #include <linux/init.h> #include <linux/r...
arch/arm/mach-mxs/mach-mxs.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> #include "pm.h" static int mxs_suspend_enter(suspend_state_t state) { switch (state) { case PM_SUSPEND_MEM: cpu_do_idle(); break; d...
arch/arm/mach-mxs/pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013 Freescale Semiconductor, Inc. */ #ifndef __ARCH_MXS_PM_H #define __ARCH_MXS_PM_H #ifdef CONFIG_PM void mxs_pm_init(void); #else #define mxs_pm_init NULL #endif #endif
arch/arm/mach-mxs/pm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright STMicroelectronics, 2007. */ #include <linux/types.h> #include <linux/init.h> #include <linux/io.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/mach-types.h> /* * These are the only hard-coded address offsets we still have to use. ...
arch/arm/mach-nomadik/cpu-8815.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018 Nuvoton Technology corporation. // Copyright 2018 Google, Inc. #include <linux/linkage.h> #include <linux/init.h> #include <asm/assembler.h> .arch armv7-a /* * The boot ROM does not start secondary CPUs in SVC mode, so we need to do that * here. */ ENTRY(n...
arch/arm/mach-npcm/headsmp.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018 Nuvoton Technology corporation. // Copyright 2018 Google, Inc. #include <linux/kernel.h> #include <linux/types.h> #include <asm/mach/arch.h> #include <asm/mach-types.h> #include <asm/mach/map.h> #include <asm/hardware/cache-l2x0.h> static const char *const npc...
arch/arm/mach-npcm/npcm7xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018 Nuvoton Technology corporation. // Copyright 2018 Google, Inc. #define pr_fmt(fmt) "nuvoton,npcm7xx-smp: " fmt #include <linux/delay.h> #include <linux/smp.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <asm/cacheflush.h>...
arch/arm/mach-npcm/platsmp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 // Copyright 2021 Jonathan Neuschäfer #include <asm/mach/arch.h> static const char *const wpcm450_dt_match[] = { "nuvoton,wpcm450", NULL }; DT_MACHINE_START(WPCM450_DT, "WPCM450 chip") .dt_compat = wpcm450_dt_match, MACHINE_END
arch/arm/mach-npcm/wpcm450.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mach-omap1/ams-delta-fiq-handler.S * * Based on linux/arch/arm/lib/floppydma.S * Renamed and modified to work with 2.6 kernel by Matt Callow * Copyright (C) 1995, 1996 Russell King * Copyright (C) 2004 Pete Trapps * Copyright (C) 2006 Matt Ca...
arch/arm/mach-omap1/ams-delta-fiq-handler.S
null
null
null
null
null