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 /* * GE IMP3A Board Setup * * Author Martyn Welch <martyn.welch@ge.com> * * Copyright 2010 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc85xx_ds.c (MPC85xx DS Board Setup) * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h>...
arch/powerpc/platforms/85xx/ge_imp3a.c
null
null
null
null
null
source
linux
/* * Board setup routines for the Emerson KSI8560 * * Author: Alexandr Smirnov <asmirnov@ru.mvista.com> * * Based on mpc85xx_ads.c maintained by Kumar Gala * * 2008 (c) MontaVista, Software, Inc. This file is licensed under * or implied. * */ #include <linux/stddef.h> #include <linux/kernel.h> #include <lin...
arch/powerpc/platforms/85xx/ksi8560.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC8536 DS Board Setup * * Copyright 2008 Freescale Semiconductor, Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/kdev_t.h> #include <linux/delay.h> #include <linux/seq_file.h> #include <linux/interrupt.h> #includ...
arch/powerpc/platforms/85xx/mpc8536_ds.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef MPC85xx_H #define MPC85xx_H extern int mpc85xx_common_publish_devices(void); #ifdef CONFIG_CPM2 extern void mpc85xx_cpm2_pic_init(void); #else static inline void __init mpc85xx_cpm2_pic_init(void) {} #endif /* CONFIG_CPM2 */ #ifdef CONFIG_QUICC_ENGINE extern void mpc85xx...
arch/powerpc/platforms/85xx/mpc85xx.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx 8259 functions for DS Board Setup * * Author Xianghua Xiao (x.xiao@freescale.com) * Roy Zang <tie-fei.zang@freescale.com> * - Add PCI/PCI Express support * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kern...
arch/powerpc/platforms/85xx/mpc85xx_8259.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx DS Board Setup * * Author Xianghua Xiao (x.xiao@freescale.com) * Roy Zang <tie-fei.zang@freescale.com> * - Add PCI/PCI Exprees support * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/p...
arch/powerpc/platforms/85xx/mpc85xx_ds.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2006-2010, 2012-2013 Freescale Semiconductor, Inc. * All rights reserved. * * Author: Andy Fleming <afleming@freescale.com> * * Based on 83xx/mpc8360e_pb.c by: * Li Yang <LeoLi@freescale.com> * Yin Olivia <Hong-hua.Yin@freescale.com> * * De...
arch/powerpc/platforms/85xx/mpc85xx_mds.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx PM operators * * Copyright 2015 Freescale Semiconductor Inc. */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/fsl/guts.h> #include <asm/io.h> #include <asm/fsl_pm.h> ...
arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC85xx RDB Board Setup * * Copyright 2009,2012-2013 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/kdev_t.h> #include <linux/delay.h> #include <linux/seq_file.h> #include <linux/interrupt....
arch/powerpc/platforms/85xx/mpc85xx_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Board setup routines for the Emerson/Artesyn MVME2500 * * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A. * * Based on earlier code by: * * Xianghua Xiao (x.xiao@freescale.com) * Tom Armistead (tom.armistead@emerson.com) * Copyright 2012 Emerson * * Autho...
arch/powerpc/platforms/85xx/mvme2500.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * P1010RDB Board Setup * * Copyright 2011 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/of.h> #include <asm/time.h> #include <asm/machd...
arch/powerpc/platforms/85xx/p1010rdb.c
null
null
null
null
null
source
linux
/* * P1022DS board specific routines * * Authors: Travis Wheatley <travis.wheatley@freescale.com> * Dave Liu <daveliu@freescale.com> * Timur Tabi <timur@freescale.com> * * Copyright 2010 Freescale Semiconductor, Inc. * * This file is taken from the Freescale P1022DS BSP, with modifications: ...
arch/powerpc/platforms/85xx/p1022_ds.c
null
null
null
null
null
source
linux
/* * P1022 RDK board specific routines * * Copyright 2012 Freescale Semiconductor, Inc. * * Author: Timur Tabi <timur@freescale.com> * * Based on p1022_ds.c * * kind, whether express or implied. */ #include <linux/fsl/guts.h> #include <linux/pci.h> #include <linux/of.h> #include <linux/of_address.h> #include...
arch/powerpc/platforms/85xx/p1022_rdk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2010-2011, 2013 Freescale Semiconductor, Inc. * * Author: Roy Zang <tie-fei.zang@freescale.com> * * Description: * P1023 RDB Board Setup */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/pci.h> #include <linu...
arch/powerpc/platforms/85xx/p1023_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale P2020 board Setup * * Copyright 2007,2009,2012-2013 Freescale Semiconductor Inc. * Copyright 2022-2023 Pali Rohár <pali@kernel.org> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/udbg....
arch/powerpc/platforms/85xx/p2020.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * ppa8548 setup and early boot code. * * Copyright 2009 Prodrive B.V.. * * By Stef van Os (see MAINTAINERS for contact information) * * Based on the SBC8548 support - Copyright 2007 Wind River Systems Inc. * Based on the MPC8548CDS support - Copyright 2005 Freesca...
arch/powerpc/platforms/85xx/ppa8548.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Paravirt target for a generic QEMU e500 machine * * This is intended to be a flexible device-tree-driven platform, not fixed * to a particular piece of hardware or a particular spec of virtual hardware, * beyond the assumption of an e500-family CPU. Some things ar...
arch/powerpc/platforms/85xx/qemu_e500.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Servergy CTS-1000 Setup * * Maintained by Ben Collins <ben.c@servergy.com> * * Copyright 2012 by Servergy, Inc. */ #define pr_fmt(fmt) "gpio-halt: " fmt #include <linux/err.h> #include <linux/platform_device.h> #include <linux/device.h> #include <linux/gpio/cons...
arch/powerpc/platforms/85xx/sgy_cts1000.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Author: Andy Fleming <afleming@freescale.com> * Kumar Gala <galak@kernel.crashing.org> * * Copyright 2006-2008, 2011-2012, 2015 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/sched/hotplug.h> #include <linux...
arch/powerpc/platforms/85xx/smp.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef POWERPC_85XX_SMP_H_ #define POWERPC_85XX_SMP_H_ 1 #include <linux/init.h> #ifdef CONFIG_SMP void __init mpc85xx_smp_init(void); int __init mpc85xx_setup_pmc(void); #else static inline void mpc85xx_smp_init(void) { /* Nothing to do */ } #endif #endif /* not POWERPC_85XX...
arch/powerpc/platforms/85xx/smp.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2008 Emcraft Systems * Sergei Poselenov <sposelenov@emcraft.com> * * Based on MPC8560 ADS and arch/ppc tqm85xx ports * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2008 Freescale Semiconductor Inc. * * Copyri...
arch/powerpc/platforms/85xx/socrates.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Ilya Yanok, Emcraft Systems */ #include <linux/irq.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/io.h> #include "socrates_fpga_pic.h" /* * The FPGA supports 9 interrupt sources, which can be routed to 3 * interrupt req...
arch/powerpc/platforms/85xx/socrates_fpga_pic.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2008 Ilya Yanok, Emcraft Systems */ #ifndef SOCRATES_FPGA_PIC_H #define SOCRATES_FPGA_PIC_H void __init socrates_fpga_pic_init(struct device_node *pic); #endif
arch/powerpc/platforms/85xx/socrates_fpga_pic.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Based on MPC8560 ADS and arch/ppc stx_gp3 ports * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2008 Freescale Semiconductor Inc. * * Dan Malek <dan@embeddededge.com> * Copyright 2004 Embedded Edge, LLC * * Copied from mpc8...
arch/powerpc/platforms/85xx/stx_gp3.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * T1042 platform DIU operation * * Copyright 2014 Freescale Semiconductor Inc. */ #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <sysdev/fsl_soc.h> /*DIU...
arch/powerpc/platforms/85xx/t1042rdb_diu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Based on MPC8560 ADS and arch/ppc tqm85xx ports * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2008 Freescale Semiconductor Inc. * * Copyright (c) 2005-2006 DENX Software Engineering * Stefan Roese <sr@denx.de> * * Based o...
arch/powerpc/platforms/85xx/tqm85xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2010-2011, 2013 Freescale Semiconductor, Inc. * * Author: Michael Johnston <michael.johnston@freescale.com> * * Description: * TWR-P102x Board Setup */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/fsl/guts....
arch/powerpc/platforms/85xx/twr_p102x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009 Extreme Engineering Solutions, Inc. * * X-ES board-specific functionality * * Based on mpc85xx_ds code from Freescale Semiconductor, Inc. * * Author: Nate Case <ncase@xes-inc.com> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <l...
arch/powerpc/platforms/85xx/xes_mpc85xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Routines common to most mpc86xx-based boards. */ #include <linux/init.h> #include <linux/mod_devicetable.h> #include <linux/of_platform.h> #include <asm/reg.h> #include <asm/synch.h> #include "mpc86xx.h" static const struct of_device_id mpc86xx_common_ids[] __initconst...
arch/powerpc/platforms/86xx/common.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * GE PPC9A board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * * NEC f...
arch/powerpc/platforms/86xx/gef_ppc9a.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * GE SBC310 board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * * NEC ...
arch/powerpc/platforms/86xx/gef_sbc310.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * GE SBC610 board support * * Author: Martyn Welch <martyn.welch@ge.com> * * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: mpc86xx_hpcn.c (MPC86xx HPCN board specific routines) * Copyright 2006 Freescale Semiconductor Inc. * * NEC ...
arch/powerpc/platforms/86xx/gef_sbc610.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2006 Freescale Semiconductor Inc. */ #ifndef __MPC86XX_H__ #define __MPC86XX_H__ /* * Declaration for the various functions exported by the * mpc86xx_* files. Mostly for use by mpc86xx_setup(). */ extern void mpc86xx_smp_init(void); extern void mpc8...
arch/powerpc/platforms/86xx/mpc86xx.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Author: Xianghua Xiao <x.xiao@freescale.com> * Zhang Wei <wei.zhang@freescale.com> * * Copyright 2006 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/pgtab...
arch/powerpc/platforms/86xx/mpc86xx_smp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Board setup routines for the Emerson/Artesyn MVME7100 * * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A. * * Author: Alessio Igor Bogani <alessio.bogani@elettra.eu> * * Based on earlier code by: * * Ajit Prem <ajit.prem@emerson.com> * Copyright 2008 Emers...
arch/powerpc/platforms/86xx/mvme7100.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2008 Freescale Semiconductor, Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/of_irq.h> #include <asm/mpic.h> #include <asm/i8259.h> #include "mpc86xx.h" #ifdef CONFIG_PPC_I82...
arch/powerpc/platforms/86xx/pic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* Analogue & Micro Adder MPC875 board support * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2007 Freescale Semiconductor, Inc. */ #include <linux/init.h> #include <linux/of_platform.h> #include <asm/time.h> #include <asm/machdep.h> #include <asm/cpm1...
arch/powerpc/platforms/8xx/adder875.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Interrupt controller for the * Communication Processor Module. * Copyright (c) 1997 Dan error_act (dmalek@jlc.net) */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/irqdomain.h> #include <linux/platform_device.h> #include <asm/cpm1.h> struct cpm_pic_...
arch/powerpc/platforms/8xx/cpm1-ic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * General Purpose functions for the global management of the * Communication Processor Module. * Copyright (c) 1997 Dan error_act (dmalek@jlc.net) * * In addition to the individual control of the communication * channels, there are a few functions that globally affect the *...
arch/powerpc/platforms/8xx/cpm1.c
null
null
null
null
null
source
linux
/* * Platform setup for the Embedded Planet EP88xC board * * Author: Scott Wood <scottwood@freescale.com> * Copyright 2007 Freescale Semiconductor, Inc. * * kind, whether express or implied. */ #include <linux/init.h> #include <linux/of_address.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> #inclu...
arch/powerpc/platforms/8xx/ep88xc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1995 Linus Torvalds * Adapted from 'alpha' version by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu) * Modified for MBX using prep/chrp/pmac functions by Dan (dmalek@jlc.net) * Further modified for generic 8xx by Dan. */ /* * bootup setup stu...
arch/powerpc/platforms/8xx/m8xx_setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* */ #include <linux/kernel.h> #include <linux/printk.h> #include <linux/ptrace.h> #include <asm/reg.h> int machine_check_8xx(struct pt_regs *regs) { unsigned long reason = regs->msr; pr_err("Machine check in kernel mode.\n"); pr_err("Caused by (from SRR1=%lx): ", r...
arch/powerpc/platforms/8xx/machine_check.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Microcode patches for the CPM as supplied by Motorola. * This is the one for IIC/SPI. There is a newer one that * also relocates SMC2, but this would require additional changes * to uart.c, so I am holding off on that for a moment. */ #include <linux/init.h> #include <lin...
arch/powerpc/platforms/8xx/micropatch.c
null
null
null
null
null
source
linux
/* * A collection of structures, addresses, and values associated with * the Freescale MPC86xADS board. * Copied from the FADS stuff. * * Author: MontaVista Software, Inc. * source@mvista.com * * 2005 (c) MontaVista Software, Inc. This file is licensed under the */ #ifdef __KERNEL__ #ifndef __ASM_MPC...
arch/powerpc/platforms/8xx/mpc86xads.h
null
null
null
null
null
source
linux
/*arch/powerpc/platforms/8xx/mpc86xads_setup.c * * Platform setup for the Freescale mpc86xads board * * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copyright 2007 Freescale Semiconductor, Inc. * * kind, wheth...
arch/powerpc/platforms/8xx/mpc86xads_setup.c
null
null
null
null
null
source
linux
/* * A collection of structures, addresses, and values associated with * the Freescale MPC885ADS board. * Copied from the FADS stuff. * * Author: MontaVista Software, Inc. * source@mvista.com * * 2005 (c) MontaVista Software, Inc. This file is licensed under the */ #ifdef __KERNEL__ #ifndef __ASM_MPC...
arch/powerpc/platforms/8xx/mpc885ads.h
null
null
null
null
null
source
linux
/* * Platform setup for the Freescale mpc885ads board * * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copyright 2007 Freescale Semiconductor, Inc. * * kind, whether express or implied. */ #include <linux/ini...
arch/powerpc/platforms/8xx/mpc885ads_setup.c
null
null
null
null
null
source
linux
/* * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips * May need to be cleaned as the port goes on ... * * Copyright (C) 2008 Jochen Friedrich <jochen@scram.de> * * kind, whether express or implied. */ #ifndef __MPC8xx_H #define __MPC8xx_H extern void __noreturn mpc8xx_restart(char *cmd); extern voi...
arch/powerpc/platforms/8xx/mpc8xx.h
null
null
null
null
null
source
linux
#include <linux/kernel.h> #include <linux/stddef.h> #include <linux/sched.h> #include <linux/signal.h> #include <linux/irq.h> #include <linux/dma-mapping.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <asm/irq.h> #include <asm/io.h> #include <asm/8xx_immap.h> #include "pic.h" #define PIC_VEC_SPU...
arch/powerpc/platforms/8xx/pic.c
null
null
null
null
null
source
linux
#ifndef _PPC_KERNEL_MPC8xx_H #define _PPC_KERNEL_MPC8xx_H #include <linux/irq.h> #include <linux/interrupt.h> void mpc8xx_pic_init(void); unsigned int mpc8xx_get_irq(void); /* * Some internal interrupt registers use an 8-bit mask for the interrupt * level instead of a number. */ static inline uint mk_int_int_mask...
arch/powerpc/platforms/8xx/pic.h
null
null
null
null
null
source
linux
/* * Platform setup for the MPC8xx based boards from TQM. * * Heiko Schocher <hs@denx.de> * Copyright 2010 DENX Software Engineering GmbH * * based on: * Vitaly Bordug <vbordug@ru.mvista.com> * * Copyright 2005 MontaVista Software Inc. * * Heavily modified by Scott Wood <scottwood@freescale.com> * Copyright...
arch/powerpc/platforms/8xx/tqm8xx_setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * AmigaOne platform setup * * Copyright 2008 Gerhard Pircher (gerhard_pircher@gmx.net) * * Based on original amigaone_setup.c source code * Copyright 2003 by Hans-Joerg Frieden and Thomas Frieden */ #include <linux/irqdomain.h> #include <linux/kernel.h> #include...
arch/powerpc/platforms/amigaone/setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * VAS user space API for its accelerators (Only NX-GZIP is supported now) * Copyright (C) 2019 Haren Myneni, IBM Corp */ #define pr_fmt(fmt) "vas-api: " fmt #include <linux/kernel.h> #include <linux/device.h> #include <linux/cdev.h> #include <linux/fs.h> #include <li...
arch/powerpc/platforms/book3s/vas-api.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Low-level SPU handling * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #undef DEBUG #include <linux/interrupt.h> #include <linux/list.h> #include <linux/init.h> #include <linux/ptrace.h> #include <linux/sla...
arch/powerpc/platforms/cell/spu_base.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * System call callback functions for SPUs */ #undef DEBUG #include <linux/kallsyms.h> #include <linux/export.h> #include <linux/syscalls.h> #include <asm/spu.h> #include <asm/syscalls.h> #include <asm/unistd.h> /* * This table defines the system calls that an SPU can c...
arch/powerpc/platforms/cell/spu_callbacks.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- system call stubs * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * (C) Copyright 2006-2007, IBM Corporation * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/file.h> #include <linux/fs.h> #include <linux/module.h> #includ...
arch/powerpc/platforms/cell/spu_syscalls.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* backing_ops.c - query/set operations on saved SPU context. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> * * These register operations allow SPUFS to operate on saved * SPU contexts rather than hardware. */ #include <linux/errno.h> #include...
arch/powerpc/platforms/cell/spufs/backing_ops.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- SPU context management * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/fs.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/atomic.h> #include <linux/sched.h...
arch/powerpc/platforms/cell/spufs/context.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU core dump code * * (C) Copyright 2006 IBM Corp. * * Author: Dwayne Grant McConnell <decimal@us.ibm.com> */ #include <linux/elf.h> #include <linux/file.h> #include <linux/fdtable.h> #include <linux/fs.h> #include <linux/gfp.h> #include <linux/list.h> #include ...
arch/powerpc/platforms/cell/spufs/coredump.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Low-level SPU handling * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/sched/signal.h> #include <linux/mm.h> #include <asm/spu.h> #include <asm/spu_csa.h> #include "spufs.h" /** * Handle a...
arch/powerpc/platforms/cell/spufs/fault.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system -- file contents * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #undef DEBUG #include <linux/coredump.h> #include <linux/fs.h> #include <linux/ioctl.h> #include <linux/export.h> #include <l...
arch/powerpc/platforms/cell/spufs/file.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/list.h> #include <linux/slab.h> #include "spufs.h" struct spu_gang *alloc_spu_gang(void) { struct spu_gang *gang; gang = k...
arch/powerpc/platforms/cell/spufs/gang.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* hw_ops.c - query/set operations on active SPU context. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/poll.h> #include <linux/s...
arch/powerpc/platforms/cell/spufs/hw_ops.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU file system * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #include <linux/file.h> #include <linux/fs.h> #include <linux/fs_context.h> #include <linux/fs_parser.h> #include <linux/fsnotify.h> #include ...
arch/powerpc/platforms/cell/spufs/inode.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * SPU local store allocation routines * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. */ #undef DEBUG #include <linux/kernel.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <asm/spu.h> #include <asm/spu_csa.h> #include <asm...
arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #define DEBUG #include <linux/wait.h> #include <linux/ptrace.h> #include <asm/spu.h> #include <asm/spu_priv1.h> #include <asm/io.h> #include <asm/unistd.h> #include "spufs.h" /* interrupt-level stop callback function. */ void spufs_stop_callback(struct spu *spu, int irq) { struc...
arch/powerpc/platforms/cell/spufs/run.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* sched.c - SPU scheduler. * * Copyright (C) IBM 2005 * Author: Mark Nutter <mnutter@us.ibm.com> * * 2006-03-31 NUMA domains added. */ #undef DEBUG #include <linux/errno.h> #include <linux/sched/signal.h> #include <linux/sched/loadavg.h> #include <linux/sched/rt.h> ...
arch/powerpc/platforms/cell/spufs/sched.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * spu_restore.c * * (C) Copyright IBM Corp. 2005 * * SPU-side context restore sequence outlined in * Synergistic Processor Element Book IV * * Author: Mark Nutter <mnutter@us.ibm.com> */ #ifndef LS_SIZE #define LS_SIZE 0x40000 /* 256K (in bytes)...
arch/powerpc/platforms/cell/spufs/spu_restore.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * crt0_r.S: Entry function for SPU-side context restore. * * Copyright (C) 2005 IBM * * Entry and exit function for SPU-side of the context restore * sequence. Sets up an initial stack frame, then branches to * 'main'. On return, restores all 128 registers fro...
arch/powerpc/platforms/cell/spufs/spu_restore_crt0.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * spu_save.c * * (C) Copyright IBM Corp. 2005 * * SPU-side context save sequence outlined in * Synergistic Processor Element Book IV * * Author: Mark Nutter <mnutter@us.ibm.com> */ #ifndef LS_SIZE #define LS_SIZE 0x40000 /* 256K (in bytes) */ #e...
arch/powerpc/platforms/cell/spufs/spu_save.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * crt0_s.S: Entry function for SPU-side context save. * * Copyright (C) 2005 IBM * * Entry function for SPU-side of the context save sequence. * Saves all 128 GPRs, sets up an initial stack frame, then * branches to 'main'. */ #include <asm/spu_csa.h> .data ....
arch/powerpc/platforms/cell/spufs/spu_save_crt0.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * utils.h: Utilities for SPU-side of the context switch operation. * * (C) Copyright IBM 2005 */ #ifndef _SPU_CONTEXT_UTILS_H_ #define _SPU_CONTEXT_UTILS_H_ /* * 64-bit safe EA. */ typedef union { unsigned long long ull; unsigned int ui[2]; } addr64; /* * 1...
arch/powerpc/platforms/cell/spufs/spu_utils.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * SPU file system * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 * * Author: Arnd Bergmann <arndb@de.ibm.com> */ #ifndef SPUFS_H #define SPUFS_H #include <linux/kref.h> #include <linux/mutex.h> #include <linux/spinlock.h> #include <linux/fs.h> #include ...
arch/powerpc/platforms/cell/spufs/spufs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #if !defined(_TRACE_SPUFS_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_SPUFS_H #include <linux/tracepoint.h> #include <linux/stringify.h> #undef TRACE_SYSTEM #define TRACE_SYSTEM spufs TRACE_EVENT(spufs_context, TP_PROTO(struct spu_context *ctx, struct spu *spu, const...
arch/powerpc/platforms/cell/spufs/sputrace.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * spu_switch.c * * (C) Copyright IBM Corp. 2005 * * Author: Mark Nutter <mnutter@us.ibm.com> * * Host-side part of SPU context switch sequence outlined in * Synergistic Processor Element, Book IV. * * A fully premptive switch of an SPE is very expensive in terms...
arch/powerpc/platforms/cell/spufs/switch.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/file.h> #include <linux/fs.h> #include <linux/export.h> #include <linux/mount.h> #include <linux/namei.h> #include <linux/slab.h> #include <linux/uaccess.h> #include "spufs.h" /** * sys_spu_run - run code loaded into an SPU * * @unpc: next program counter for...
arch/powerpc/platforms/cell/spufs/syscalls.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Declarations of CHRP platform-specific things. */ extern void chrp_nvram_init(void); extern void chrp_get_rtc_time(struct rtc_time *); extern int chrp_set_rtc_time(struct rtc_time *); extern long chrp_time_init(void); extern void chrp_find_bridges(void);
arch/powerpc/platforms/chrp/chrp.h
null
null
null
null
null
source
linux
/* * include/asm-ppc/gg2.h -- VLSI VAS96011/12 `Golden Gate 2' register definitions * * Copyright (C) 1997 Geert Uytterhoeven * * This file is based on the following documentation: * * The VAS96011/12 Chipset, Data Book, Edition 1.0 * VLSI Technology, Inc. * * This file is subject to the terms and conditi...
arch/powerpc/platforms/chrp/gg2.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * c 2001 PPC 64 Team, IBM Corp * * /dev/nvram driver for PPC */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/spinlock.h> #include <linux/uaccess.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/rtas.h> #i...
arch/powerpc/platforms/chrp/nvram.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * CHRP pci routines. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <linux/pgtable.h> #include <linux/of_address.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/hydra.h> #include...
arch/powerpc/platforms/chrp/pci.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005 Sven Luther <sl@bplan-gmbh.de> * Thanks to : * Dale Farnsworth <dale@farnsworth.org> * Mark A. Greer <mgreer@mvista.com> * Nicolas DET <nd@bplan-gmbh.de> * Benjamin Herrenschmidt <benh@kernel.crashing.org> * And anyone else who helped me on this. */...
arch/powerpc/platforms/chrp/pegasos_eth.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1995 Linus Torvalds * Adapted from 'alpha' version by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu) */ /* * bootup setup stuff.. */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <lin...
arch/powerpc/platforms/chrp/setup.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Smp support for CHRP machines. * * Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great * deal of code from the sparc and intel versions. * * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> * */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/s...
arch/powerpc/platforms/chrp/smp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1991, 1992, 1995 Linus Torvalds * * Adapted for PowerPC (PReP) by Gary Thomas * Modified by Cort Dougan (cort@cs.nmt.edu). * Copied and modified from arch/i386/kernel/time.c * */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/kernel.h> #...
arch/powerpc/platforms/chrp/time.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/flipper-pic.c * * Nintendo GameCube/Wii "Flipper" interrupt controller support. * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #define DRV_MODULE_NAME "flipper-pic" #define pr_f...
arch/powerpc/platforms/embedded6xx/flipper-pic.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/flipper-pic.h * * Nintendo GameCube/Wii "Flipper" interrupt controller support. * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #ifndef __FLIPPER_PIC_H #define __FLIPPER_PIC_...
arch/powerpc/platforms/embedded6xx/flipper-pic.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/gamecube.c * * Nintendo GameCube board-specific support * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2007,2008,2009 Albert Herranz */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/irq.h> ...
arch/powerpc/platforms/embedded6xx/gamecube.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/hlwd-pic.c * * Nintendo Wii "Hollywood" interrupt controller support. * Copyright (C) 2009 The GameCube Linux Team * Copyright (C) 2009 Albert Herranz */ #define DRV_MODULE_NAME "hlwd-pic" #define pr_fmt(fmt) DRV_MODULE_NAME ": "...
arch/powerpc/platforms/embedded6xx/hlwd-pic.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/hlwd-pic.h * * Nintendo Wii "Hollywood" interrupt controller support. * Copyright (C) 2009 The GameCube Linux Team * Copyright (C) 2009 Albert Herranz */ #ifndef __HLWD_PIC_H #define __HLWD_PIC_H extern unsigned int hlwd_pic...
arch/powerpc/platforms/embedded6xx/hlwd-pic.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Board setup routines for the IBM 750GX/CL platform w/ TSI10x bridge * * Copyright 2007 IBM Corporation * * Stephen Winiecki <stevewin@us.ibm.com> * Josh Boyer <jwboyer@linux.vnet.ibm.com> * * Based on code from mpc7448_hpc2.c */ #include <linux/stddef.h> #include ...
arch/powerpc/platforms/embedded6xx/holly.c
null
null
null
null
null
source
linux
/* * Board setup routines for the Buffalo Linkstation / Kurobox Platform. * * Copyright (C) 2006 G. Liakhovetski (g.liakhovetski@gmx.de) * * Based on sandpoint.c by Mark A. Greer * * any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/initrd.h> #include <linux/of_platform.h> #inc...
arch/powerpc/platforms/embedded6xx/linkstation.c
null
null
null
null
null
source
linux
/* * AVR power-management chip interface for the Buffalo Linkstation / * Kurobox Platform. * * Author: 2006 (c) G. Liakhovetski * g.liakhovetski@gmx.de * * any kind, whether express or implied. */ #include <linux/workqueue.h> #include <linux/string.h> #include <linux/delay.h> #include <linux/serial_reg.h> #inc...
arch/powerpc/platforms/embedded6xx/ls_uart.c
null
null
null
null
null
source
linux
/* * Common routines for the Motorola SPS MPC106/8240/107 Host bridge/Mem * ctlr/EPIC/etc. * * Author: Mark A. Greer * mgreer@mvista.com * * 2001 (c) MontaVista, Software, Inc. This file is licensed under * or implied. */ #ifndef __PPC_KERNEL_MPC10X_H #define __PPC_KERNEL_MPC10X_H #include <linux/pci...
arch/powerpc/platforms/embedded6xx/mpc10x.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Board setup routines for the Motorola/Emerson MVME5100. * * Copyright 2013 CSC Australia Pty. Ltd. * * Based on earlier code by: * * Matt Porter, MontaVista Software Inc. * Copyright 2001 MontaVista Software Inc. * * Author: Stephen Chivers <schivers@csc...
arch/powerpc/platforms/embedded6xx/mvme5100.c
null
null
null
null
null
source
linux
/* * Board setup routines for the storcenter * * Copyright 2007 (C) Oyvind Repvik (nail@nslu2-linux.org) * Copyright 2007 Andy Wilcox, Jon Loeliger * * Based on linkstation.c by G. Liakhovetski * * any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/initrd...
arch/powerpc/platforms/embedded6xx/storcenter.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c * * udbg serial input/output routines for the USB Gecko adapter. * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #include <linux/of_address.h> #include <mm/mmu_decl....
arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h * * udbg serial input/output routines for the USB Gecko adapter. * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #ifndef __USBGECKO_UDBG_H #define __USBGECKO_UDBG_...
arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/embedded6xx/wii.c * * Nintendo Wii board-specific support * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz */ #define DRV_MODULE_NAME "wii" #define pr_fmt(fmt) DRV_MODULE_NAME ": " fmt #include <lin...
arch/powerpc/platforms/embedded6xx/wii.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MICROWATT_H #define _MICROWATT_H void microwatt_rng_init(void); void microwatt_init_smp(void); #endif /* _MICROWATT_H */
arch/powerpc/platforms/microwatt/microwatt.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Derived from arch/powerpc/platforms/powernv/rng.c, which is: * Copyright 2013, Michael Ellerman, IBM Corporation. */ #define pr_fmt(fmt) "microwatt-rng: " fmt #include <linux/kernel.h> #include <linux/smp.h> #include <asm/archrandom.h> #include <asm/cputable.h> #in...
arch/powerpc/platforms/microwatt/rng.c
null
null
null
null
null