instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inde 'arch/arm/kernel/entry-ftrace' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ #include <asm/assembler.h> #include <asm/ftrace.h> #include <asm/unwind.h> #include "entry-header.S" /* * When compiling with -pg, gcc inserts a call to the mcount routine at the * start of every function. In mcount, apart from the function's address (in * ...
Linux kernel'inin 'arch/arm/kernel/traps' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/traps.c * * Copyright (C) 1995-2009 Russell King * Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds * * 'traps.c' handles hardware exceptions after we have saved some state in * 'linux/arch/arm/lib/tr...
Linux kernel'inde 'arch/arm/kernel/hyp-stub' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2012 Linaro Limited. */ #include <linux/init.h> #include <linux/irqchip/arm-gic-v3.h> #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/virt.h> .arch armv7-a #ifndef ZIMAGE /* * For the kernel proper, we need to find ...
Linux kernel'inin 'arch/arm/kernel/atags_proc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/slab.h> #include <linux/proc_fs.h> #include <asm/setup.h> #include <asm/types.h> #include <asm/page.h> struct buffer { size_t size; char data[] __counted_by(size); }; static ssize_t atags_read(struct file *file, char __user *buf, size_t count, loff_t *pp...
Linux işletim sistemi çekirdeği için 'arch/arm/kernel/head' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only extern char __data_loc[]; extern char _edata_loc[]; extern char _sdata[]; int __init __inflate_kernel_data(void); ```
Linux kernel'inde 'arch/arm/kernel/relocate_kernel' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * relocate_kernel.S - put the kernel image in place to boot */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/kexec.h> .align 3 /* not needed for this code, but keeps fncpy() happy */ ENTRY(relocate_new_kernel)...
Linux kernel'inin 'arch/arm/kernel/io' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/export.h> #include <linux/types.h> #include <linux/io.h> #include <linux/spinlock.h> static DEFINE_RAW_SPINLOCK(__io_lock); /* * Generic atomic MMIO modify. * * Allows thread-safe access to registers shared by unrelated subsystems. * The access is protected...
Linux kernel'inin 'arch/arm/kernel/module-plts' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-2017 Linaro Ltd. <ard.biesheuvel@linaro.org> */ #include <linux/elf.h> #include <linux/ftrace.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/sort.h> #include <linux/moduleloader.h> #include <asm/cache.h> #include <asm/opco...
Linux kernel'inin 'arch/arm/kernel/bios32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/kernel/bios32.c * * PCI bios-type initialisation for PCI machines * * Bits taken from various places. */ #include <linux/export.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/string_choices.h> #include <li...
Linux kernel'inin 'arch/arm/kernel/v7m' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Uwe Kleine-Koenig for Pengutronix */ #include <linux/io.h> #include <linux/reboot.h> #include <asm/barrier.h> #include <asm/v7m.h> void armv7m_restart(enum reboot_mode mode, const char *cmd) { dsb(); __raw_writel(V7M_SCB_AIRCR_VECTKEY | V7M_SCB_...
Linux kernel'inin 'arch/arm/kernel/atags_parse' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Tag parsing. * * Copyright (C) 1995-2001 Russell King */ /* * This is the traditional way of passing data to the kernel at boot time. Rather * than passing a fixed inflexible structure to the kernel, we pass a list * of variable-sized tags to the kernel. The ...
Linux kernel'inde 'arch/arm/kernel/entry-common' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/entry-common.S * * Copyright (C) 2000 Russell King */ #include <asm/assembler.h> #include <asm/unistd.h> #include <asm/ftrace.h> #include <asm/unwind.h> #include <asm/page.h> #ifdef CONFIG_AEABI #include <asm/unistd-oabi.h> #endif...
Linux kernel'inin 'arch/arm/kernel/efi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <linux/efi.h> #include <linux/memblock.h> #include <linux/screen_info.h> #include <asm/efi.h> #include <asm/mach/map.h> #include <asm/mmu_context.h> static int __init set_permissions(pte_t *ptep...
Linux kernel'inin 'arch/arm/kernel/arch_timer' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/arch_timer.c * * Copyright (C) 2011 ARM Ltd. * All Rights Reserved */ #include <linux/init.h> #include <linux/types.h> #include <linux/errno.h> #include <asm/delay.h> #include <asm/arch_timer.h> #include <clocksource/arm_arch_timer.h> s...
Linux kernel'inin 'arch/arm/kernel/process' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/kernel/process.c * * Copyright (C) 1996-2000 Russell King - Converted to ARM. * Original Copyright (C) 1995 Linus Torvalds */ #include <linux/export.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/task.h> #includ...
Linux kernel'inde 'arch/arm/kernel/entry-armv' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/entry-armv.S * * Copyright (C) 1996,1997,1998 Russell King. * ARM700 fix by Matthew Godbolt (linux-user@willothewisp.demon.co.uk) * nommu support by Hyok S. Choi (hyok.choi@samsung.com) * * Low-level vector interface routines...
Linux kernel'inde 'arch/arm/kernel/vmlinux-xip.lds' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* ld script to make ARM Linux kernel * taken from the i386 version by Russell King * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz> */ /* No __ro_after_init data in the .rodata section - which will always be ro */ #define RO_AFTER_INIT_DATA #include <linux...
Linux kernel'inin 'arch/arm/kernel/jump_label' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/jump_label.h> #include <asm/text-patching.h> #include <asm/insn.h> static void __arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type, bool is_static) { void *addr = (void *)entry->code; unsigned int...
Linux kernel'inin 'arch/arm/mach-milbeaut/platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright: (C) 2018 Socionext Inc. * Copyright: (C) 2015 Linaro Ltd. */ #include <linux/cpu_pm.h> #include <linux/irqchip/arm-gic.h> #include <linux/of_address.h> #include <linux/suspend.h> #include <asm/cacheflush.h> #include <asm/cp15.h> #include <asm/idmap.h> #inclu...
Linux işletim sistemi çekirdeği için 'arch/arm/net/bpf_jit_32' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Just-In-Time compiler for BPF filters on 32bit ARM * * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> */ #ifndef PFILTER_OPCODES_ARM_H #define PFILTER_OPCODES_ARM_H /* ARM 32bit Registers */ #define ARM_R0 0 #define ARM_R1 1 #define ARM_R2 2 #define AR...
Linux kernel'inin 'arch/arm/net/bpf_jit_32' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Just-In-Time compiler for eBPF filters on 32bit ARM * * Copyright (c) 2023 Puranjay Mohan <puranjay12@gmail.com> * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com> * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> */ #include <linux/bpf.h> #i...
Linux kernel'inin 'arch/arm/mach-s5pv210/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // // Copyright (c) 2010-2014 Samsung Electronics Co., Ltd. // http://www.samsung.com // // S5PV210 - Power Management support // // Based on arch/arm/mach-s3c2410/pm.c // Copyright (c) 2006 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> #include <linux/init.h> #include <l...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-s5pv210/regs-clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * S5PV210 - Clock register definitions */ #ifndef __ASM_ARCH_REGS_CLOCK_H #define __ASM_ARCH_REGS_CLOCK_H __FILE__ #define S3C_ADDR_BASE 0xF6000000 #define S3C_ADDR(x) ((void __iomem _...
Linux kernel'inin 'arch/arm/mach-s5pv210/s5pv210' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // // Samsung's S5PC110/S5PV210 flattened device tree enabled machine. // // Copyright (c) 2013-2014 Samsung Electronics Co., Ltd. // Mateusz Krawczuk <m.krawczuk@partner.samsung.com> // Tomasz Figa <t.figa@samsung.com> #include <linux/of_fdt.h> #include <linux/platform_device....
Linux kernel'inde 'arch/arm/mach-s5pv210/sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. * http://www.samsung.com * * S5PV210 Sleep Code * Based on S3C64XX sleep code by: * Ben Dooks, (c) 2008 Simtec Electronics */ #include <linux/linkage.h> .text .align /* * sleep magic, to allow ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-s5pv210/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Common Header for S5PV210 machines */ #ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H #define __ARCH_ARM_MACH_S5PV210_COMMON_H #ifdef CONFIG_PM_SLEEP void s5pv210_cpu_resume(void); void s5pv21...
Linux kernel'inde 'arch/arm/mach-socfpga/headsmp' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2003 ARM Limited * Copyright (c) u-boot contributors * Copyright (c) 2012 Pavel Machek <pavel@denx.de> */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/page.h> #include <asm/assembler.h> .arch armv7-a .arm ENTRY(sec...
Linux kernel'inin 'arch/arm/mach-socfpga/platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2010-2011 Calxeda, Inc. * Copyright 2012 Pavel Machek <pavel@denx.de> * Based on platsmp.c, Copyright (C) 2002 ARM Ltd. * Copyright (C) 2012 Altera Corporation */ #include <linux/delay.h> #include <linux/init.h> #include <linux/smp.h> #include <linux/io....
Linux kernel'inin 'arch/arm/mach-socfpga/socfpga' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2015 Altera Corporation */ #include <linux/irqchip.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/reboot.h> #include <linux/reset/socfpga.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/cacheflush...
Linux kernel'inin 'arch/arm/mach-socfpga/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-socfpga/pm.c * * Copyright (C) 2014-2015 Altera Corporation. All rights reserved. * * with code from pm-imx6.c * Copyright 2011-2014 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. */ #include <linux/bitops.h> #include <linux/genalloc...
Linux kernel'inin 'arch/arm/mach-socfpga/l2_cache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright Altera Corporation (C) 2016. All rights reserved. */ #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include "core.h" /* A10 System Manager L2 ECC Control register */ #define A10_MPU_CTRL_L2_ECC_OFST 0x0 #define A10_MPU...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-socfpga/core' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2012 Pavel Machek <pavel@denx.de> * Copyright (C) 2012-2015 Altera Corporation */ #ifndef __MACH_CORE_H #define __MACH_CORE_H #define SOCFPGA_RSTMGR_CTRL 0x04 #define SOCFPGA_RSTMGR_MODMPURST 0x10 #define SOCFPGA_RSTMGR_MODPERRST 0x14 #define SOCF...
Linux kernel'inin 'arch/arm/mach-socfpga/ocram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright Altera Corporation (C) 2016. All rights reserved. */ #include <linux/delay.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include "core.h" #define ALTR_OCRAM_CLEAR_ECC 0x00000018 #define ALTR_OCRAM_ECC_EN ...
Linux kernel'inde 'arch/arm/mach-socfpga/self-refresh' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-2015 Altera Corporation. All rights reserved. */ #include <linux/linkage.h> #include <asm/assembler.h> #define MAX_LOOP_COUNT 1000 /* Register offset */ #define SDR_CTRLGRP_LOWPWREQ_ADDR 0x54 #define SDR_CTRLGRP_LOWPWRACK_ADDR ...
Linux kernel'inin 'arch/arm/mach-artpec/board-artpec6' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * ARTPEC-6 device support. */ #include <linux/amba/bus.h> #include <linux/clocksource.h> #include <linux/dma-mapping.h> #include <linux/io.h> #include <linux/irqchip.h> #include <linux/irqchip/arm-gic.h> #include <linux/mfd/syscon.h> #include <linux/of.h> #include <li...
Linux kernel'inin 'arch/arm/vfp/vfpdouble' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/arch/arm/vfp/vfpdouble.c * * This code is derived in part from John R. Housers softfloat library, which * carries the following notice: * * =========================================================================== * This C source file is part of the SoftFloat IEC/IEEE Floating-point * Arithme...
Linux işletim sistemi çekirdeği için 'arch/arm/vfp/vfpinstr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/vfp/vfpinstr.h * * Copyright (C) 2004 ARM Limited. * Written by Deep Blue Solutions Limited. * * VFP instruction masks. */ #define INST_CPRTDO(inst) (((inst) & 0x0f000000) == 0x0e000000) #define INST_CPRT(inst) ((inst) & (1 << 4)) #define I...
Linux kernel'inin 'arch/arm/vfp/vfpsingle' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/arch/arm/vfp/vfpsingle.c * * This code is derived in part from John R. Housers softfloat library, which * carries the following notice: * * =========================================================================== * This C source file is part of the SoftFloat IEC/IEEE Floating-point * Arithme...
Linux kernel'inin 'arch/arm/vfp/vfpmodule' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/vfp/vfpmodule.c * * Copyright (C) 2004 ARM Limited. * Written by Deep Blue Solutions Limited. */ #include <linux/types.h> #include <linux/cpu.h> #include <linux/cpu_pm.h> #include <linux/hardirq.h> #include <linux/kernel.h> #include <linux/notifi...
Linux kernel'inde 'arch/arm/vfp/vfphw' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/vfp/vfphw.S * * Copyright (C) 2004 ARM Limited. * Written by Deep Blue Solutions Limited. */ #include <linux/init.h> #include <linux/linkage.h> #include <asm/thread_info.h> #include <asm/vfpmacros.h> #include <linux/kern_levels.h> #incl...
Linux işletim sistemi çekirdeği için 'arch/arm/vfp/vfp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/vfp/vfp.h * * Copyright (C) 2004 ARM Limited. * Written by Deep Blue Solutions Limited. */ static inline u32 vfp_shiftright32jamming(u32 val, unsigned int shift) { if (shift) { if (shift < 32) val = val >> shift | ((val << (32 - shift))...
Linux kernel'inin 'arch/arm/crypto/aes-ce-glue' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * aes-ce-glue.c - wrapper code for ARMv8 AES * * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <asm/hwcap.h> #include <asm/neon.h> #include <asm/simd.h> #include <linux/unaligned.h> #include <crypto/aes.h> #include <crypto/internal/skcipher.h...
Linux kernel'inin 'arch/arm/crypto/ghash-ce-glue' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES-GCM using ARMv8 Crypto Extensions * * Copyright (C) 2015 - 2018 Linaro Ltd. * Copyright (C) 2023 Google LLC. */ #include <asm/hwcap.h> #include <asm/neon.h> #include <crypto/aes.h> #include <crypto/b128ops.h> #include <crypto/gcm.h> #include <crypto/gf128mul....
Linux kernel'inin 'arch/arm/crypto/aes-neonbs-glue' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Bit sliced AES using NEON instructions * * Copyright (C) 2017 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <asm/neon.h> #include <asm/simd.h> #include <crypto/aes.h> #include <crypto/internal/skcipher.h> #include <crypto/scatterwalk.h> #include <crypto/xts.h...
Linux kernel'inde 'arch/arm/crypto/aes-neonbs-core' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Bit sliced AES using NEON instructions * * Copyright (C) 2017 Linaro Ltd. * Author: Ard Biesheuvel <ard.biesheuvel@linaro.org> */ /* * The algorithm implemented here is described in detail by the paper * 'Faster and Timing-Attack Resistant AES-GCM' by...
Linux kernel'inde 'arch/arm/crypto/aes-ce-core' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions * * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <linux/linkage.h> #include <asm/assembler.h> .text .arch armv8-a .fpu crypto-neon-fp-armv8 .align 3 ...
Linux kernel'inde 'arch/arm/crypto/ghash-ce-core' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Accelerated AES-GCM implementation with ARMv8 Crypto Extensions. * * Copyright (C) 2015 - 2017 Linaro Ltd. * Copyright (C) 2023 Google LLC. <ardb@google.com> */ #include <linux/linkage.h> #include <asm/assembler.h> .arch armv8-a .fpu crypto-neon-fp...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-lpc32xx/lpc32xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/arm/mach-lpc32xx/include/mach/platform.h * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #ifndef __ARM_LPC32XX_H #define __ARM_LPC32XX_H #define _SBF(f, v) ((v) << (f)) #define _BIT(n) _SBF(n, 1) /*...
Linux kernel'inin 'arch/arm/mach-lpc32xx/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mach-lpc32xx/pm.c * * Original authors: Vitaly Wool, Dmitry Chigirev <source@mvista.com> * Modified by Kevin Wells <kevin.wells@nxp.com> * * 2005 (c) MontaVista Software, Inc. */ /* * LPC32XX CPU and system power management * * The LPC32XX has three...
Linux kernel'inin 'arch/arm/mach-lpc32xx/serial' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/arm/mach-lpc32xx/serial.c * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/serial.h> #include <linux/serial_core.h> #include <linux/serial_reg.h...
Linux kernel'inde 'arch/arm/mach-lpc32xx/suspend' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-lpc32xx/suspend.S * * Original authors: Dmitry Chigirev, Vitaly Wool <source@mvista.com> * Modified by Kevin Wells <kevin.wells@nxp.com> * * 2005 (c) MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #incl...
Linux kernel'inin 'arch/arm/mach-lpc32xx/phy3250' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Platform support for LPC32xx SoC * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2012 Roland Stigge <stigge@antcom.de> * Copyright (C) 2010 NXP Semiconductors */ #include <linux/amba/pl08x.h> #include <linux/mtd/lpc32xx_mlc.h> #include <linux/mtd/lp...
Linux kernel'inin 'arch/arm/mach-lpc32xx/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * arch/arm/mach-lpc32xx/common.c * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #include <linux/init.h> #include <linux/soc/nxp/lpc32xx-misc.h> #include <asm/mach/map.h> #include <asm/system_info.h> #include "lpc32...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-lpc32xx/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arch/arm/mach-lpc32xx/common.h * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2009-2010 NXP Semiconductors */ #ifndef __LPC32XX_COMMON_H #define __LPC32XX_COMMON_H #include <linux/init.h> /* * Other arch specific structures and functio...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * TI DaVinci clock definitions * * Copyright (C) 2006-2007 Texas Instruments. * Copyright (C) 2008-2009 Deep Root Systems, LLC */ #ifndef __ARCH_ARM_DAVINCI_CLOCK_H #define __ARCH_ARM_DAVINCI_CLOCK_H /* PLL/Reset register offsets */ #define PLLCTL 0x10...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/sram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * mach/sram.h - DaVinci simple SRAM allocator * * Copyright (C) 2009 David Brownell */ #ifndef __MACH_SRAM_H #define __MACH_SRAM_H /* ARBITRARY: SRAM allocations are multiples of this 2^N size */ #define SRAM_GRANULARITY 512 /* * SRAM allocations return a CPU ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/psc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * DaVinci Power & Sleep Controller (PSC) defines * * Copyright (C) 2006 Texas Instruments. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the Lic...
Linux kernel'inin 'arch/arm/mach-davinci/pm_domain' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Runtime PM support code for DaVinci * * Author: Kevin Hilman * * Copyright (C) 2012 Texas Instruments, Inc. */ #include <linux/init.h> #include <linux/pm_runtime.h> #include <linux/pm_clock.h> #include <linux/platform_device.h> #include <linux/of.h> static struc...
Linux kernel'inin 'arch/arm/mach-davinci/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * DaVinci Power Management Routines * * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/ */ #include <linux/pm.h> #include <linux/suspend.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/clk.h> #include <linux/spinlock.h>...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/irqs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * DaVinci interrupt controller definitions * * Copyright (C) 2006 Texas Instruments. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, o...
Linux kernel'inin 'arch/arm/mach-davinci/mux' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Utility to set the DAVINCI MUX register from a table in mux.h * * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com> * * Based on linux/arch/arm/plat-omap/mux.c: * Copyright (C) 2003 - 2005 Nokia Corporation * * Written by Tony Lindgren * ...
Linux kernel'inin 'arch/arm/mach-davinci/da850' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * TI DA850/OMAP-L138 chip specific setup * * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ * * Original Copyrights follow: * * 2009 (c) MontaVista Software, Inc. */ #include <linux/gpio.h> #include <linux/init.h> #include <linux/io.h> #...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/cputype' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * DaVinci CPU type detection * * Author: Kevin Hilman, Deep Root Systems, LLC * * Defines the cpu_is_*() macros for runtime detection of DaVinci * device type. In addition, if support for a given device is not * compiled in to the kernel, the macros return 0 s...
Linux kernel'inin 'arch/arm/mach-davinci/sram' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * mach-davinci/sram.c - DaVinci simple SRAM allocator * * Copyright (C) 2009 David Brownell */ #include <linux/module.h> #include <linux/init.h> #include <linux/io.h> #include <linux/genalloc.h> #include "common.h" #include "sram.h" static struct gen_pool *sram...
Linux kernel'inin 'arch/arm/mach-davinci/pdata-quirks' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Legacy platform_data quirks * * Copyright (C) 2016 BayLibre, Inc */ #include <linux/kernel.h> #include <linux/of.h> #include <media/i2c/tvp514x.h> #include <media/i2c/adv7343.h> #include "common.h" #include "da8xx.h" struct pdata_init { const char *compatible; ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/pm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * TI DaVinci platform support for power management. * * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/ */ #ifndef _MACH_DAVINCI_PM_H #define _MACH_DAVINCI_PM_H /* * Caution: Assembly code in sleep.S makes assumtion on the order * of the members ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/da8xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Chip specific defines for DA8XX/OMAP L1XX SoC * * Author: Mark A. Greer <mgreer@mvista.com> * * 2007, 2009-2010 (c) MontaVista Software, Inc. */ #ifndef __ASM_ARCH_DAVINCI_DA8XX_H #define __ASM_ARCH_DAVINCI_DA8XX_H #include <linux/dma-mapping.h> #include <lin...
Linux kernel'inde 'arch/arm/mach-davinci/sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2009, Texas Instruments, Inc. https://www.ti.com/ */ /* replicated define because linux/bitops.h cannot be included in assembly */ #define BIT(nr) (1 << (nr)) #include <linux/linkage.h> #include <asm/assembler.h> #include "psc.h" #include ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/hardware' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Hardware definitions common to all DaVinci family processors * * Author: Kevin Hilman, Deep Root Systems, LLC * * 2007 (c) Deep Root Systems, LLC. */ #ifndef __ASM_ARCH_HARDWARE_H #define __ASM_ARCH_HARDWARE_H /* * Before you add anything to ths file: * * ...
Linux kernel'inin 'arch/arm/mach-davinci/da8xx-dt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ * * Modified from mach-omap/omap2/board-generic.c */ #include <asm/mach/arch.h> #include "common.h" #include "da8xx.h" #ifdef CONFIG_ARCH_DAVINCI_DA850 static void __init da850_init_machine...
Linux kernel'inin 'arch/arm/mach-davinci/devices-da8xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * DA8XX/OMAP L1XX platform device data * * Copyright (c) 2007-2009, MontaVista Software, Inc. <source@mvista.com> * Derived from code that was: * Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com> */ #include <linux/ahci_platform.h> #include <linux/clk-...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/ddr2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define DDR2_SDRCR_OFFSET 0xc #define DDR2_SRPD_BIT (1 << 23) #define DDR2_MCLKSTOPEN_BIT (1 << 30) #define DDR2_LPMODEN_BIT (1 << 31) ```
Linux kernel'inin 'arch/arm/mach-davinci/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Code commons to all DaVinci SoCs. * * Author: Mark A. Greer <mgreer@mvista.com> * * 2009 (c) MontaVista Software, Inc. */ #include <linux/module.h> #include <linux/io.h> #include <linux/etherdevice.h> #include <linux/davinci_emac.h> #include <linux/dma-mapping.h>...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Header for code common to all DaVinci machines. * * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com> * * 2007 (c) MontaVista Software, Inc. */ #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H #define __ARCH_ARM_MACH_DAVINCI_COMMON_H #include <linu...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-davinci/mux' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Pin-multiplex helper macros for TI DaVinci family devices * * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com> * * 2007 (c) MontaVista Software, Inc. * * Copyright (C) 2008 Texas Instruments. */ #ifndef _MACH_DAVINCI_MUX_H_ #define _MA...
Linux kernel'inin 'arch/arm/mach-omap1/irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/arch/arm/mach-omap1/irq.c * * Interrupt handler for all OMAP boards * * Copyright (C) 2004 Nokia Corporation * Written by Tony Lindgren <tony@atomide.com> * Major cleanups by Juha Yrjölä <juha.yrjola@nokia.com> * * Completely re-written to support various OMAP chips with bank specific * interr...
Linux kernel'inin 'arch/arm/mach-omap1/clock_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/clock_data.c * * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc * * To do: * - Clocks that ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/flash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Flash support for OMAP1 */ #ifndef __OMAP_FLASH_H #define __OMAP_FLASH_H #include <linux/mtd/map.h> struct platform_device; extern void omap1_set_vpp(struct platform_device *pdev, int enable); #endif ```
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mach-omap1/clock.h * * Copyright (C) 2004 - 2005, 2009 Nokia corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc */ #ifndef __ARCH_ARM_MACH_OMAP1_CL...
Linux kernel'inin 'arch/arm/mach-omap1/board-ams-delta' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/board-ams-delta.c * * Modified from board-generic.c * * Board specific inits for the Amstrad E3 (codename Delta) videophone * * Copyright (C) 2006 Jonathan McDowell <noodles@earth.li> */ #include <linux/gpio/driver.h> #include <linux/g...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/tc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * OMAP Traffic Controller * * Copyright (C) 2004 Nokia Corporation * Author: Imre Deak <imre.deak@nokia.com> */ #ifndef __ASM_ARCH_TC_H #define __ASM_ARCH_TC_H #define TCMIF_BASE 0xfffecc00 #define OMAP_TC_OCPT1_PRIOR (TCMIF_BASE + 0x00) #define OMAP_TC_EM...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/sram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl); int omap1_sram_init(void); void *omap_sram_push(void *funcp, unsigned long size); /* Do not use these */ extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl); extern unsigned long omap1_sram_reprogram...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/ams-delta-fiq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-omap1/ams-delta-fiq.h * * Taken from the original Amstrad modifications to fiq.h * * Copyright (c) 2004 Amstrad Plc * Copyright (c) 2006 Matt Callow * Copyright (c) 2010 Janusz Krzysztofik * * This program is free software; you can redistribute it...
Linux kernel'inin 'arch/arm/mach-omap1/reset' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * OMAP1 reset support */ #include <linux/kernel.h> #include <linux/io.h> #include <linux/reboot.h> #include "hardware.h" #include "iomap.h" #include "common.h" /* ARM_SYSST bit shifts related to SoC reset sources */ #define ARM_SYSST_POR_SHIFT 5 #define ARM_SYSST_EXT_R...
Linux kernel'inin 'arch/arm/mach-omap1/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/arch/arm/mach-omap1/pm.c * * OMAP Power Management Routines * * Original code for the SA11x0: * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * Modified for the PXA250 by Nicolas Pitre: * Copyright (c) 2002 Monta Vista Software, Inc. * * Modified for the OMAP1510 by David Singleton: ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/opp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mach-omap1/opp.h * * Copyright (C) 2004 - 2005 Nokia corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc */ #ifndef __ARCH_ARM_MACH_OMAP1_OPP_H #def...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/i2c' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Helper module for board specific I2C bus registration * * Copyright (C) 2009 Nokia Corporation. */ #ifndef __ARCH_ARM_MACH_OMAP1_I2C_H #define __ARCH_ARM_MACH_OMAP1_I2C_H struct i2c_board_info; struct omap_i2c_bus_platform_data; int omap_i2c_add_bus(struct om...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/irqs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) Greg Lonnon 2001 * Updated for OMAP-1610 by Tony Lindgren <tony@atomide.com> * * Copyright (C) 2009 Texas Instruments * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> * * NOTE: The interrupt vectors for the OMAP-1509, O...
Linux kernel'inin 'arch/arm/mach-omap1/pm_bus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Runtime PM support code for OMAP1 * * Author: Kevin Hilman, Deep Root Systems, LLC * * Copyright (C) 2010 Texas Instruments, Inc. */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/pm_runtime.h> #include <linux/pm_clock.h> ...
Linux kernel'inin 'arch/arm/mach-omap1/gpio15xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * OMAP15xx specific gpio init * * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ * * Author: * Charulatha V <charu@ti.com> */ #include <linux/platform_data/gpio-omap.h> #include <linux/soc/ti/omap1-soc.h> #include <asm/irq.h> #include "i...
Linux kernel'inin 'arch/arm/mach-omap1/serial' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/serial.c * * OMAP1 serial support. */ #include <linux/gpio/machine.h> #include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/irq.h> #include <linux/delay.h> #include <li...
Linux kernel'inde 'arch/arm/mach-omap1/sram' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/plat-omap/sram-fn.S * * Functions that need to be run in internal SRAM */ #include <linux/linkage.h> #include <linux/soc/ti/omap1-io.h> #include <asm/assembler.h> #include "hardware.h" #include "iomap.h" .text /* * Reprograms ULPD an...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-omap1/serial' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (C) 2009 Texas Instruments * Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * ...
Linux kernel'inin 'arch/arm/mach-omap1/mux' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * linux/arch/arm/mach-omap1/mux.c * * OMAP1 pin multiplexing configurations * * Copyright (C) 2003 - 2008 Nokia Corporation * * Written by Tony Lindgren */ #include <linux/module.h> #include <linux/init.h> #include <linux/io.h> #include <linux/spinlock.h> #in...
Linux kernel'inin 'arch/arm/mach-omap1/opp_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/opp_data.c * * Copyright (C) 2004 - 2005 Nokia corporation * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc */ #include "clock.h" #include "opp.h" /...
Linux kernel'inin 'arch/arm/mach-omap1/board-nokia770' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/board-nokia770.c * * Modified from board-generic.c */ #include <linux/clkdev.h> #include <linux/irq.h> #include <linux/gpio/consumer.h> #include <linux/gpio/machine.h> #include <linux/gpio/property.h> #include <linux/kernel.h> #include <li...
Linux kernel'inin 'arch/arm/mach-omap1/sram-init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * OMAP SRAM detection and management * * Copyright (C) 2005 Nokia Corporation * Written by Tony Lindgren <tony@atomide.com> */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/set_memory.h> #include ...
Linux kernel'inin 'arch/arm/mach-omap1/ocpi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * linux/arch/arm/plat-omap/ocpi.c * * Minimal OCP bus support for omap16xx * * Copyright (C) 2003 - 2005 Nokia Corporation * Copyright (C) 2012 Texas Instruments, Inc. * Written by Tony Lindgren <tony@atomide.com> * * Modified for clock framework by Paul Mun...
Linux kernel'inin 'arch/arm/mach-omap1/flash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Flash support for OMAP1 */ #include <linux/io.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/soc/ti/omap1-io.h> #include "tc.h" #include "flash.h" void omap1_set_vpp(struct platform_device *pdev, int enable) { u32 l; l = omap_readl(E...
Linux kernel'inin 'arch/arm/mach-omap1/board-sx1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-omap1/board-sx1.c * * Modified from board-generic.c * * Support for the Siemens SX1 mobile phone. * * Original version : Vladimir Ananiev (Vovan888-at-gmail com) * * Maintainters : Vladimir Ananiev (aka Vovan888), Sergge * oslik.ru */ #include <lin...