instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/rtc/rtc-hid-sensor-time' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * HID Sensor Time Driver * Copyright (c) 2012, Alexander Holler. */ #include <linux/device.h> #include <linux/platform_device.h> #include <linux/module.h> #include <linux/hid-sensor-hub.h> #include <linux/iio/iio.h> #include <linux/rtc.h> enum hid_time_channel { CHA...
Linux kernel'inin 'drivers/rtc/rtc-pcap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * pcap rtc code for Motorola EZX phones * * Copyright (c) 2008 guiming zhuo <gmzhuo@gmail.com> * Copyright (c) 2009 Daniel Ribeiro <drwyrm@gmail.com> * * Based on Motorola's rtc.c Copyright (c) 2003-2005 Motorola */ #include <linux/kernel.h> #include <linux/module...
Linux kernel'inin 'drivers/rtc/rtc-s35390a' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Seiko Instruments S-35390A RTC Driver * * Copyright (c) 2007 Byron Bradley */ #include <linux/module.h> #include <linux/rtc.h> #include <linux/i2c.h> #include <linux/bitrev.h> #include <linux/bcd.h> #include <linux/slab.h> #include <linux/delay.h> #define S35...
Linux kernel'inin 'drivers/rtc/rtc-da9055' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Real time clock driver for DA9055 * * Copyright(c) 2012 Dialog Semiconductor Ltd. * * Author: Dajun Dajun Chen <dajun.chen@diasemi.com> */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/rtc.h> #include <linux/mfd/da9055/core.h>...
Linux kernel'inin 'drivers/rtc/rtc-atcrtc100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for Andes ATCRTC100 real time clock. * * Copyright (C) 2025 Andes Technology Corporation */ #include <linux/bitfield.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/math64.h> #include <linux/module.h> #include <linux/of.h> #incl...
Linux kernel'inin 'drivers/rtc/rtc-renesas-rtca3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * On-Chip RTC Support available on RZ/G3S SoC * * Copyright (C) 2024 Renesas Electronics Corp. */ #include <linux/bcd.h> #include <linux/bitfield.h> #include <linux/cleanup.h> #include <linux/clk.h> #include <linux/completion.h> #include <linux/delay.h> #include <linux/io...
Linux kernel'inin 'drivers/rtc/rtc-m41t93' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * * Driver for ST M41T93 SPI RTC * * (c) 2010 Nikolaus Voss, Weinmann Medical GmbH */ #include <linux/bcd.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/rtc.h> #include <linux/spi/spi.h> #define M41T93_REG...
Linux kernel'inin 'drivers/rtc/rtc-moxart' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * MOXA ART RTC driver. * * Copyright (C) 2013 Jonas Jensen * * Jonas Jensen <jonas.jensen@gmail.com> * * Based on code from * Moxa Technology Co., Ltd. <www.moxa.com> */ #include <linux/err.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/delay.h...
Linux kernel'inin 'drivers/rtc/rtc-max77686' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // // RTC driver for Maxim MAX77686 and MAX77802 // // Copyright (C) 2012 Samsung Electronics Co.Ltd // // based on rtc-max8997.c #include <linux/i2c.h> #include <linux/slab.h> #include <linux/rtc.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/module.h> ...
Linux kernel'inin 'drivers/rtc/rtc-fm3130' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * rtc-fm3130.c - RTC driver for Ramtron FM3130 I2C chip. * * Copyright (C) 2008 Sergey Lapin * Based on ds1307 driver by James Chapman and David Brownell */ #include <linux/module.h> #include <linux/i2c.h> #include <linux/rtc.h> #include <linux/bcd.h> #include <l...
Linux kernel'inin 'drivers/rtc/rtc-88pm860x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Real Time Clock driver for Marvell 88PM860x PMIC * * Copyright (c) 2010 Marvell International Ltd. * Author: Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h...
Linux kernel'inin 'drivers/rtc/rtc-ds1742' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * An rtc driver for the Dallas DS1742 * * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> * * Copyright (C) 2006 Torsten Ertbjerg Rasmussen <tr@newtec.dk> * - nvram size determined from resource * - this ds1742 driver now supports ds1743. */ #include <...
Linux kernel'inin 'drivers/rtc/rtc-mt6397' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014-2015 MediaTek Inc. * Author: Tianping.Fang <tianping.fang@mediatek.com> */ #include <linux/err.h> #include <linux/interrupt.h> #include <linux/mfd/mt6397/core.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/of.h> #include <linu...
Linux kernel'inin 'drivers/rtc/rtc-meson' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RTC driver for the interal RTC block in the Amlogic Meson6, Meson8, * Meson8b and Meson8m2 SoCs. * * The RTC is split in to two parts, the AHB front end and a simple serial * connection to the actual registers. This driver manages both parts. * * Copyright (c) 2018 M...
Linux kernel'inin 'drivers/rtc/rtc-r9701' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for Epson RTC-9701JE * * Copyright (C) 2008 Magnus Damm * * Based on rtc-max6902.c * * Copyright (C) 2006 8D Technologies inc. * Copyright (C) 2004 Compulab Ltd. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/platform_device.h> ...
Linux işletim sistemi çekirdeği için 'drivers/rtc/rtc-sa1100' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __RTC_SA1100_H__ #define __RTC_SA1100_H__ #include <linux/kernel.h> struct clk; struct platform_device; struct sa1100_rtc { spinlock_t lock; void __iomem *rcnr; void __iomem *rtar; void __iomem *rtsr; void __iomem *rttr; int irq_1hz; int irq_alarm; ...
Linux kernel'inin 'drivers/rtc/rtc-m48t59' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ST M48T59 RTC driver * * Copyright (c) 2007 Wind River Systems, Inc. * * Author: Mark Zhan <rongkai.zhan@windriver.com> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/io.h> #include <linux/device.h> #include <linux...
Linux kernel'inin 'drivers/rtc/rtc-m48t35' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for the SGS-Thomson M48T35 Timekeeper RAM chip * * Copyright (C) 2000 Silicon Graphics, Inc. * Written by Ulf Carlsson (ulfc@engr.sgi.com) * * Copyright (C) 2008 Thomas Bogendoerfer * * Based on code written by Paul Gortmaker. */ #include <linux/mo...
Linux kernel'inin 'drivers/rtc/rtc-ds2404' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2012 Sven Schnelle <svens@stackframe.org> #include <linux/platform_device.h> #include <linux/module.h> #include <linux/init.h> #include <linux/rtc.h> #include <linux/types.h> #include <linux/bcd.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> #incl...
Linux kernel'inin 'drivers/rtc/rtc-sun4v' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems. * * Author: David S. Miller * * Copyright (C) 2008 David S. Miller <davem@davemloft.net> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/delay.h> #include <linux/init.h> #incl...
Linux kernel'inin 'drivers/rtc/rtc-rs5c313' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Ricoh RS5C313 RTC device/driver * Copyright (C) 2007 Nobuhiro Iwamatsu * * 2005-09-19 modified by kogiidena * * Based on the old drivers/char/rs5c313_rtc.c by: * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 1999 Tetsuya Okada & Niibe Yutaka * * Based on code written by Paul...
Linux kernel'inin 'drivers/rtc/rtc-rx8581' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * An I2C driver for the Epson RX8581 RTC * * Author: Martyn Welch <martyn.welch@ge.com> * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. * * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) * Copyright 2005-06 Tower Technologies ...
Linux kernel'inin 'drivers/rtc/rtc-rs5c348' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * A SPI driver for the Ricoh RS5C348 RTC * * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> * * The board specific init code should provide characteristics of this * device: * Mode 1 (High-Active, Shift-Then-Sample), High Avtive CS */ #include <linu...
Linux kernel'inin 'drivers/rtc/test_rtc_lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1+ #include <kunit/test.h> #include <linux/rtc.h> /* * Advance a date by one day. */ static void advance_date(int *year, int *month, int *mday, int *yday, int *wday) { *wday = (*wday + 1) % 7; if (*mday != rtc_month_days(*month - 1, *year)) { ++*mday; ++*yday; return...
Linux kernel'inin 'drivers/rtc/rtc-ds1685' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time * chips. * * Copyright (C) 2011-2014 Joshua Kinard <linux@kumba.dev>. * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>. * * References: * DS1685/DS1687 3V/5V Real-...
Linux kernel'inin 'drivers/rtc/rtc-lpc32xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2010 NXP Semiconductors */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/spinlock.h> #include <linux/rtc.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/of.h>...
Linux kernel'inin 'drivers/rtc/class' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RTC subsystem, base class * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * class skeleton from drivers/hwmon/hwmon.c */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/of.h> #inclu...
Linux kernel'inin 'drivers/rtc/rtc-xgene' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * APM X-Gene SoC Real Time Clock Driver * * Copyright (c) 2014, Applied Micro Circuits Corporation * Author: Rameshwar Prasad Sahu <rsahu@apm.com> * Loc Ho <lho@apm.com> */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/init.h> #include <linux...
Linux kernel'inin 'drivers/rtc/rtc-rx8010' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for the Epson RTC module RX-8010 SJ * * Copyright(C) Timesys Corporation 2015 * Copyright(C) General Electric Company 2015 */ #include <linux/bcd.h> #include <linux/bitops.h> #include <linux/i2c.h> #include <linux/kernel.h> #include <linux/module.h> #inclu...
Linux kernel'inin 'drivers/rtc/rtc-tps6594' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RTC driver for tps6594 PMIC * * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ */ #include <linux/bcd.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/limits.h> #include <li...
Linux kernel'inin 'drivers/rtc/rtc-omap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * TI OMAP Real Time Clock interface for Linux * * Copyright (C) 2003 MontaVista Software, Inc. * Author: George G. Davis <gdavis@mvista.com> or <source@mvista.com> * * Copyright (C) 2006 David Brownell (new RTC framework) * Copyright (C) 2014 Johan Hovold <johan@kerne...
Linux kernel'inin 'drivers/rtc/rtc-max6900' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * rtc class driver for the Maxim MAX6900 chip * * Copyright (c) 2007 MontaVista, Software, Inc. * * Author: Dale Farnsworth <dale@farnsworth.org> * * based on previously existing rtc class drivers */ #include <linux/module.h> #include <linux/i2c.h> #include <lin...
Linux kernel'inin 'drivers/rtc/rtc-pcf8523' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Avionic Design GmbH */ #include <linux/bcd.h> #include <linux/bitfield.h> #include <linux/i2c.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/rtc.h> #include <linux/of.h> #include <linux/pm_wakeirq.h> #define PCF8523_REG_CO...
Linux kernel'inin 'drivers/rtc/rtc-cmos' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * RTC class driver for "CMOS RTC": PCs, ACPI, etc * * Copyright (C) 1996 Paul Gortmaker (drivers/char/rtc.c) * Copyright (C) 2006 David Brownell (convert to new framework) */ /* * The original "cmos clock" chip was an MC146818 chip, now obsolete. * That defi...
Linux kernel'inin 'drivers/rtc/rtc-rx4581' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* drivers/rtc/rtc-rx4581.c * * written by Torben Hohn <torbenh@linutronix.de> * * Based on: * drivers/rtc/rtc-max6902.c * * Copyright (C) 2006 8D Technologies inc. * Copyright (C) 2004 Compulab Ltd. * * Driver for MAX6902 spi RTC * * and based on: * drivers/rt...
Linux kernel'inin 'drivers/rtc/rtc-ntxec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * The Netronix embedded controller is a microcontroller found in some * e-book readers designed by the original design manufacturer Netronix, Inc. * It contains RTC, battery monitoring, system power management, and PWM * functionality. * * This driver implement...
Linux kernel'inin 'drivers/rtc/rtc-mxc_v2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Real Time Clock (RTC) Driver for i.MX53 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc. * Copyright (c) 2017 Beckhoff Automation GmbH & Co. KG */ #include <linux/clk.h> #include <linux/io.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include ...
Linux kernel'inin 'drivers/rtc/rtc-rv3028' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * RTC driver for the Micro Crystal RV3028 * * Copyright (C) 2019 Micro Crystal SA * * Alexandre Belloni <alexandre.belloni@bootlin.com> * */ #include <linux/clk-provider.h> #include <linux/bcd.h> #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/i2...
Linux kernel'inin 'drivers/rtc/rtc-vt8500' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * drivers/rtc/rtc-vt8500.c * * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> * * Based on rtc-pxa.c */ #include <linux/module.h> #include <linux/rtc.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/bcd.h> #incl...
Linux kernel'inin 'drivers/rtc/rtc-rs5c372' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * An I2C driver for Ricoh RS5C372, R2025S/D and RV5C38[67] RTCs * * Copyright (C) 2005 Pavel Mironchik <pmironchik@optifacio.net> * Copyright (C) 2006 Tower Technologies * Copyright (C) 2008 Paul Mundt */ #include <linux/i2c.h> #include <linux/rtc.h> #include <lin...
Linux kernel'inin 'drivers/rtc/rtc-max8925' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * RTC driver for Maxim MAX8925 * * Copyright (C) 2009-2010 Marvell International Ltd. * Haojian Zhuang <haojian.zhuang@marvell.com> */ #include <linux/module.h> #include <linux/i2c.h> #include <linux/slab.h> #include <linux/rtc.h> #include <linux/platform_device.h>...
Linux kernel'inin 'drivers/rtc/rtc-max8997' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // // RTC driver for Maxim MAX8997 // // Copyright (C) 2013 Samsung Electronics Co.Ltd // // based on rtc-max8998.c #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/slab.h> #include <linux/rtc.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/mo...
Linux kernel'inin 'drivers/rtc/rtc-snvs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // // Copyright (C) 2011-2012 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/platform_device.h> #include <linux/pm_wakeirq.h> #include <linux/rtc.h> #include ...
Linux kernel'inin 'drivers/rtc/rtc-mc13xxx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Real Time Clock driver for Freescale MC13XXX PMIC * * (C) 2009 Sascha Hauer, Pengutronix * (C) 2009 Uwe Kleine-Koenig, Pengutronix */ #include <linux/mfd/mc13xxx.h> #include <linux/platform_device.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/...
Linux kernel'inin 'drivers/rtc/rtc-ds1374' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * RTC client/driver for the Maxim/Dallas DS1374 Real-Time Clock over I2C * * Based on code by Randy Vinson <rvinson@mvista.com>, * which was based on the m41t00.c by Mark Greer <mgreer@mvista.com>. * * Copyright (C) 2014 Rose Technology * Copyright (C) 2006-2007 F...
Linux kernel'inin 'drivers/rtc/rtc-ftrtc010' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Faraday Technology FTRTC010 driver * * Copyright (C) 2009 Janos Laube <janos.dev@gmail.com> * * Original code for older kernel 2.6.15 are from Stormlinksemi * first update from Janos Laube for > 2.6.29 kernels * * checkpatch fixes and usage of rtc-lib cod...
Linux kernel'inin 'drivers/rtc/rtc-ps3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * PS3 RTC Driver * * Copyright 2009 Sony Corporation */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/rtc.h> #include <asm/lv1call.h> #include <asm/ps3.h> static u64 read_rtc(void) { int result; u64 rtc_val; ...
Linux kernel'inin 'drivers/rtc/lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * rtc and date/time utility functions * * Copyright (C) 2005-06 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * based on arch/arm/common/rtctime.c and other bits * * Author: Cassio Neri <cassio.neri@gmail.com> (rtc_time64_to_tm) */ #include ...
Linux kernel'inin 'drivers/rtc/rtc-max8998' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ // // RTC driver for Maxim MAX8998 // // Copyright (C) 2010 Samsung Electronics Co.Ltd // Author: Minkyu Kang <mk7.kang@samsung.com> // Author: Joonyoung Shim <jy0922.shim@samsung.com> #include <linux/module.h> #include <linux/i2c.h> #include <linux/slab.h> #include <linux/bcd...
Linux kernel'inin 'drivers/rtc/rtc-msc313' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Real time clocks driver for MStar/SigmaStar ARMv7 SoCs. * Based on "Real Time Clock driver for msb252x." that was contained * in various MStar kernels. * * (C) 2019 Daniel Palmer * (C) 2021 Romain Perier */ #include <linux/clk.h> #include <linux/delay.h> #inclu...
Linux kernel'inin 'drivers/rtc/rtc-digicolor' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Real Time Clock driver for Conexant Digicolor * * Copyright (C) 2015 Paradox Innovation Ltd. * * Author: Baruch Siach <baruch@tkos.co.il> */ #include <linux/io.h> #include <linux/iopoll.h> #include <linux/delay.h> #include <linux/module.h> #include <linux/platform_d...
Linux kernel'inin 'drivers/rtc/rtc-m41t80' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * I2C client/driver for the ST M41T80 family of i2c rtc chips. * * Author: Alexander Bigga <ab@mycable.de> * * Based on m41t00.c by Mark A. Greer <mgreer@mvista.com> * * 2006 (c) mycable GmbH */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bcd.h>...
Linux kernel'inin 'drivers/rtc/rtc-rx8025' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Driver for Epson's RTC module RX-8025 SA/NB * * Copyright (C) 2009 Wolfgang Grandegger <wg@grandegger.com> * * Copyright (C) 2005 by Digi International Inc. * All rights reserved. * * Modified by fengjh at rising.com.cn * <lm-sensors@lm-sensors.org> * 2006.11...
Linux kernel'inin 'drivers/rtc/rtc-wm8350' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Real Time Clock driver for Wolfson Microelectronics WM8350 * * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC. * * Author: Liam Girdwood * linux@wolfsonmicro.com */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/time.h>...
Linux kernel'inin 'drivers/rtc/rtc-palmas' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * rtc-palmas.c -- Palmas Real Time Clock driver. * RTC driver for TI Palma series devices like TPS65913, * TPS65914 power management IC. * * Copyright (c) 2012, NVIDIA Corporation. * * Author: Laxman Dewangan <ldewangan@nvidia.com> */ #include <linux/bcd.h> #in...
Linux kernel'inin 'drivers/edac/skx_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * EDAC driver for Intel(R) Xeon(R) Skylake processors * Copyright (c) 2016, Intel Corporation. */ #include <linux/kernel.h> #include <linux/processor.h> #include <asm/cpu_device_id.h> #include <asm/intel-family.h> #include <asm/mce.h> #include "edac_module.h" #include "s...
Linux işletim sistemi çekirdeği için 'drivers/edac/edac_module' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * edac_module.h * * For defining functions/data for within the EDAC_CORE module only * * written by doug thompson <norsk5@xmission.h> */ #ifndef __EDAC_MODULE_H__ #define __EDAC_MODULE_H__ #include <acpi/ghes.h> #include "edac_mc.h" #include "edac_pci.h" #include ...
Linux kernel'inin 'drivers/edac/qcom_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. */ #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include <linux/soc/qcom/llcc-qcom.h> #inc...
Linux kernel'inin 'drivers/edac/edac_pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * EDAC PCI component * * Author: Dave Jiang <djiang@mvista.com> * * 2007 (c) MontaVista Software, Inc. */ #include <asm/page.h> #include <linux/uaccess.h> #include <linux/ctype.h> #include <linux/highmem.h> #include <linux/init.h> #include <linux/module.h> #include...
Linux kernel'inin 'drivers/edac/e752x_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel e752x Memory Controller kernel module * (C) 2004 Linux Networx (http://lnxi.com) * This file may be distributed under the terms of the * GNU General Public License. * * Implement support for the e7520, E7525, e7320 and i3100 memory controllers. * * Datasheets: * https://www.intel.in/content/www...
Linux kernel'inin 'drivers/edac/bluefield_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Bluefield-specific EDAC driver. * * Copyright (c) 2019 Mellanox Technologies. */ #include <linux/acpi.h> #include <linux/arm-smccc.h> #include <linux/bitfield.h> #include <linux/edac.h> #include <linux/io.h> #include <linux/module.h> #include <linux/platform_device.h> ...
Linux işletim sistemi çekirdeği için 'drivers/edac/edac_device' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Defines, structures, APIs for edac_device * * (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/~goemon/...
Linux işletim sistemi çekirdeği için 'drivers/edac/altera_edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2017-2018, Intel Corporation * Copyright (C) 2015 Altera Corporation */ #ifndef _ALTERA_EDAC_H #define _ALTERA_EDAC_H #include <linux/arm-smccc.h> #include <linux/edac.h> #include <linux/types.h> /* SDRAM Controller CtrlCfg Register */ #define CV_CTLC...
Linux kernel'inin 'drivers/edac/i5100_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 5100 Memory Controllers kernel module * * This file may be distributed under the terms of the * GNU General Public License. * * This module is based on the following document: * * Intel 5100X Chipset Memory Controller Hub (MCH) - Datasheet * http://download.intel.com/design/chipsets/datash...
Linux kernel'inin 'drivers/edac/x38_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel X38 Memory Controller kernel module * Copyright (C) 2008 Cluster Computing, Inc. * * This file may be distributed under the terms of the * GNU General Public License. * * This file is based on i3200_edac.c * */ #include <linux/module.h> #include <linux/init.h> #include <linux/pci.h> #include <...
Linux işletim sistemi çekirdeği için 'drivers/edac/edac_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Defines, structures, APIs for edac_pci and edac_pci_sysfs * * (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.an...
Linux kernel'inin 'drivers/edac/edac_pci_sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * (C) 2005, 2006 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> * */ #include <linux/module.h> #include <linux/edac.h> #include <linux/slab.h> #include <linux/ctype.h> #include "edac_pci....
Linux kernel'inin 'drivers/edac/mem_repair' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * The generic EDAC memory repair driver is designed to control the memory * devices with memory repair features, such as Post Package Repair (PPR), * memory sparing etc. The common sysfs memory repair interface abstracts * the control of various arbitrary memory repair fu...
Linux kernel'inin 'drivers/edac/scrub' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * The generic EDAC scrub driver controls the memory scrubbers in the * system. The common sysfs scrub interface abstracts the control of * various arbitrary scrubbing functionalities into a unified set of * functions. * * Copyright (c) 2024-2025 HiSilicon Limited. */ ...
Linux kernel'inin 'drivers/edac/i3000_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 3000/3010 Memory Controller kernel module * Copyright (C) 2007 Akamai Technologies, Inc. * Shamelessly copied from: * 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. ...
Linux kernel'inin 'drivers/edac/mce_amd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/module.h> #include <linux/slab.h> #include <asm/cpu.h> #include <asm/msr.h> #include "mce_amd.h" static struct amd_decoder_ops fam_ops; static u8 xec_mask = 0xf; static void (*decode_dram_ecc)(int node_id, struct mce *m); void amd_register_ecc_decoder...
Linux kernel'inin 'drivers/edac/octeon_edac-l2c' 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> */ #...
Linux kernel'inin 'drivers/edac/pasemi_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2006-2007 PA Semi, Inc * * Author: Egor Martovetsky <egor@pasemi.com> * Maintained by: Olof Johansson <olof@lixom.net> * * Driver for the PWRficient onchip memory controllers */ #include <linux/module.h> #include <linux/init.h> #include <linux/pc...
Linux kernel'inin 'drivers/edac/mpc85xx_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Freescale MPC85xx Memory Controller kernel module * * Parts Copyrighted (c) 2013 by Freescale Semiconductor, Inc. * * Author: Dave Jiang <djiang@mvista.com> * * 2006-2007 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * ...
Linux kernel'inin 'drivers/edac/i10nm_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for Intel(R) 10nm server memory controller. * Copyright (c) 2019, 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 "edac_module.h" #include "skx_com...
Linux kernel'inin 'drivers/edac/al_mc_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/edac.h> #include <linux/of_irq.h> #include <linux/platform_device.h> #include <linux/spinlock.h> #include "edac_module.h" /* R...
Linux kernel'inin 'drivers/edac/amd76x_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * AMD 76x 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 * Based on work by Dan Hollis <goemon at anime dot net> and others. * http://www.anime.net/~goemon/linux...
Linux kernel'inin 'drivers/edac/altera_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017-2018, Intel Corporation. All rights reserved * Copyright Altera Corporation (C) 2014-2016. All rights reserved. * Copyright 2011-2012 Calxeda, Inc. */ #include <asm/cacheflush.h> #include <linux/ctype.h> #include <linux/delay.h> #include <linux/ed...
Linux işletim sistemi çekirdeği için 'drivers/edac/pnd2_edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Register bitfield descriptions for Pondicherry2 memory controller. * * Copyright (c) 2016, Intel Corporation. */ #ifndef _PND2_REGS_H #define _PND2_REGS_H struct b_cr_touud_lo_pci { u32 lock : 1; u32 reserved_1 : 19; u32 touud : 12; }; #define b_cr_touud_l...
Linux kernel'inin 'drivers/edac/edac_module' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * edac_module.c * * (C) 2007 www.softwarebitmaker.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 kind, whether express or implied. * * Author: Doug Thompson <dougthompson@xmission.com> * */ #i...
Linux kernel'inin 'drivers/edac/i82975x_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 82975X Memory Controller kernel module * (C) 2007 aCarLab (India) Pvt. Ltd. (http://acarlab.com) * (C) 2007 jetzbroadband (http://jetzbroadband.com) * This file may be distributed under the terms of the * GNU General Public License. * * Written by Arvind R. * Copied from i82875p_edac.c source:...
Linux kernel'inin 'drivers/edac/ie31200_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel E3-1200 * Copyright (C) 2014 Jason Baron <jbaron@akamai.com> * * Support for the E3-1200 processor family. Heavily based on previous * Intel EDAC drivers. * * Since the DRAM controller is on the cpu chip, we can use its PCI device * id to identify these p...
Linux kernel'inin 'drivers/edac/ghes_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * GHES/EDAC Linux driver * * Copyright (c) 2013 by Mauro Carvalho Chehab * * Red Hat Inc. https://www.redhat.com */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <acpi/ghes.h> #include <linux/edac.h> #include <linux/dmi.h> #include "edac_module.h" #include...
Linux kernel'inin 'drivers/edac/octeon_edac-pc' 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> */ #...
Linux işletim sistemi çekirdeği için 'drivers/edac/skx_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common codes for both the skx_edac driver and Intel 10nm server EDAC driver. * Originally split out from the skx_edac driver. * * Copyright (c) 2018, Intel Corporation. */ #ifndef _SKX_COMM_EDAC_H #define _SKX_COMM_EDAC_H #include <linux/bits.h> #include <asm/mce....
Linux kernel'inin 'drivers/edac/i5000_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 5000(P/V/X) class Memory Controllers kernel module * * This file may be distributed under the terms of the * GNU General Public License. * * Written by Douglas Thompson Linux Networx (http://lnxi.com) * norsk5@xmission.com * * This module is based on the following document: * * Intel 5000X Ch...
Linux kernel'inin 'drivers/edac/sb_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Intel Sandy Bridge -EN/-EP/-EX Memory Controller kernel module * * This driver supports the memory controllers found on the Intel * processor family Sandy Bridge. * * Copyright (c) 2011 by: * Mauro Carvalho Chehab */ #include <linux/module.h> #include <linux/ini...
Linux kernel'inin 'drivers/edac/amd64_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/ras.h> #include <linux/string_choices.h> #include "amd64_edac.h" #include <asm/amd/nb.h> #include <asm/amd/node.h> static struct edac_pci_ctl_info *pci_ctl; /* * Set by command line parameter. If BIOS has enabled the ECC, this override is * cleared to pr...
Linux kernel'inin 'drivers/edac/ecs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * The generic ECS driver is designed to support control of on-die error * check scrub (e.g., DDR5 ECS). The common sysfs ECS interface abstracts * the control of various ECS functionalities into a unified set of functions. * * Copyright (c) 2024-2025 HiSilicon Limited. ...
Linux kernel'inin 'drivers/edac/dmc520_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * EDAC driver for DMC-520 memory controller. * * The driver supports 10 interrupt lines, * though only dram_ecc_errc and dram_ecc_errd are currently handled. * * Authors: Rui Zhao <ruizhao@microsoft.com> * Lei Wang <lewan@microsoft.com> * Shiping Ji <shji@microsoft...
Linux kernel'inin 'drivers/edac/sifive_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * SiFive Platform EDAC Driver * * Copyright (C) 2018-2022 SiFive, Inc. * * This driver is partially based on octeon_edac-pc.c * */ #include <linux/edac.h> #include <linux/platform_device.h> #include "edac_module.h" #include <soc/sifive/sifive_ccache.h> #define DRVNAME...
Linux kernel'inin 'drivers/edac/npcm_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // Copyright (c) 2022 Nuvoton Technology Corporation #include <linux/debugfs.h> #include <linux/iopoll.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include "edac_module.h" #define EDAC_MOD_NAME "npcm-edac" #define EDAC_MSG_SIZE ...
Linux kernel'inin 'drivers/edac/igen6_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for Intel client SoC with integrated memory controller using IBECC * * Copyright (C) 2020 Intel Corporation * * The In-Band ECC (IBECC) IP provides ECC protection to all or specific * regions of the physical memory space. It's used for memory controllers * tha...
Linux kernel'inin 'drivers/edac/armada_xp_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 Pengutronix, Jan Luebbe <kernel@pengutronix.de> */ #include <linux/kernel.h> #include <linux/edac.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <asm/hardware/cache-l2x0.h> #include <asm/hardware/cach...
Linux işletim sistemi çekirdeği için 'drivers/edac/mpc85xx_edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Freescale MPC85xx Memory Controller kernel module * Author: Dave Jiang <djiang@mvista.com> * * 2006-2007 (c) MontaVista Software, Inc. */ #ifndef _MPC85XX_EDAC_H_ #define _MPC85XX_EDAC_H_ #define MPC85XX_REVISION " Ver: 2.0.0" #define EDAC_MOD_STR "MPC85xx_eda...
Linux kernel'inin 'drivers/edac/fsl_ddr_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```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. * * Parts Copyrighted (c) 2013 by Frees...
Linux kernel'inin 'drivers/edac/i82860_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Intel 82860 Memory Controller kernel module * (C) 2005 Red Hat (http://www.redhat.com) * This file may be distributed under the terms of the * GNU General Public License. * * Written by Ben Woodard <woodard@redhat.com> * shamelessly copied from and based upon the edac_i82875 driver * by Thayne Harbaug...
Linux kernel'inin 'drivers/edac/thunderx_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Cavium ThunderX memory controller kernel module * * 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 Cavium, Inc. (C) 2015-2017. All rights reserved. * */ #include <li...
Linux kernel'inin 'drivers/edac/synopsys_edac' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Synopsys DDR ECC Driver * This driver is based on ppc4xx_edac.c drivers * * Copyright (C) 2012 - 2014 Xilinx, Inc. */ #include <linux/edac.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/spinlock.h> #include <linux/sizes.h> #includ...
Linux kernel'inin 'drivers/edac/edac_mc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * edac_mc kernel module * (C) 2005, 2006 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/~goemon/linux-ecc/ * * ...