instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/edac/layerscape_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Freescale Memory Controller kernel module * * Author: York Sun <york.sun@nxp.com> * * Copyright 2016 NXP Semiconductor * * Derived from mpc85xx_edac.c * Author: Dave Jiang <djiang@mvista.com> * * 2006-2007 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Publ...
Linux kernel'inin 'drivers/edac/skx_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * * Shared code by both skx_edac and i10nm_edac. Originally split out * from the skx_edac driver. * * This file is linked into both skx_edac and i10nm_edac drivers. In * order to avoid link errors, this file must be like a pure library * without including symbols and d...
Linux kernel'inin 'drivers/edac/octeon_edac-pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2012 Cavium, Inc. * Copyright (C) 2009 Wind River Systems, * written by Ralf Baechle <ralf@linux-mips.org> */ #inc...
Linux kernel'inin 'drivers/edac/edac_device_sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * file for managing the edac_device subsystem of devices for EDAC * * (C) 2007 SoftwareBitMaker * * This file may be distributed under the terms of the * GNU General Public License. * * Written Doug Thompson <norsk5@xmission.com> * */ #include <linux/ctype.h> #include <linux/module.h> #include <linux...
Linux kernel'inin 'drivers/edac/versal_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Xilinx Versal memory controller driver * Copyright (C) 2023 Advanced Micro Devices, Inc. */ #include <linux/bitfield.h> #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_d...
Linux kernel'inin 'drivers/edac/i82875p_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel D82875P Memory Controller kernel module * (C) 2003 Linux Networx (http://lnxi.com) * This file may be distributed under the terms of the * GNU General Public License. * * Written by Thayne Harbaugh * Contributors: * Wang Zhenyu at intel.com * * $Id: edac_i82875p.c,v 1.5.2.11 2005/10/05 00:43:4...
Linux kernel'inin 'drivers/edac/cpc925_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * cpc925_edac.c, EDAC driver for IBM CPC925 Bridge and Memory Controller. * * Copyright (c) 2008 Wind River Systems, Inc. * * Authors: Cao Qingtao <qingtao.cao@windriver.com> */ #include <linux/module.h> #include <linux/init.h> #include <linux/io.h> #include <linu...
Linux işletim sistemi çekirdeği için 'drivers/edac/amd64_edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * AMD64 class Memory Controller kernel module * * Copyright (c) 2009 SoftwareBitMaker. * Copyright (c) 2009-15 Advanced Micro Devices, Inc. * * This file may be distributed under the terms of the * GNU General Public License. */ #include <linux/module.h> #include <linux/ctype.h> #include <linux/init.h>...
Linux kernel'inin 'drivers/edac/highbank_l2_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2011-2012 Calxeda, Inc. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include "edac...
Linux kernel'inin 'drivers/edac/edac_device' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * edac_device.c * (C) 2007 www.douglaskthompson.com * * This file may be distributed under the terms of the * GNU General Public License. * * Written by Doug Thompson <norsk5@xmission.com> * * edac_device API implementation * 19 Jan 2007 */ #include <asm/page.h> #include <linux/uaccess.h> #include ...
Linux kernel'inin 'drivers/edac/i7300_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel 7300 class Memory Controllers kernel module (Clarksboro) * * Copyright (c) 2010 by: * Mauro Carvalho Chehab * * Red Hat Inc. https://www.redhat.com * * Intel 7300 Chipset Memory Controller Hub (MCH) - Datasheet * http://www.intel.com/Assets/PDF/datashee...
Linux kernel'inin 'drivers/edac/pnd2_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for Pondicherry2 memory controller. * * Copyright (c) 2016, Intel Corporation. * * [Derived from sb_edac.c] * * Translation of system physical addresses to DIMM addresses * is a two stage process: * * First the Pondicherry 2 memory controller handles s...
Linux kernel'inin 'drivers/edac/i3200_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 3200/3210 Memory Controller kernel module * Copyright (C) 2008-2009 Akamai Technologies, Inc. * Portions by Hitoshi Mitake <h.mitake@gmail.com>. * * This file may be distributed under the terms of the * GNU General Public License. */ #include <linux/module.h> #include <linux/init.h> #include <li...
Linux kernel'inin 'drivers/edac/debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/string_choices.h> #include "edac_module.h" static struct dentry *edac_debugfs; static ssize_t edac_fake_inject_write(struct file *file, const char __user *data, size_t count, loff_t *ppos) { struct device *dev = file->private_data; ...
Linux kernel'inin 'drivers/edac/versalnet_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * AMD Versal NET memory controller driver * Copyright (C) 2025 Advanced Micro Devices, Inc. */ #include <linux/cdx/edac_cdx_pcol.h> #include <linux/edac.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/ras.h> #include <linux/remoteproc.h> #include...
Linux kernel'inin 'drivers/edac/ti_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ * * Texas Instruments DDR3 ECC error correction and detection driver * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General...
Linux kernel'inin 'drivers/edac/highbank_mc_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2011-2012 Calxeda, Inc. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <linux...
Linux kernel'inin 'drivers/edac/i7core_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Intel i7 core/Nehalem Memory Controller kernel module * * This driver supports the memory controllers found on the Intel * processor families i7core, i7core 7xx/8xx, i5core, Xeon 35xx, * Xeon 55xx and Xeon 56xx also known as Nehalem, Nehalem-EP, Lynnfield * and West...
Linux işletim sistemi çekirdeği için 'drivers/edac/fsl_ddr_edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Freescale Memory Controller kernel module * * Support Power-based SoCs including MPC85xx, MPC86xx, MPC83xx and * ARM-based Layerscape SoCs including LS2xxx and LS1021A. Originally * split out from mpc85xx_edac EDAC driver. * * Author: Dave Jiang <djiang@mvis...
Linux kernel'inin 'drivers/edac/e7xxx_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel e7xxx Memory Controller kernel module * (C) 2003 Linux Networx (http://lnxi.com) * This file may be distributed under the terms of the * GNU General Public License. * * See "enum e7xxx_chips" below for supported chipsets * * Written by Thayne Harbaugh * Based on work by Dan Hollis <goemon at an...
Linux kernel'inin 'drivers/edac/xgene_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * APM X-Gene SoC EDAC (error detection and correction) * * Copyright (c) 2015, Applied Micro Circuits Corporation * Author: Feng Kan <fkan@apm.com> * Loc Ho <lho@apm.com> */ #include <linux/ctype.h> #include <linux/edac.h> #include <linux/interrupt.h> ...
Linux kernel'inin 'drivers/edac/octeon_edac-lmc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2009 Wind River Systems, * written by Ralf Baechle <ralf@linux-mips.org> * * Copyright (c) 2013 by Cisco Systems, ...
Linux kernel'inin 'drivers/edac/zynqmp_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Xilinx ZynqMP OCM ECC Driver * * Copyright (C) 2022 Advanced Micro Devices, Inc. */ #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include "edac_mo...
Linux kernel'inin 'drivers/edac/i5400_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 5400 class Memory Controllers kernel module (Seaburg) * * This file may be distributed under the terms of the * GNU General Public License. * * Copyright (c) 2008 by: * Ben Woodard <woodard@redhat.com> * Mauro Carvalho Chehab * * Red Hat Inc. https://www.redhat.com * * Forked and adapted f...
Linux kernel'inin 'drivers/edac/edac_mc_sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * edac_mc kernel module * (C) 2005-2007 Linux Networx (http://lnxi.com) * * This file may be distributed under the terms of the * GNU General Public License. * * Written Doug Thompson <norsk5@xmission.com> www.softwarebitmaker.com * * (c) 2012-2013 - Mauro Carvalho Chehab * The entire API were re-writ...
Linux kernel'inin 'drivers/edac/a72_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Cortex A72 EDAC L1 and L2 cache error detection * * Copyright (c) 2020 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> * Copyright (c) 2025 Microsoft Corporation, <vijayb@linux.microsoft.com> * * Based on Code from: * Copyright (c) 2018, NXP Semiconductor * Autho...
Linux kernel'inin 'drivers/edac/imh_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for Intel(R) servers with Integrated Memory/IO Hub-based memory controller. * Copyright (c) 2025, Intel Corporation. */ #include <linux/kernel.h> #include <linux/io.h> #include <asm/cpu_device_id.h> #include <asm/intel-family.h> #include <asm/mce.h> #include <asm...
Linux kernel'inin 'drivers/edac/wq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include "edac_module.h" static struct workqueue_struct *wq; bool edac_queue_work(struct delayed_work *work, unsigned long delay) { return queue_delayed_work(wq, work, delay); } EXPORT_SYMBOL_GPL(edac_queue_work); bool edac_mod_work(struct delayed_work *work, unsigned l...
Linux işletim sistemi çekirdeği için 'drivers/edac/mce_amd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _EDAC_MCE_AMD_H #define _EDAC_MCE_AMD_H #include <linux/notifier.h> #include <asm/mce.h> #define EC(x) ((x) & 0xffff) #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010...
Linux işletim sistemi çekirdeği için 'drivers/edac/edac_mc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Defines, structures, APIs for edac_mc module * * (C) 2007 Linux Networx (http://lnxi.com) * This file may be distributed under the terms of the * GNU General Public License. * * Written by Thayne Harbaugh * Based on work by Dan Hollis <goemon at anime dot net> and others. * http://www.anime.net/~goem...
Linux kernel'inin 'drivers/edac/aspeed_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2018, 2019 Cisco Systems */ #include <linux/edac.h> #include <linux/module.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/stop_machine.h> #include <linux/io.h> #include <linux/of_address.h> #include <...
Linux kernel'inin 'drivers/edac/loongson_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2024 Loongson Technology Corporation Limited. */ #include <linux/acpi.h> #include <linux/edac.h> #include <linux/init.h> #include <linux/io-64-nonatomic-lo-hi.h> #include <linux/module.h> #include <linux/platform_device.h> #include "edac_module.h" #define ...
Linux işletim sistemi çekirdeği için 'drivers/zorro/zorro' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Zorro bus */ extern const struct bus_type zorro_bus_type; #ifdef CONFIG_ZORRO_NAMES extern void zorro_name_device(struct zorro_dev *z); #else static inline void zorro_name_device(struct zorro_dev *dev) { } #endif extern const struct attribute_group *z...
Linux kernel'inin 'drivers/zorro/zorro-driver' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Zorro Driver Services * * Copyright (C) 2003 Geert Uytterhoeven * * Loosely based on drivers/pci/pci-driver.c * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #include <...
Linux kernel'inin 'drivers/zorro/names' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Zorro Device Name Tables * * Copyright (C) 1999--2000 Geert Uytterhoeven * * Based on the PCI version: * * Copyright 1992--1999 Drew Eckhardt, Frederic Potter, * David Mosberger-Tang, Martin Mares */ #include <linux/init.h> #include <linux/kernel.h> #include <linu...
Linux kernel'inin 'drivers/zorro/proc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Procfs interface for the Zorro bus. * * Copyright (C) 1998-2003 Geert Uytterhoeven * * Heavily based on the procfs interface for the PCI bus, which is * * Copyright (C) 1997, 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz> */ #include <linux/types.h> #include <linu...
Linux kernel'inin 'drivers/zorro/zorro' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Zorro Bus Services * * Copyright (C) 1995-2003 Geert Uytterhoeven * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #include <linux/module.h> #include <linux/types...
Linux kernel'inin 'drivers/zorro/zorro-sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * File Attributes for Zorro Devices * * Copyright (C) 2003 Geert Uytterhoeven * * Loosely based on drivers/pci/pci-sysfs.c * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ ...
Linux kernel'inin 'drivers/zorro/gen-devlist' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generate devlist.h from the Zorro ID file. * * (c) 2000 Geert Uytterhoeven <geert@linux-m68k.org> * * Based on the PCI version: * * (c) 1999--2000 Martin Mares <mj@ucw.cz> */ #include <stdio.h> #include <string.h> #define MAX_NAME_SIZE 63 static void pq(FILE *f, ...
Linux kernel'inin 'drivers/auxdisplay/hd44780' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * HD44780 Character LCD driver for Linux * * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> * Copyright (C) 2016-2017 Glider bvba */ #include <linux/delay.h> #include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linu...
Linux kernel'inin 'drivers/auxdisplay/panel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Front panel driver for Linux * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> * Copyright (C) 2016-2017 Glider bvba * * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad) * connected to a parallel printer port. * * The LCD module may either be...
Linux kernel'inin 'drivers/auxdisplay/hd44780_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/hex.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/slab.h> #include "charlcd.h" #include "hd44780_common.h" /* LCD commands */ #define LCD_CMD_DISPLAY_CLEAR 0x01 /* Clear entire display */ #define LCD_CMD_ENTRY_MODE 0x04 /* Set ...
Linux kernel'inin 'drivers/auxdisplay/seg-led-gpio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for a 7-segment LED display * * The decimal point LED present on some devices is currently not * supported. * * Copyright (C) Allied Telesis Labs */ #include <linux/bitmap.h> #include <linux/container_of.h> #include <linux/errno.h> #include <linux/gpio/consum...
Linux işletim sistemi çekirdeği için 'drivers/auxdisplay/line-display' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Character line display core support * * Copyright (C) 2016 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> * * Copyright (C) 2021 Glider bv * Copyright (C) 2025 Jean-François Lessard */ #ifndef _LINEDISP_H #define _LINEDISP_H #inc...
Linux kernel'inin 'drivers/auxdisplay/cfag12864b' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Filename: cfag12864b.c * Version: 0.1.0 * Description: cfag12864b LCD driver * Depends: ks0108 * * Author: Copyright (C) Miguel Ojeda <ojeda@kernel.org> * Date: 2006-10-31 */ #include <linux/init.h> #include <linux/module.h> #include <linux/k...
Linux kernel'inin 'drivers/auxdisplay/max6959' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * MAX6958/6959 7-segment LED display controller * Datasheet: * https://www.analog.com/media/en/technical-documentation/data-sheets/MAX6958-MAX6959.pdf * * Copyright (c) 2024, Intel Corporation. * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> */ #include <...
Linux kernel'inin 'drivers/auxdisplay/ks0108' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Filename: ks0108.c * Version: 0.1.0 * Description: ks0108 LCD Controller driver * Depends: parport * * Author: Copyright (C) Miguel Ojeda <ojeda@kernel.org> * Date: 2006-10-31 */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/in...
Linux kernel'inin 'drivers/auxdisplay/img-ascii-lcd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include...
Linux işletim sistemi çekirdeği için 'drivers/auxdisplay/hd44780_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #define DEFAULT_LCD_BWIDTH 40 #define DEFAULT_LCD_HWIDTH 64 struct hd44780_common { int ifwidth; /* 4-bit or 8-bit (default) */ int bwidth; /* Default set by hd44780_alloc() */ int hwidth; /* Default set by hd44780_alloc() */ unsigned long hd447...
Linux kernel'inin 'drivers/auxdisplay/ht16k33' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * HT16K33 driver * * Author: Robin van der Gracht <robin@protonic.nl> * * Copyright: (C) 2016 Protonic Holland. * Copyright (C) 2021 Glider bv */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/i2c.h> #include <linux/pr...
Linux işletim sistemi çekirdeği için 'drivers/auxdisplay/charlcd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Character LCD driver for Linux * * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> * Copyright (C) 2016-2017 Glider bvba */ #ifndef _CHARLCD_H #define _CHARLCD_H #define LCD_FLAG_B 0x0004 /* Blink on */ #define LCD_FLAG_C 0x0008 /* Cursor on */ #defin...
Linux kernel'inin 'drivers/auxdisplay/line-display' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Character line display core support * * Copyright (C) 2016 Imagination Technologies * Author: Paul Burton <paul.burton@mips.com> * * Copyright (C) 2021 Glider bv * Copyright (C) 2025 Jean-François Lessard */ #ifndef CONFIG_PANEL_BOOT_MESSAGE #include <gene...
Linux kernel'inin 'drivers/auxdisplay/cfag12864bfb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Filename: cfag12864bfb.c * Version: 0.1.0 * Description: cfag12864b LCD framebuffer driver * Depends: cfag12864b * * Author: Copyright (C) Miguel Ojeda <ojeda@kernel.org> * Date: 2006-10-31 */ #include <linux/init.h> #include <linux/module.h>...
Linux kernel'inin 'drivers/auxdisplay/arm-charlcd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for the on-board character LCD found on some ARM reference boards * This is basically an Hitachi HD44780 LCD with a custom IP block to drive it * https://en.wikipedia.org/wiki/HD44780_Character_LCD * Currently it will just display the text "ARM Linux" and the lin...
Linux kernel'inin 'drivers/auxdisplay/charlcd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Character LCD driver for Linux * * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> * Copyright (C) 2016-2017 Glider bvba */ #include <linux/atomic.h> #include <linux/ctype.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/module.h> #include <li...
Linux kernel'inin 'drivers/auxdisplay/lcd2s' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Console driver for LCD2S 4x20 character displays connected through i2c. * The display also has a SPI interface, but the driver does not support * this yet. * * This is a driver allowing you to use a LCD2S 4x20 from Modtronix * engineering as auxdisplay character ...
Linux kernel'inin 'drivers/perf/qcom_l3_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for the L3 cache PMUs in Qualcomm Technologies chips. * * The driver supports a distributed cache architecture where the overall * cache for a socket is comprised of multiple slices each with its own PMU. * Access to each individual PMU is provided even tho...
Linux kernel'inin 'drivers/perf/xgene_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * APM X-Gene SoC PMU (Performance Monitor Unit) * * Copyright (c) 2016, Applied Micro Circuits Corporation * Author: Hoan Tran <hotran@apm.com> * Tai Nguyen <ttnguyen@apm.com> */ #include <linux/acpi.h> #include <linux/clk.h> #include <linux/cpuhotplug...
Linux kernel'inin 'drivers/perf/arm_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #undef DEBUG /* * ARM performance counter support. * * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles * Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com> * * This code is based on the sparc64 perf event code, which is in turn based * on the x86 c...
Linux kernel'inin 'drivers/perf/marvell_cn10k_ddr_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Marvell CN10K DRAM Subsystem (DSS) Performance Monitor Driver * * Copyright (C) 2021-2024 Marvell. */ #include <linux/init.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/perf_event.h> #include <linux/hrtimer.h> #include <linux/...
Linux kernel'inin 'drivers/perf/thunderx2_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * CAVIUM THUNDERX2 SoC PMU UNCORE * Copyright (C) 2018 Cavium Inc. * Author: Ganapatrao Kulkarni <gkulkarni@cavium.com> */ #include <linux/acpi.h> #include <linux/cpuhotplug.h> #include <linux/perf_event.h> #include <linux/platform_device.h> /* Each ThunderX2(TX2) Socke...
Linux kernel'inin 'drivers/perf/arm_pmu_acpi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ACPI probing code for ARM performance counters. * * Copyright (C) 2017 ARM Ltd. */ #include <linux/acpi.h> #include <linux/cpumask.h> #include <linux/init.h> #include <linux/irq.h> #include <linux/irqdesc.h> #include <linux/percpu.h> #include <linux/perf/arm_pmu.h...
Linux kernel'inin 'drivers/perf/arm_dmc620_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ARM DMC-620 memory controller PMU driver * * Copyright (C) 2020 Ampere Computing LLC. */ #define DMC620_PMUNAME "arm_dmc620" #define DMC620_DRVNAME DMC620_PMUNAME "_pmu" #define pr_fmt(fmt) DMC620_DRVNAME ": " fmt #include <linux/acpi.h> #include <linux/bitfie...
Linux kernel'inin 'drivers/perf/alibaba_uncore_drw_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Alibaba DDR Sub-System Driveway PMU driver * * Copyright (C) 2022 Alibaba Inc */ #define ALI_DRW_PMUNAME "ali_drw" #define ALI_DRW_DRVNAME ALI_DRW_PMUNAME "_pmu" #define pr_fmt(fmt) ALI_DRW_DRVNAME ": " fmt #include <linux/acpi.h> #include <linux/bitfield.h> #inclu...
Linux kernel'inin 'drivers/perf/nvidia_t410_cmem_latency_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * NVIDIA Tegra410 CPU Memory (CMEM) Latency PMU driver. * * Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/cpumask.h> #include <linux/device.h> #include <linux/interrupt.h> #i...
Linux kernel'inin 'drivers/perf/marvell_pem_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Marvell PEM(PCIe RC) Performance Monitor Driver * * Copyright (C) 2024 Marvell. */ #include <linux/acpi.h> #include <linux/init.h> #include <linux/io.h> #include <linux/module.h> #include <linux/perf_event.h> #include <linux/platform_device.h> /* * Each of these even...
Linux kernel'inin 'drivers/perf/arm_v6_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * ARMv6 Performance counter handling code. * * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles * * ARMv6 has 2 configurable performance counters and a single cycle counter. * They all share a single reset bit but can be written to zero so we can use * that for a ...
Linux kernel'inin 'drivers/perf/marvell_cn10k_tad_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Marvell CN10K LLC-TAD perf driver * * Copyright (C) 2021 Marvell */ #define pr_fmt(fmt) "tad_pmu: " fmt #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/cpuhotplug.h> #include <linux/perf_event.h> #include <linux/platform_device.h> #i...
Linux kernel'inin 'drivers/perf/riscv_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RISC-V performance counter support. * * Copyright (C) 2021 Western Digital Corporation or its affiliates. * * This implementation is based on old RISC-V perf and ARM perf event code * which are in turn based on sparc64 and x86 code. */ #include <linux/cpumask.h> #in...
Linux kernel'inin 'drivers/perf/fujitsu_uncore_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for the Uncore PMUs in Fujitsu chips. * * See Documentation/admin-guide/perf/fujitsu_uncore_pmu.rst for more details. * * Copyright (c) 2025 Fujitsu. All rights reserved. */ #include <linux/acpi.h> #include <linux/bitfield.h> #include <linux/bitops.h> #in...
Linux kernel'inin 'drivers/perf/arm-ccn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (C) 2014 ARM Limited */ #include <linux/ctype.h> #include <linux/hrtimer.h> #include <linux/idr.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/perf_event.h> #include <li...
Linux işletim sistemi çekirdeği için 'drivers/perf/arm_brbe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Branch Record Buffer Extension Helpers. * * Copyright (C) 2022-2025 ARM Limited * * Author: Anshuman Khandual <anshuman.khandual@arm.com> */ struct arm_pmu; struct perf_branch_stack; struct perf_event; #ifdef CONFIG_ARM64_BRBE void brbe_probe(struct arm_pmu ...
Linux kernel'inin 'drivers/perf/qcom_l2_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/bug.h> #include <linux/cpuhotplug.h> #include <linux/cpumask.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/int...
Linux kernel'inin 'drivers/perf/riscv_pmu_legacy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RISC-V performance counter support. * * Copyright (C) 2021 Western Digital Corporation or its affiliates. * * This implementation is based on old RISC-V perf and ARM perf event code * which are in turn based on sparc64 and x86 code. */ #include <linux/mod_devicetabl...
Linux kernel'inin 'drivers/perf/fsl_imx8_ddr_perf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright 2017 NXP * Copyright 2016 Freescale Semiconductor, Inc. */ #include <linux/bitfield.h> #include <linux/clk.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_irq.h> #...
Linux kernel'inin 'drivers/perf/arm_v7_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * ARMv7 Cortex-A8 and Cortex-A9 Performance Events handling code. * * ARMv7 support: Jean Pihet <jpihet@mvista.com> * 2010 (c) MontaVista Software, LLC. * * Copied from ARMv6 code, with the low level code inspired * by the ARMv7 Oprofile code. * * Cortex-A8 has up t...
Linux kernel'inin 'drivers/perf/arm_pmu_platform' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * platform_device probing code for ARM performance counters. * * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles * Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com> */ #define pr_fmt(fmt) "hw perfevents: " fmt #define dev_fmt pr_fmt #include <linux/bu...
Linux kernel'inin 'drivers/perf/arm_smmuv3_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * This driver adds support for perf events to use the Performance * Monitor Counter Groups (PMCG) associated with an SMMUv3 node * to monitor that node. * * SMMUv3 PMCG devices are named as smmuv3_pmcg_<phys_addr_page> where * <phys_addr_page> is the physical page addr...
Linux kernel'inin 'drivers/perf/riscv_pmu_sbi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RISC-V performance counter support. * * Copyright (C) 2021 Western Digital Corporation or its affiliates. * * This code is based on ARM perf event code which is in turn based on * sparc64 and x86 code. */ #define pr_fmt(fmt) "riscv-pmu-sbi: " fmt #include <linux/mo...
Linux kernel'inin 'drivers/perf/cxl_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright(c) 2023 Huawei * * The CXL 3.0 specification includes a standard Performance Monitoring Unit, * called the CXL PMU, or CPMU. In order to allow a high degree of * implementation flexibility the specification provides a wide range of * options all of whi...
Linux kernel'inin 'drivers/perf/starfive_starlink_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * StarFive's StarLink PMU driver * * Copyright (C) 2023 StarFive Technology Co., Ltd. * * Author: Ji Sheng Teoh <jisheng.teoh@starfivetech.com> * */ #define STARLINK_PMU_PDEV_NAME "starfive_starlink_pmu" #define pr_fmt(fmt) STARLINK_PMU_PDEV_NAME ": " fmt #inclu...
Linux kernel'inin 'drivers/perf/fsl_imx9_ddr_perf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright 2023 NXP #include <linux/bitfield.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/perf_event.h> /* Performance monitor configuration */...
Linux kernel'inin 'drivers/perf/dwc_pcie_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Synopsys DesignWare PCIe PMU driver * * Copyright (C) 2021-2023 Alibaba Inc. */ #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/cpuhotplug.h> #include <linux/cpumask.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/kernel.h> #...
Linux kernel'inin 'drivers/perf/arm-cci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // CCI Cache Coherent Interconnect PMU driver // Copyright (C) 2013-2018 Arm Ltd. // Author: Punit Agrawal <punit.agrawal@arm.com>, Suzuki Poulose <suzuki.poulose@arm.com> #include <linux/arm-cci.h> #include <linux/io.h> #include <linux/interrupt.h> #include <linux/module.h> #i...
Linux kernel'inin 'drivers/perf/arm_xscale_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * ARMv5 [xscale] Performance counter handling code. * * Copyright (C) 2010, ARM Ltd., Will Deacon <will.deacon@arm.com> * * Based on the previous xscale OProfile code. * * There are two variants of the xscale PMU that we support: * - xscale1pmu: 2 event counters and ...
Linux kernel'inin 'drivers/perf/nvidia_t410_c2c_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * NVIDIA Tegra410 C2C PMU driver. * * Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/cpumask.h> #include <linux/device.h> #include <linux/interrupt.h> #include <linux/io.h> #i...
Linux kernel'inin 'drivers/perf/arm-ni' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2022-2024 Arm Limited // NI-700 Network-on-Chip PMU driver #include <linux/acpi.h> #include <linux/bitfield.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/io-64-nonatomic-lo-hi.h> #include <linux/kernel.h> #include <linux/module.h> #inclu...
Linux kernel'inin 'drivers/perf/arm_pmuv3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ARMv8 PMUv3 Performance Events handling code. * * Copyright (C) 2012 ARM Limited * Author: Will Deacon <will.deacon@arm.com> * * This code is based heavily on the ARMv7 perf event code. */ #include <asm/irq_regs.h> #include <asm/perf_event.h> #include <asm/virt...
Linux kernel'inin 'drivers/perf/apple_m1_cpu_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * CPU PMU driver for the Apple M1 and derivatives * * Copyright (C) 2021 Google LLC * * Author: Marc Zyngier <maz@kernel.org> * * Most of the information used in this driver was provided by the * Asahi Linux project. The rest was experimentally discovered. */ #inclu...
Linux kernel'inin 'drivers/perf/arm-cmn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2016-2020 Arm Limited // ARM CMN/CI interconnect PMU driver #include <linux/acpi.h> #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/debugfs.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/io-64-nonatomic-lo-hi.h> #inc...
Linux kernel'inin 'drivers/perf/arm_brbe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Branch Record Buffer Extension Driver. * * Copyright (C) 2022-2025 ARM Limited * * Author: Anshuman Khandual <anshuman.khandual@arm.com> */ #include <linux/types.h> #include <linux/bitmap.h> #include <linux/perf/arm_pmu.h> #include "arm_brbe.h" #define BRBFCR_EL...
Linux kernel'inin 'drivers/perf/arm_spe_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Perf support for the Statistical Profiling Extension, introduced as * part of ARMv8.2. * * Copyright (C) 2016 ARM Limited * * Author: Will Deacon <will.deacon@arm.com> */ #define PMUNAME "arm_spe" #define DRVNAME PMUNAME "_pmu" #define pr_fmt(fmt) DR...
Linux kernel'inin 'drivers/perf/arm_dsu_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ARM DynamIQ Shared Unit (DSU) PMU driver * * Copyright (C) ARM Limited, 2017. * * Based on ARM CCI-PMU, ARMv8 PMU-v3 drivers. */ #define PMUNAME "arm_dsu" #define DRVNAME PMUNAME "_pmu" #define pr_fmt(fmt) DRVNAME ": " fmt #include <linux/acpi.h> #include <li...
Linux kernel'inin 'drivers/perf/hisilicon/hisi_uncore_mn_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * HiSilicon SoC MN uncore Hardware event counters support * * Copyright (c) 2025 HiSilicon Technologies Co., Ltd. */ #include <linux/cpuhotplug.h> #include <linux/interrupt.h> #include <linux/iopoll.h> #include <linux/irq.h> #include <linux/list.h> #include <linux/mo...
Linux işletim sistemi çekirdeği için 'drivers/perf/hisilicon/hisi_uncore_pmu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * HiSilicon SoC Hardware event counters support * * Copyright (C) 2017 HiSilicon Limited * Author: Anurup M <anurup.m@huawei.com> * Shaokun Zhang <zhangshaokun@hisilicon.com> * * This code is based on the uncore PMUs like arm-cci and arm-ccn. */ #ifnde...
Linux kernel'inin 'drivers/perf/hisilicon/hisi_uncore_noc_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for HiSilicon Uncore NoC (Network on Chip) PMU device * * Copyright (c) 2025 HiSilicon Technologies Co., Ltd. * Author: Yicong Yang <yangyicong@hisilicon.com> */ #include <linux/bitops.h> #include <linux/cpuhotplug.h> #include <linux/device.h> #include <linux/io...
Linux kernel'inin 'drivers/perf/hisilicon/hisi_uncore_cpa_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * HiSilicon SoC CPA(Coherency Protocol Agent) hardware event counters support * * Copyright (C) 2022 HiSilicon Limited * Author: Qi Liu <liuqi115@huawei.com> * * This code is based on the uncore PMUs like arm-cci and arm-ccn. */ #define pr_fmt(fmt) "cpa pmu: " fm...
Linux kernel'inin 'drivers/perf/hisilicon/hisi_uncore_uc_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * HiSilicon SoC UC (unified cache) uncore Hardware event counters support * * Copyright (C) 2023 HiSilicon Limited * * This code is based on the uncore PMUs like hisi_uncore_l3c_pmu. */ #include <linux/cpuhotplug.h> #include <linux/interrupt.h> #include <linux/irq....
Linux kernel'inin 'drivers/perf/hisilicon/hisi_uncore_l3c_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * HiSilicon SoC L3C uncore Hardware event counters support * * Copyright (C) 2017 HiSilicon Limited * Author: Anurup M <anurup.m@huawei.com> * Shaokun Zhang <zhangshaokun@hisilicon.com> * * This code is based on the uncore PMUs like arm-cci and arm-ccn. *...
Linux kernel'inin 'drivers/perf/hisilicon/hisi_pcie_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * This driver adds support for PCIe PMU RCiEP device. Related * perf events are bandwidth, latency etc. * * Copyright (C) 2021 HiSilicon Limited * Author: Qi Liu <liuqi115@huawei.com> */ #include <linux/bitfield.h> #include <linux/bitmap.h> #include <linux/bug.h> #...