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 /* * Hypervisor supplied "24x7" performance counter support * * Author: Cody P Schafer <cody@linux.vnet.ibm.com> * Copyright 2014 IBM Corporation. */ #define pr_fmt(fmt) "hv-24x7: " fmt #include <linux/perf_event.h> #include <linux/rbtree.h> #include <linux/module.h> ...
arch/powerpc/perf/hv-24x7.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_POWERPC_PERF_HV_24X7_H_ #define LINUX_POWERPC_PERF_HV_24X7_H_ #include <linux/types.h> enum hv_perf_domains { #define DOMAIN(n, v, x, c) HV_PERF_DOMAIN_##n = v, #include "hv-24x7-domains.h" #undef DOMAIN HV_PERF_DOMAIN_MAX, }; #define H24x7_REQUEST_SIZE(iface_ver...
arch/powerpc/perf/hv-24x7.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <asm/io.h> #include <asm/hvcall.h> #include "hv-gpci.h" #include "hv-common.h" unsigned long hv_perf_caps_get(struct hv_perf_caps *caps) { unsigned long r; struct p { struct hv_get_perf_counter_info_params params; struct hv_gpci_system_performance_capabilities caps; ...
arch/powerpc/perf/hv-common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_POWERPC_PERF_HV_COMMON_H_ #define LINUX_POWERPC_PERF_HV_COMMON_H_ #include <linux/perf_event.h> #include <linux/types.h> struct hv_perf_caps { u16 version; u16 collect_privileged:1, ga:1, expanded:1, lab:1, unused:12; }; unsigned long hv_perf...
arch/powerpc/perf/hv-common.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include "req-gen/_begin.h" /* * Based on the document "getPerfCountInfo v1.07" */ /* * #define REQUEST_NAME counter_request_name * #define REQUEST_NUM r_num * #define REQUEST_IDX_KIND starting_index_kind * #include I(REQUEST_BEGIN) * REQUEST( * __field(...) * __field(...
arch/powerpc/perf/hv-gpci-requests.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Hypervisor supplied "gpci" ("get performance counter info") performance * counter support * * Author: Cody P Schafer <cody@linux.vnet.ibm.com> * Copyright 2014 IBM Corporation. */ #define pr_fmt(fmt) "hv-gpci: " fmt #include <linux/init.h> #include <linux/perf_e...
arch/powerpc/perf/hv-gpci.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_POWERPC_PERF_HV_GPCI_H_ #define LINUX_POWERPC_PERF_HV_GPCI_H_ /* * counter info version => fw version/reference (spec version) * * 8 => power8 (1.07) * [7 is skipped by spec 1.07] * 6 => TLBIE (1.07) * 5 => v7r7m0.phyp (1.05) * [4 skipped] * 3 => v7r6m0.phyp...
arch/powerpc/perf/hv-gpci.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * In-Memory Collection (IMC) Performance Monitor counter support. * * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation. * (C) 2017 Anju T Sudhakar, IBM Corporation. * (C) 2017 Hemant K Shaw, IBM Corporation. */ #include <linux/of.h> #inclu...
arch/powerpc/perf/imc-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0+ // // Copyright 2019 Madhavan Srinivasan, IBM Corporation. int __init init_ppc970_pmu(void); int __init init_power5_pmu(void); int __init init_power5p_pmu(void); int __init init_power6_pmu(void); int __init init_power7_pmu(void); int __init init_power8_pmu(void); int __init init_po...
arch/powerpc/perf/internal.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Common Performance counter support functions for PowerISA v2.07 processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. * Copyright 2013 Michael Ellerman, IBM Corporation. * Copyright 2016 Madhavan Srinivasan, IBM Corporation. */ #include "isa207-common.h"...
arch/powerpc/perf/isa207-common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2009 Paul Mackerras, IBM Corporation. * Copyright 2013 Michael Ellerman, IBM Corporation. * Copyright 2016 Madhavan Srinivasan, IBM Corporation. */ #ifndef _LINUX_POWERPC_PERF_ISA207_COMMON_H_ #define _LINUX_POWERPC_PERF_ISA207_COMMON_H_ #include <lin...
arch/powerpc/perf/isa207-common.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * Description: PMUs specific to running nested KVM-HV guests * on Book3S processors (specifically POWER9 and later). */ #define pr_fmt(fmt) "kvmppc-pmu: " fmt #include "asm-generic/local64.h" #include <linux/kernel.h> #include <linux/errno.h> #include <linux/ratelimit.h> #in...
arch/powerpc/perf/kvm-hv-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for MPC7450-family processors. * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/string.h> #include <linux/perf_event.h> #include <asm/reg.h> #include <asm/cputable.h> #define N_COUNTER 6 /* Number of hardware c...
arch/powerpc/perf/mpc7450-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2016 Anju T, IBM Corporation. */ #include <linux/errno.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/sched/task_stack.h> #include <linux/perf_event.h> #include <linux/bug.h> #include <linux/stddef.h> #include <asm/ptrace.h> #include ...
arch/powerpc/perf/perf_regs.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Performance counter support for POWER10 processors. * * Copyright 2020 Madhavan Srinivasan, IBM Corporation. * Copyright 2020 Athira Rajeev, IBM Corporation. */ /* * Power10 event codes. */ EVENT(PM_CYC, 0x600f4); EVENT(PM_DISP_STALL_CYC, 0x100f8); EVENT...
arch/powerpc/perf/power10-events-list.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER10 processors. * * Copyright 2020 Madhavan Srinivasan, IBM Corporation. * Copyright 2020 Athira Rajeev, IBM Corporation. */ #define pr_fmt(fmt) "power10-pmu: " fmt #include "isa207-common.h" /* * Raw event encoding for Power...
arch/powerpc/perf/power10-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER5+/++ (not POWER5) processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/perf_event.h> #include <linux/string.h> #include <asm/reg.h> #include <asm/cputable.h> #include "int...
arch/powerpc/perf/power5+-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER5 (not POWER5++) processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/perf_event.h> #include <linux/string.h> #include <asm/reg.h> #include <asm/cputable.h> #include "inter...
arch/powerpc/perf/power5-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER6 processors. * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/perf_event.h> #include <linux/string.h> #include <asm/reg.h> #include <asm/cputable.h> #include "internal.h" /*...
arch/powerpc/perf/power6-pmu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Performance counter support for POWER7 processors. * * Copyright 2013 Runzhen Wang, IBM Corporation. */ EVENT(PM_IC_DEMAND_L2_BR_ALL, 0x04898) EVENT(PM_GCT_UTIL_7_TO_10_SLOTS, 0x020a0) EVENT(PM_PMC2_SAVED, 0x...
arch/powerpc/perf/power7-events-list.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER7 processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/perf_event.h> #include <linux/string.h> #include <asm/reg.h> #include <asm/cputable.h> #include "internal.h" /* * B...
arch/powerpc/perf/power7-pmu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Performance counter support for POWER8 processors. * * Copyright 2014 Sukadev Bhattiprolu, IBM Corporation. */ /* * Power8 event codes. */ EVENT(PM_CYC, 0x0001e) EVENT(PM_GCT_NOSLOT_CYC, 0x100f8) EVENT(PM_CMPLU_STALL, 0x4000a) EVENT(PM_INST_CMPL, 0...
arch/powerpc/perf/power8-events-list.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER8 processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. * Copyright 2013 Michael Ellerman, IBM Corporation. */ #define pr_fmt(fmt) "power8-pmu: " fmt #include "isa207-common.h" /* * Some power8 event codes. */ #de...
arch/powerpc/perf/power8-pmu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Performance counter support for POWER9 processors. * * Copyright 2016 Madhavan Srinivasan, IBM Corporation. */ /* * Power9 event codes. */ EVENT(PM_CYC, 0x0001e) EVENT(PM_ICT_NOSLOT_CYC, 0x100f8) EVENT(PM_CMPLU_STALL, 0x1e054) EVENT(PM_INST_CMPL, 0...
arch/powerpc/perf/power9-events-list.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for POWER9 processors. * * Copyright 2009 Paul Mackerras, IBM Corporation. * Copyright 2013 Michael Ellerman, IBM Corporation. * Copyright 2016 Madhavan Srinivasan, IBM Corporation. */ #define pr_fmt(fmt) "power9-pmu: " fmt #include "...
arch/powerpc/perf/power9-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for PPC970-family processors. * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/string.h> #include <linux/perf_event.h> #include <asm/reg.h> #include <asm/cputable.h> #include "internal.h" /* * Bits in event c...
arch/powerpc/perf/ppc970-pmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Perf interface to expose Dispatch Trace Log counters. * * Copyright (C) 2024 Kajol Jain, IBM Corporation */ #ifdef CONFIG_PPC_SPLPAR #define pr_fmt(fmt) "vpa_dtl: " fmt #include <asm/dtl.h> #include <linux/perf_event.h> #include <asm/plpar_wrappers.h> #include <li...
arch/powerpc/perf/vpa-dtl.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Performance monitoring support for Virtual Processor Area(VPA) based counters * * Copyright (C) 2024 IBM Corporation */ #define pr_fmt(fmt) "vpa_pmu: " fmt #include <linux/module.h> #include <linux/perf_event.h> #include <asm/kvm_ppc.h> #include <asm/kvm_book3s_64....
arch/powerpc/perf/vpa-pmu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* Include paths to be used in interface defining headers */ #ifndef POWERPC_PERF_REQ_GEN_H_ #define POWERPC_PERF_REQ_GEN_H_ #include <linux/stringify.h> #define CAT2_STR_(t, s) __stringify(t/s) #define CAT2_STR(t, s) CAT2_STR_(t, s) #define I(...) __VA_ARGS__ #endif #define R...
arch/powerpc/perf/req-gen/_begin.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #undef __field_ #undef __count_ #undef __array_ #undef REQUEST_
arch/powerpc/perf/req-gen/_clear.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #define REQUEST(r_contents) \ REQUEST_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, I(r_contents)) #define __field(f_offset, f_bytes, f_name) \ __field_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ f_offset, f_bytes, f_name) #define __array(f_offset, f_bytes, f_name) \ ...
arch/powerpc/perf/req-gen/_request-begin.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #undef REQUEST #undef __field #undef __array #undef __count #undef REQUEST_NAME #undef REQUEST_NUM #undef REQUEST_IDX_KIND
arch/powerpc/perf/req-gen/_request-end.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_POWERPC_PERF_REQ_GEN_PERF_H_ #define LINUX_POWERPC_PERF_REQ_GEN_PERF_H_ #include <linux/perf_event.h> #include <linux/stringify.h> #ifndef REQUEST_FILE #error "REQUEST_FILE must be defined before including" #endif #ifndef NAME_LOWER #error "NAME_LOWER must be defi...
arch/powerpc/perf/req-gen/perf.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * ULI M1575 setup code - specific to Freescale boards * * Copyright 2007 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/mc146818rtc.h> #include <linux/of_irq.h> ...
arch/powerpc/platforms/fsl_uli1575.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __POWERPC_PLATFORMS_44X_44X_H #define __POWERPC_PLATFORMS_44X_44X_H extern u8 as1_readb(volatile u8 __iomem *addr); extern void as1_writeb(u8 data, volatile u8 __iomem *addr); #define GPIO0_OSRH 0xC #define GPIO0_TSRH 0x14 #define GPIO0_ISR1H 0x34 #endif /* __POWERPC_P...
arch/powerpc/platforms/44x/44x.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * This contain platform specific code for APM PPC460EX based Canyonlands * board. * * Copyright (c) 2010, Applied Micro Circuits Corporation * Author: Rupjyoti Sarmah <rsarmah@apm.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <asm/pci-bridge.h> ...
arch/powerpc/platforms/44x/canyonlands.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PowerPC 4xx Clock and Power Management * * Copyright (C) 2010, Applied Micro Circuits Corporation * Victor Gallardo (vgallardo@apm.com) * * Based on arch/powerpc/platforms/44x/idle.c: * Jerone Young <jyoung5@us.ibm.com> * Copyright 2008 IBM Corp. * * Based on ...
arch/powerpc/platforms/44x/cpm.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Ebony board specific routines * * Matt Porter <mporter@kernel.crashing.org> * Copyright 2002-2005 MontaVista Software Inc. * * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * Copyright (c) 2003-2005 Zultys Technologies * * Rewritten and po...
arch/powerpc/platforms/44x/ebony.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * FSP-2 board specific routines * * Based on earlier code: * Matt Porter <mporter@kernel.crashing.org> * Copyright 2002-2005 MontaVista Software Inc. * * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * Copyright (c) 2003-2005 Zult...
arch/powerpc/platforms/44x/fsp2.c
null
null
null
null
null
source
linux
#ifndef _ASM_POWERPC_FSP_DCR_H_ #define _ASM_POWERPC_FSP_DCR_H_ #ifdef __KERNEL__ #include <asm/dcr.h> #define DCRN_CMU_ADDR 0x00C /* Chip management unic addr */ #define DCRN_CMU_DATA 0x00D /* Chip management unic data */ /* PLB4 Arbiter */ #define DCRN_PLB4_PCBI 0x010 /* PLB Crossbar ID/Rev Register */ #define D...
arch/powerpc/platforms/44x/fsp2.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * PPC4xx gpio driver * * Copyright (c) 2008 Harris Corporation * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * Copyright (c) MontaVista Software, Inc. 2008. * * Author: Steve Falco <sfalco@harris.com> */ #include <linux/kernel.h> #include <l...
arch/powerpc/platforms/44x/gpio.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MSI support for PPC4xx SoCs using High Speed Transfer Assist (HSTA) for * generation of the interrupt. * * Copyright © 2013 Alistair Popple <alistair@popple.id.au> IBM Corporation */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/msi.h> #in...
arch/powerpc/platforms/44x/hsta_msi.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2008 IBM Corp. * * Based on arch/powerpc/platforms/pasemi/idle.c: * Copyright (C) 2006-2007 PA Semi, Inc * * Added by: Jerone Young <jyoung5@us.ibm.com> */ #include <linux/of.h> #include <linux/kernel.h> #include <asm/machdep.h> static int mode_spin; s...
arch/powerpc/platforms/44x/idle.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PPC476 board specific routines * * Copyright 2010 Torez Smith, IBM Corporation. * * Based on earlier code: * Matt Porter <mporter@kernel.crashing.org> * Copyright 2002-2005 MontaVista Software Inc. * * Eugene Surovegin <eugene.surovegin@zultys.com> or ...
arch/powerpc/platforms/44x/iss4xx.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> #include <asm/cacheflush.h> int machine_check_4xx(struct pt_regs *regs) { unsigned long reason = regs->esr; if (reason & ESR_IMCP) { printk("Instruction"); mts...
arch/powerpc/platforms/44x/machine_check.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This file contains miscellaneous low-level functions for PPC 44x. * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation. */ #include <asm/reg.h> #include <asm/ppc_asm.h> .text /* * Do an IO access in AS1 */ _GLOBAL(as1_readb) mfmsr r7 ori r0,...
arch/powerpc/platforms/44x/misc_44x.S
null
null
null
null
null
source
linux
/* * PCI / PCI-X / PCI-Express support for 4xx parts * * Copyright 2007 Ben. Herrenschmidt <benh@kernel.crashing.org>, IBM Corp. * * Most PCI Express code is coming from Stefan Roese implementation for * arch/ppc in the Denx tree, slightly reworked by me. * * Copyright 2007 DENX Software Engineering, Stefan Roe...
arch/powerpc/platforms/44x/pci.c
null
null
null
null
null
source
linux
/* * PCI / PCI-X / PCI-Express support for 4xx parts * * Copyright 2007 Ben. Herrenschmidt <benh@kernel.crashing.org>, IBM Corp. * * Bits and pieces extracted from arch/ppc support by * * Matt Porter <mporter@kernel.crashing.org> * * Copyright 2002-2005 MontaVista Software Inc. */ #ifndef __PPC4XX_PCI_H__ #de...
arch/powerpc/platforms/44x/pci.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Generic PowerPC 44x platform support * * Copyright 2008 IBM Corporation * * This implements simple platform support for PowerPC 44x chips. This is * mostly used for eval boards or other simple and "generic" 44x boards. If * your board has custom functions or hardwa...
arch/powerpc/platforms/44x/ppc44x_simple.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PowerPC 476FPE board specific routines * * Copyright © 2013 Tony Breeds IBM Corporation * Copyright © 2013 Alistair Popple IBM Corporation * * Based on earlier code: * Matt Porter <mporter@kernel.crashing.org> * Copyright 2002-2005 MontaVista Software Inc....
arch/powerpc/platforms/44x/ppc476.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Sam440ep board specific routines based off bamboo.c code * original copyrights below * * Wade Farnsworth <wfarnsworth@mvista.com> * Copyright 2004 MontaVista Software Inc. * * Rewritten and ported to the merged powerpc tree: * Josh Boyer <jwboyer@linux.vnet.ibm....
arch/powerpc/platforms/44x/sam440ep.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * IBM/AMCC PPC4xx SoC setup code * * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de> * * L2 cache routines cloned from arch/ppc/syslib/ibm440gx_common.c which is: * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * Copyri...
arch/powerpc/platforms/44x/soc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/sysdev/uic.c * * IBM PowerPC 4xx Universal Interrupt Controller * * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/reboot.h> #include <linux...
arch/powerpc/platforms/44x/uic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * PIKA Warp(tm) board specific routines * * Copyright (c) 2008-2009 PIKA Technologies * Sean MacLennan <smaclennan@pikatech.com> */ #include <linux/err.h> #include <linux/init.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/kthr...
arch/powerpc/platforms/44x/warp.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2013 DENX Software Engineering * * Gerhard Sittig, <gsi@denx.de> * * common clock driver support for the MPC512x platform */ #include <linux/bitops.h> #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clkdev.h> #include <linux/d...
arch/powerpc/platforms/512x/clock-commonclk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com>, Thur Mar 29 2007 * * Description: * MPC5121 ADS board setup */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/of.h> #inc...
arch/powerpc/platforms/512x/mpc5121_ads.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. * * Prototypes for ADS5121 specific code */ #ifndef __MPC512ADS_H__ #define __MPC512ADS_H__ extern void __init mpc5121_ads_cpld_map(void); extern void __init mpc5121_ads_cpld_pic_init(void); #...
arch/powerpc/platforms/512x/mpc5121_ads.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com> * * Description: * MPC5121ADS CPLD irq handling */ #undef DEBUG #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/irq.h> #i...
arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. * * Prototypes for MPC512x shared code */ #ifndef __MPC512X_H__ #define __MPC512X_H__ extern void __init mpc512x_init_IRQ(void); extern void __init mpc512x_init_early(void); extern void __init...
arch/powerpc/platforms/512x/mpc512x.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby, <jrigby@freescale.com> * * Description: * MPC512x SoC setup */ #include <linux/kernel.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/ipic.h> #inc...
arch/powerpc/platforms/512x/mpc512x_generic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * The driver for Freescale MPC512x LocalPlus Bus FIFO * (called SCLPC in the Reference Manual). * * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>. */ #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> ...
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved. * * Author: John Rigby <jrigby@freescale.com> * * Description: * MPC512x Shared code */ #include <linux/clk.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/irq.h> #incl...
arch/powerpc/platforms/512x/mpc512x_shared.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 DENX Software Engineering * * Anatolij Gustschin, <agust@denx.de> * * PDM360NG board setup */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_fdt.h...
arch/powerpc/platforms/512x/pdm360ng.c
null
null
null
null
null
source
linux
/* * Efika 5K2 platform code * Some code really inspired from the lite5200b platform. * * Copyright (C) 2006 bplan GmbH * * kind, whether express or implied. */ #include <linux/init.h> #include <generated/utsrelease.h> #include <linux/pci.h> #include <linux/of.h> #include <linux/seq_file.h> #include <asm/dma.h>...
arch/powerpc/platforms/52xx/efika.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale Lite5200 board support * * Written by: Grant Likely <grant.likely@secretlab.ca> * * Copyright (C) Secret Lab Technologies Ltd. 2006. All rights reserved. * Copyright 2006 Freescale Semiconductor, Inc. All rights reserved. * * Description: */ #undef D...
arch/powerpc/platforms/52xx/lite5200.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/suspend.h> #include <linux/of_address.h> #include <asm/io.h> #include <asm/time.h> #include <asm/mpc52xx.h> #include <asm/switch_to.h> /* defined in lite5200_sleep.S and only used here */ extern void lite5200_low_power(void __iomem *sram, voi...
arch/powerpc/platforms/52xx/lite5200_pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/reg.h> #include <asm/ppc_asm.h> #include <asm/processor.h> #include <asm/cache.h> #define SDRAM_CTRL 0x104 #define SC_MODE_EN (1<<31) #define SC_CKE (1<<30) #define SC_REF_EN (1<<28) #define SC_SOFT_PRE (1<<1) #define GPIOW_GPIOE 0xc00...
arch/powerpc/platforms/52xx/lite5200_sleep.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Support for 'media5200-platform' compatible boards. * * Copyright (C) 2008 Secret Lab Technologies Ltd. * * Description: * This code implements support for the Freescape Media5200 platform * (built around the MPC5200 SoC). * * Notable characteristic of the Medi...
arch/powerpc/platforms/52xx/media5200.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Support for 'mpc5200-simple-platform' compatible boards. * * Written by Marian Balakowicz <m8@semihalf.com> * Copyright (C) 2007 Semihalf * * Description: * This code implements support for a simple MPC52xx based boards which * do not need a custom platform spec...
arch/powerpc/platforms/52xx/mpc5200_simple.c
null
null
null
null
null
source
linux
/* * * Utility functions for the Freescale MPC52xx. * * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com> * * kind, whether express or implied. * */ #undef DEBUG #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/export.h> #inclu...
arch/powerpc/platforms/52xx/mpc52xx_common.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC5200 General Purpose Timer device driver * * Copyright (c) 2009 Secret Lab Technologies Ltd. * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * This file is a driver for the General Purpose Timer (gpt) devices * found on the MPC5200 So...
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
null
null
null
null
null
source
linux
/* * PCI code for the Freescale MPC52xx embedded CPU. * * Copyright (C) 2006 Secret Lab Technologies Ltd. * Grant Likely <grant.likely@secretlab.ca> * Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com> * * kind, whether express or implied. */ #undef DEBUG #include <linux/pci.h> #include...
arch/powerpc/platforms/52xx/mpc52xx_pci.c
null
null
null
null
null
source
linux
/* * * Programmable Interrupt Controller functions for the Freescale MPC52xx. * * Copyright (C) 2008 Secret Lab Technologies Ltd. * Copyright (C) 2006 bplan GmbH * Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com> * Copyright (C) 2003 Montavista Software, Inc * * Based on the code from the 2.4 kernel by * Da...
arch/powerpc/platforms/52xx/mpc52xx_pic.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/init.h> #include <linux/suspend.h> #include <linux/io.h> #include <linux/of_address.h> #include <asm/time.h> #include <asm/cacheflush.h> #include <asm/mpc52xx.h> /* these are defined in mpc52xx_sleep.S, and only used here */ extern void mpc52xx_deep_sleep(void __iom...
arch/powerpc/platforms/52xx/mpc52xx_pm.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/reg.h> #include <asm/ppc_asm.h> #include <asm/processor.h> .text _GLOBAL(mpc52xx_deep_sleep) mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */ /* enable interrupts */ mfmsr r7 ori r7, r7, 0x8000 /* EE */ mtmsr r7 sync; isync; li r...
arch/powerpc/platforms/52xx/mpc52xx_sleep.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Embedded Planet EP8248E support * * Copyright 2007 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/fsl_devices.h> #include <linux/mdio-bitbang.h> #include <linux/o...
arch/powerpc/platforms/82xx/ep8248e.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Keymile km82xx support * Copyright 2008-2011 DENX Software Engineering GmbH * Author: Heiko Schocher <hs@denx.de> * * based on code from: * Copyright 2007 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <linux/init.h> #i...
arch/powerpc/platforms/82xx/km82xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Common PowerQUICC II code. * * Author: Scott Wood <scottwood@freescale.com> * Copyright (c) 2007 Freescale Semiconductor * * Based on code by Vitaly Bordug <vbordug@ru.mvista.com> * pq2_restart fix by Wade Farnsworth <wfarnsworth@mvista.com> * Copyright (c) 2006...
arch/powerpc/platforms/82xx/pq2.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PQ2_H #define _PQ2_H void __noreturn pq2_restart(char *cmd); #ifdef CONFIG_PCI int pq2ads_pci_init_irq(void); void pq2_init_pci(void); #else static inline int pq2ads_pci_init_irq(void) { return 0; } static inline void pq2_init_pci(void) { } #endif #endif
arch/powerpc/platforms/82xx/pq2.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/asp834x.c * * Analogue & Micro ASP8347 board specific routines * clone of mpc834x_itx * * Copyright 2008 Codehermit * * Maintainer: Bryan O'Donoghue <bodonoghue@codhermit.ie> */ #include <linux/pci.h> #include <linux/of_platform.h> ...
arch/powerpc/platforms/83xx/asp834x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2008-2011 DENX Software Engineering GmbH * Author: Heiko Schocher <hs@denx.de> * * Description: * Keymile 83xx platform specific routines. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <...
arch/powerpc/platforms/83xx/km83xx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Power Management and GPIO expander driver for MPC8349E-mITX-compatible MCU * * Copyright (c) 2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> */ #include <linux/kernel.h> #include <linux/mod_devicetable.h> #include <linux/mod...
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * misc setup functions for MPC83xx * * Maintainer: Kumar Gala <galak@kernel.crashing.org> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/of_platform.h> #include <linux/pci.h> #include <asm/debug.h> #include <asm/io.h> #include <asm/hw_irq.h> ...
arch/powerpc/platforms/83xx/misc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc830x_rdb.c * * Description: MPC830x RDB board specific routines. * This file is based on mpc831x_rdb.c * * Copyright (C) Freescale Semiconductor, Inc. 2009. All rights reserved. * Copyright (C) 2010. Ilya Yanok, Emcraft Systems, yan...
arch/powerpc/platforms/83xx/mpc830x_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc831x_rdb.c * * Description: MPC831x RDB board specific routines. * This file is based on mpc834x_sys.c * Author: Lo Wlison <r43300@freescale.com> * * Copyright (C) Freescale Semiconductor, Inc. 2006. All rights reserved. */ #inclu...
arch/powerpc/platforms/83xx/mpc831x_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc832x_rdb.c * * Copyright (C) Freescale Semiconductor, Inc. 2007. All rights reserved. * * Description: * MPC832x RDB board specific routines. * This file is based on mpc832x_mds.c and mpc8313_rdb.c * Author: Michael Barkowski <mich...
arch/powerpc/platforms/83xx/mpc832x_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc834x_itx.c * * MPC834x ITX board specific routines * * Maintainer: Kumar Gala <galak@kernel.crashing.org> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/reboot...
arch/powerpc/platforms/83xx/mpc834x_itx.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * MPC8360E-RDK board file. * * Copyright (c) 2006 Freescale Semiconductor, Inc. * Copyright (c) 2007-2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <avorontsov@ru.mvista.com> */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/of_plat...
arch/powerpc/platforms/83xx/mpc836x_rdk.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * arch/powerpc/platforms/83xx/mpc837x_rdb.c * * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. * * MPC837x RDB board specific routines */ #include <linux/pci.h> #include <linux/of_platform.h> #include <asm/time.h> #include <asm/ipic.h> #incl...
arch/powerpc/platforms/83xx/mpc837x_rdb.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MPC83XX_H__ #define __MPC83XX_H__ #include <linux/init.h> /* System Clock Control Register */ #define MPC83XX_SCCR_OFFS 0xA08 #define MPC83XX_SCCR_USB_MASK 0x00f00000 #define MPC83XX_SCCR_USB_MPHCM_11 0x00c00000 #define MPC83XX_SCCR_USB_MPHCM_01 0x00400...
arch/powerpc/platforms/83xx/mpc83xx.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Enter and leave deep sleep state on MPC83xx * * Copyright (c) 2006-2008 Freescale Semiconductor, Inc. * Author: Scott Wood <scottwood@freescale.com> */ #include <asm/page.h> #include <asm/ppc_asm.h> #include <asm/reg.h> #include <asm/asm-offsets.h> #define SS_MEMS...
arch/powerpc/platforms/83xx/suspend-asm.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * MPC83xx suspend support * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. */ #include <linux/pm.h> #include <linux/types.h> #include <linux/ioport.h> #include <linux/interrupt.h> #include <linux/wait.h> #includ...
arch/powerpc/platforms/83xx/suspend.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> #inc...
arch/powerpc/platforms/83xx/usb_831x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> #inc...
arch/powerpc/platforms/83xx/usb_834x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale 83xx USB SOC setup code * * Copyright (C) 2007 Freescale Semiconductor, Inc. * Author: Li Yang */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/io.h> #inc...
arch/powerpc/platforms/83xx/usb_837x.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * BSC913xQDS Board Setup * * Author: * Harninder Rai <harninder.rai@freescale.com> * Priyanka Jain <Priyanka.Jain@freescale.com> * * Copyright 2014 Freescale Semiconductor Inc. */ #include <linux/of.h> #include <linux/pci.h> #include <asm/mpic.h> #include <sy...
arch/powerpc/platforms/85xx/bsc913x_qds.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * BSC913xRDB Board Setup * * Author: Priyanka Jain <Priyanka.Jain@freescale.com> * * Copyright 2011-2012 Freescale Semiconductor Inc. */ #include <linux/of.h> #include <linux/pci.h> #include <asm/mpic.h> #include <sysdev/fsl_soc.h> #include <asm/udbg.h> #include "...
arch/powerpc/platforms/85xx/bsc913x_rdb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * C293PCIE Board Setup * * Copyright 2013 Freescale Semiconductor Inc. */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/of.h> #include <asm/machdep.h> #include <asm/udbg.h> #include <asm/mpic.h> #include <sysdev/fsl_soc.h> #include <sysdev/fsl...
arch/powerpc/platforms/85xx/c293pcie.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Routines common to most mpc85xx-based boards. */ #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <asm/fsl_pm.h> #include <soc/fsl/qe/qe.h> #include <sysdev/cpm2_pic.h> #include "mpc85xx.h" const struct fsl_pm_ops *qoriq_pm_ops; ...
arch/powerpc/platforms/85xx/common.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* * Corenet based SoC DS Setup * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * Copyright 2009-2011 Freescale Semiconductor Inc. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/kdev_t.h> #include <linux/delay.h> #include ...
arch/powerpc/platforms/85xx/corenet_generic.c
null
null
null
null
null