instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc85xx_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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/inter...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc85xx_8259' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/85xx/p1023_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 ...
Linux kernel'inin 'arch/powerpc/platforms/85xx/twr_p102x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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/...
Linux kernel'inin 'arch/powerpc/platforms/85xx/smp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 kernel'inin 'arch/powerpc/platforms/85xx/tqm85xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> * * Ba...
Linux kernel'inin 'arch/powerpc/platforms/85xx/ppa8548' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 Fr...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/85xx/smp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux kernel'inin 'arch/powerpc/platforms/85xx/corenet_generic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #inc...
Linux kernel'inin 'arch/powerpc/platforms/85xx/p1022_rdk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * P1022 RDK board specific routines * * Copyright 2012 Freescale Semiconductor, Inc. * * Author: Timur Tabi <timur@freescale.com> * * Based on p1022_ds.c * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of a...
Linux kernel'inin 'arch/powerpc/platforms/85xx/mpc8536_ds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #i...
Linux kernel'inin 'arch/powerpc/platforms/85xx/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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_...
Linux kernel'inin 'arch/powerpc/platforms/85xx/bsc913x_rdb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #incl...
Linux kernel'inin 'arch/powerpc/platforms/85xx/p2020' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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/...
Linux kernel'inin 'arch/powerpc/platforms/85xx/t1042rdb_diu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> ...
Linux kernel'inin 'arch/powerpc/platforms/85xx/sgy_cts1000' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/amigaone/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #in...
Linux kernel'inin 'arch/powerpc/platforms/44x/uic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 işletim sistemi çekirdeği için 'arch/powerpc/platforms/44x/44x' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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 /* __POWE...
Linux kernel'inin 'arch/powerpc/platforms/44x/cpm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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. * * Base...
Linux kernel'inin 'arch/powerpc/platforms/44x/ebony' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 a...
Linux kernel'inin 'arch/powerpc/platforms/44x/ppc44x_simple' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 h...
Linux kernel'inde 'arch/powerpc/platforms/44x/misc_44x' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* 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...
Linux kernel'inin 'arch/powerpc/platforms/44x/idle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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_spi...
Linux kernel'inin 'arch/powerpc/platforms/44x/canyonlands' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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-bridg...
Linux kernel'inin 'arch/powerpc/platforms/44x/gpio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #inclu...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/44x/fsp2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #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 */ #def...
Linux kernel'inin 'arch/powerpc/platforms/44x/iss4xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/44x/sam440ep' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/44x/machine_check' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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"); ...
Linux kernel'inin 'arch/powerpc/platforms/44x/pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * 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, Stefa...
Linux kernel'inin 'arch/powerpc/platforms/44x/soc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> * C...
Linux kernel'inin 'arch/powerpc/platforms/44x/hsta_msi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/44x/ppc476' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/platforms/44x/warp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux işletim sistemi çekirdeği için 'arch/powerpc/platforms/44x/pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * 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_...
Linux kernel'inin 'arch/powerpc/platforms/44x/fsp2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/perf/hv-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 c...
Linux kernel'inin 'arch/powerpc/perf/core-fsl-emb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance event support - Freescale Embedded Performance Monitor * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. * Copyright 2010 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/perf_event.h> #incl...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/power9-events-list' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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,...
Linux kernel'inin 'arch/powerpc/perf/power5+-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/perf/imc-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #...
Linux kernel'inin 'arch/powerpc/perf/power8-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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. *...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/callchain' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _POWERPC_PERF_CALLCHAIN_H #define _POWERPC_PERF_CALLCHAIN_H void perf_callchain_user_64(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs); void perf_callchain_user_32(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs); s...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-24x7-catalog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_ #define LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_ #include <linux/types.h> /* From document "24x7 Event and Group Catalog Formats Proposal" v0.15 */ struct hv_24x7_catalog_page_0 { #define HV_24X7_CATALOG_MAGIC 0x32347837 /* "24x7"...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/internal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // 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 in...
Linux kernel'inin 'arch/powerpc/perf/generic-compat-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // // Copyright 2019 Madhavan Srinivasan, IBM Corporation. #define pr_fmt(fmt) "generic-compat-pmu: " fmt #include "isa207-common.h" /* * Raw event encoding: * * 60 56 52 48 44 40 36 32 * | - - - - | - - - - | - - -...
Linux kernel'inin 'arch/powerpc/perf/power9-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 #incl...
Linux kernel'inin 'arch/powerpc/perf/vpa-dtl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #includ...
Linux kernel'inde 'arch/powerpc/perf/bhrb' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Basic assembly code to read BHRB entries * * Copyright 2013 Anshuman Khandual, IBM Corporation. */ #include <asm/ppc_asm.h> #include <asm/ppc-opcode.h> .text .balign 8 /* r3 = n (where n = [0-31]) * The maximum number of BHRB entries supported w...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-24x7' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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(ifac...
Linux kernel'inin 'arch/powerpc/perf/kvm-hv-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/power8-events-list' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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,...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/power10-events-list' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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); ...
Linux kernel'inin 'arch/powerpc/perf/core-book3s' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance event support - powerpc architecture code * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/sched/clock.h> #include <linux/perf_event.h> #include <linux/percpu.h> #include ...
Linux kernel'inin 'arch/powerpc/perf/callchain_64' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter callchain support - powerpc architecture code * * Copyright © 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/perf_event.h> #include <linux/percpu.h> #include <linux/uaccess.h> #inc...
Linux kernel'inin 'arch/powerpc/perf/e6500-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for e6500 family processors. * * Author: Priyanka Jain, Priyanka.Jain@freescale.com * Based on e500-pmu.c * Copyright 2013 Freescale Semiconductor, Inc. * Copyright 2008-2009 Paul Mackerras, IBM Corporation. */ #include <linux/st...
Linux kernel'inin 'arch/powerpc/perf/power7-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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" /*...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-24x7-domains' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * DOMAIN(name, num, index_kind, is_physical) * * @name: An all caps token, suitable for use in generating an enum * member and appending to an event name in sysfs. * * @num: The number corresponding to the domain as given in * documentation. We assume the catalog...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-gpci-requests' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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(...) * __f...
Linux kernel'inin 'arch/powerpc/perf/power5-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 "...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-gpci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux kernel'inin 'arch/powerpc/perf/vpa-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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_book3...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/power7-events-list' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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, ...
Linux kernel'inin 'arch/powerpc/perf/e500-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter support for e500 family processors. * * Copyright 2008-2009 Paul Mackerras, IBM Corporation. * Copyright 2010 Freescale Semiconductor, Inc. */ #include <linux/string.h> #include <linux/perf_event.h> #include <asm/reg.h> #include <asm/cputab...
Linux kernel'inin 'arch/powerpc/perf/power6-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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...
Linux kernel'inin 'arch/powerpc/perf/perf_regs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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> #inc...
Linux kernel'inin 'arch/powerpc/perf/isa207-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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-comm...
Linux kernel'inin 'arch/powerpc/perf/hv-24x7' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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/modul...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/isa207-common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/hv-common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux kernel'inin 'arch/powerpc/perf/hv-gpci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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/p...
Linux kernel'inin 'arch/powerpc/perf/mpc7450-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 hardw...
Linux kernel'inin 'arch/powerpc/perf/power10-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 ...
Linux kernel'inin 'arch/powerpc/perf/callchain' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter callchain support - powerpc architecture code * * Copyright © 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/perf_event.h> #include <linux/percpu.h> #include <linux/uaccess.h> #inc...
Linux kernel'inin 'arch/powerpc/perf/ppc970-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // 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 ev...
Linux kernel'inin 'arch/powerpc/perf/8xx-pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance event support - PPC 8xx * * Copyright 2016 Christophe Leroy, CS Systemes d'Information */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/perf_event.h> #include <linux/percpu.h> #include <linux/hardirq.h> #include <asm/pmc.h> #in...
Linux kernel'inin 'arch/powerpc/perf/callchain_32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Performance counter callchain support - powerpc architecture code * * Copyright © 2009 Paul Mackerras, IBM Corporation. */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/perf_event.h> #include <linux/percpu.h> #include <linux/uaccess.h> #inc...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/req-gen/_request-begin' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/req-gen/perf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/req-gen/_begin' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* 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 #def...
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/req-gen/_request-end' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #undef REQUEST #undef __field #undef __array #undef __count #undef REQUEST_NAME #undef REQUEST_NUM #undef REQUEST_IDX_KIND ```
Linux işletim sistemi çekirdeği için 'arch/powerpc/perf/req-gen/_clear' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #undef __field_ #undef __count_ #undef __array_ #undef REQUEST_ ```
Linux işletim sistemi çekirdeği için 'arch/powerpc/crypto/aesp8-ppc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/types.h> #include <crypto/aes.h> extern struct skcipher_alg p8_aes_cbc_alg; extern struct skcipher_alg p8_aes_ctr_alg; extern struct skcipher_alg p8_aes_xts_alg; ```
Linux kernel'inin 'arch/powerpc/crypto/aes_xts' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES XTS routines supporting VMX In-core instructions on Power 8 * * Copyright (C) 2015 International Business Machines Inc. * * Author: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com> */ #include <asm/simd.h> #include <asm/switch_to.h> #include <crypto/aes.h> ...
Linux kernel'inin 'arch/powerpc/crypto/aes-spe-glue' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Glue code for AES implementation for SPE instructions (PPC) * * Based on generic implementation. The assembler module takes care * about the SPE registers so it can run from interrupt context. * * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de...
Linux kernel'inin 'arch/powerpc/crypto/aes_ctr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES CTR routines supporting VMX instructions on the Power 8 * * Copyright (C) 2015 International Business Machines Inc. * * Author: Marcelo Henrique Cerri <mhcerri@br.ibm.com> */ #include <asm/simd.h> #include <asm/switch_to.h> #include <crypto/aes.h> #include <...
Linux kernel'inin 'arch/powerpc/crypto/vmx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Routines supporting VMX instructions on the Power 8 * * Copyright (C) 2015 International Business Machines Inc. * * Author: Marcelo Henrique Cerri <mhcerri@br.ibm.com> */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/types.h> #include ...
Linux kernel'inin 'arch/powerpc/crypto/aes_cbc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES CBC routines supporting VMX instructions on the Power 8 * * Copyright (C) 2015 International Business Machines Inc. * * Author: Marcelo Henrique Cerri <mhcerri@br.ibm.com> */ #include <asm/simd.h> #include <asm/switch_to.h> #include <crypto/aes.h> #include <...
Linux kernel'inde 'arch/powerpc/crypto/aes-gcm-p10' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ # # Accelerated AES-GCM stitched implementation for ppc64le. # # Copyright 2024- IBM Inc. # #=================================================================================== # Written by Danny Tsen <dtsen@us.ibm.com> # # GHASH is based on the Karatsuba mult...
Linux kernel'inin 'arch/powerpc/crypto/aes-gcm-p10-glue' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Glue code for accelerated AES-GCM stitched implementation for ppc64le. * * Copyright 2022- IBM Inc. All rights reserved */ #include <linux/unaligned.h> #include <asm/simd.h> #include <asm/switch_to.h> #include <crypto/gcm.h> #include <crypto/aes.h> #include <c...
Linux kernel'inin 'arch/powerpc/sysdev/cpm_gpio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Common CPM GPIO wrapper for the CPM GPIO ports * * Author: Christophe Leroy <christophe.leroy@c-s.fr> * * Copyright 2017 CS Systemes d'Information. * */ #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <asm/cpm.h> #ifdef C...
Linux kernel'inin 'arch/powerpc/sysdev/fsl_soc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * FSL SoC setup code * * Maintained by Kumar Gala (see MAINTAINERS for contact information) * * 2006 (c) MontaVista Software, Inc. * Vitaly Bordug <vbordug@ru.mvista.com> */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/init.h> #include ...
Linux kernel'inin 'arch/powerpc/sysdev/tsi108_pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Common routines for Tundra Semiconductor TSI108 host bridge. * * 2004-2005 (c) Tundra Semiconductor Corp. * Author: Alex Bounine (alexandreb@tundra.com) * Author: Roy Zang (tie-fei.zang@freescale.com) * Add pci interrupt router host */ #include <linux/k...
Linux kernel'inin 'arch/powerpc/sysdev/cpm_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Common CPM code * * Author: Scott Wood <scottwood@freescale.com> * * Copyright 2007-2008,2010 Freescale Semiconductor, Inc. * * Some parts derived from commproc.c/cpm2_common.c, which is: * Copyright (c) 1997 Dan error_act (dmalek@jlc.net) * Copyright (c) 1999...
Linux kernel'inin 'arch/powerpc/sysdev/ehv_pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Driver for ePAPR Embedded Hypervisor PIC * * Copyright 2008-2011 Freescale Semiconductor, Inc. * * Author: Ashish Kalra <ashish.kalra@freescale.com> * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any...
Linux kernel'inin 'arch/powerpc/sysdev/cpm2_pic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Platform information definitions. * * Copied from arch/ppc/syslib/cpm2_pic.c with minor subsequent updates * to make in work in arch/powerpc/. Original (c) belongs to Dan Malek. * * Author: Vitaly Bordug <vbordug@ru.mvista.com> * * 1999-2001 (c) Dan Malek <dan@embeddedalley.com> * 2006 (c) MontaVist...
Linux kernel'inin 'arch/powerpc/sysdev/rtc_cmos_setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Setup code for PC-style Real-Time Clock. * * Author: Wade Farnsworth <wfarnsworth@mvista.com> * * 2007 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express ...
Linux kernel'inin 'arch/powerpc/sysdev/indirect_pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Support for indirect PCI bridges. * * Copyright (C) 1998 Gabriel Paubert. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <asm/io.h> #include <asm/pci-bridge.h> #include <...
Linux kernel'inin 'arch/powerpc/sysdev/mpc5xxx_clocks' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/export.h> #include <linux/property.h> #include <asm/mpc5xxx.h> /** * mpc5xxx_fwnode_get_bus_frequency - Find the bus frequency for a firmware node * @fwnode: firmware node * * Returns bus frequency (IPS on MPC512x, IPB on MPC52xx)...