instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inde 'arch/arm/lib/backtrace-clang' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/backtrace-clang.S * * Copyright (C) 2019 Nathan Huckleberry * */ #include <linux/kern_levels.h> #include <linux/linkage.h> #include <asm/assembler.h> .text /* fp is 0 or stack frame */ #define frame r4 #define sv_fp r5 #define sv...
Linux kernel'inde 'arch/arm/lib/ashrdi3' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file 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, or (at your option) any later ...
Linux kernel'inde 'arch/arm/lib/memset' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memset.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> .text .align 5 ENTRY(__memset) ENTRY(mmioset) WEAK(memset) UN...
Linux kernel'inde 'arch/arm/lib/setbit' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/setbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text bitop _set_bit, orr ```
Linux kernel'inde 'arch/arm/lib/io-writesb' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesb.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro outword, rd #ifndef __ARMEB__ strb \rd, [r0] mov \rd, \rd, lsr #8 strb \rd, [r0] mov \rd, \rd, lsr #8 s...
Linux kernel'inde 'arch/arm/lib/csumpartialcopyuser' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/csumpartialcopyuser.S * * Copyright (C) 1995-1998 Russell King * * 27/03/03 Ian Molton Clean up CONFIG_CPU */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/errno.h> #include <asm/asm-offsets.h> .text #if de...
Linux kernel'inde 'arch/arm/lib/copy_page' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copypage.S * * Copyright (C) 1995-1999 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/asm-offsets.h> #include <asm/cache.h> #define COPY_COUNT (PAGE_SZ / (2 *...
Linux kernel'inde 'arch/arm/lib/div64' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/div64.S * * Optimized computation of 64-bit dividend / 32-bit divisor * * Author: Nicolas Pitre * Created: Oct 5, 2003 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <...
Linux işletim sistemi çekirdeği için 'arch/arm/lib/bitops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <asm/assembler.h> #include <asm/unwind.h> #if __LINUX_ARM_ARCH__ >= 6 .macro bitop, name, instr ENTRY( \name ) UNWIND( .fnstart ) ands ip, r1, #3 strbne r1, [ip] @ assert word-aligned mov r2, #1 and r3, r0, #31 @ Get bit offset mov r0, r0, lsr #5 add r1, r...
Linux kernel'inde 'arch/arm/lib/io-writesw-armv3' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesw-armv3.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .Loutsw_bad_alignment: adr r0, .Loutsw_bad_align_msg mov r2, lr b panic .Loutsw_bad_align_msg: .asciz "outsw...
Linux kernel'inin 'arch/arm/lib/uaccess_with_memcpy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/lib/uaccess_with_memcpy.c * * Written by: Lennert Buytenhek and Nicolas Pitre * Copyright (C) 2009 Marvell Semiconductor */ #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/uaccess.h> #include <linux/rwsem.h> #include <linux/mm...
Linux kernel'inde 'arch/arm/lib/findbit' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/findbit.S * * Copyright (C) 1995-2000 Russell King * * 16th March 2001 - John Ripley <jripley@sonicblue.com> * Fixed so that "size" is an exclusive not an inclusive quantity. * All users of these functions expect exclusive size...
Linux kernel'inde 'arch/arm/lib/memcpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/memcpy.S * * Author: Nicolas Pitre * Created: Sep 28, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> #define LDR1W_SHIFT 0 #define STR1W_SHIFT 0 .ma...
Linux kernel'inde 'arch/arm/lib/ashldi3' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file 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, or (at your option) any later ...
Linux kernel'inde 'arch/arm/lib/copy_to_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/copy_to_user.S * * Author: Nicolas Pitre * Created: Sep 29, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> /* * Prototype: * * size_t arm_copy_to_u...
Linux kernel'inde 'arch/arm/lib/clear_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/clear_user.S * * Copyright (C) 1995, 1996,1997,1998 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/unwind.h> .text /* Prototype: unsigned long arm_clear_user(void *addr, size_t sz) * Purpose ...
Linux kernel'inde 'arch/arm/lib/ucmpdi2' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/ucmpdi2.S * * Author: Nicolas Pitre * Created: Oct 19, 2005 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #ifdef __ARMEB__ #define xh r0 #define xl r1 #define yh r2 #define yl r...
Linux kernel'inde 'arch/arm/lib/getuser' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/getuser.S * * Copyright (C) 2001 Russell King * * Idea from x86 version, (C) Copyright 1998 Linus Torvalds * * These functions have a non-standard call interface to make them more * efficient, especially as they return an error v...
Linux kernel'inde 'arch/arm/lib/strchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/strchr.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 ENTRY(strchr) and r1, r1, #0xff 1: ldrb r2, [r0], #1 teq r2, r1 ...
Linux kernel'inin 'arch/arm/lib/error-inject' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/error-injection.h> #include <linux/kprobes.h> void override_function_with_return(struct pt_regs *regs) { instruction_pointer_set(regs, regs->ARM_lr); } NOKPROBE_SYMBOL(override_function_with_return); ```
Linux kernel'inde 'arch/arm/lib/io-writesw-armv4' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesw-armv4.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro outword, rd #ifndef __ARMEB__ strh \rd, [r0] mov \rd, \rd, lsr #16 strh \rd, [r0] #else mov lr, \rd...
Linux kernel'inde 'arch/arm/lib/strrchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/strrchr.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 ENTRY(strrchr) mov r3, #0 1: ldrb r2, [r0], #1 teq r2, r1 sub...
Linux kernel'inde 'arch/arm/lib/io-writesl' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-writesl.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> ENTRY(__raw_writesl) teq r2, #0 @ do we have to check for the zero len? reteq lr ands ip, r1, #3 bne 3f subs r...
Linux kernel'inde 'arch/arm/lib/muldi3' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/muldi3.S * * Author: Nicolas Pitre * Created: Oct 19, 2005 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #ifdef __ARMEB__ #define xh r0 #define xl r1 #define yh r2 #defi...
Linux kernel'inde 'arch/arm/lib/lshrdi3' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file 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, or (at your option) any later ...
Linux kernel'inde 'arch/arm/lib/clearbit' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/clearbit.S * * Copyright (C) 1995-1996 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> #include "bitops.h" .text bitop _clear_bit, bic ```
Linux kernel'inde 'arch/arm/lib/io-readsw-armv4' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/lib/io-readsw-armv4.S * * Copyright (C) 1995-2000 Russell King */ #include <linux/linkage.h> #include <asm/assembler.h> .macro pack, rd, hw1, hw2 #ifndef __ARMEB__ orr \rd, \hw1, \hw2, lsl #16 #else orr \rd, \hw2, \hw1, lsl #16 #en...
Linux kernel'inin 'arch/arm/lib/delay' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Delay loops based on the OpenRISC implementation. * * Copyright (C) 2012 ARM Limited * * Author: Will Deacon <will.deacon@arm.com> */ #include <linux/clocksource.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module...
Linux kernel'inin 'arch/arm/common/mcpm_entry' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/common/mcpm_entry.c -- entry point for multi-cluster PM * * Created by: Nicolas Pitre, March 2012 * Copyright: (C) 2012-2013 Linaro Limited */ #include <linux/export.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/irqflags.h> #in...
Linux kernel'inin 'arch/arm/common/mcpm_platsmp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-vexpress/mcpm_platsmp.c * * Created by: Nicolas Pitre, November 2012 * Copyright: (C) 2012-2013 Linaro Limited * * Code to handle secondary CPU bringup and hotplug for the cluster power API. */ #include <linux/init.h> #include <linux/smp...
Linux kernel'inin 'arch/arm/common/bL_switcher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/common/bL_switcher.c -- big.LITTLE cluster switcher core driver * * Created by: Nicolas Pitre, March 2012 * Copyright: (C) 2012-2013 Linaro Limited */ #include <linux/atomic.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> ...
Linux işletim sistemi çekirdeği için 'arch/arm/common/vlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * vlock.h - simple voting lock implementation * * Created by: Dave Martin, 2012-08-16 * Copyright: (C) 2012-2013 Linaro Limited */ #ifndef __VLOCK_H #define __VLOCK_H #include <asm/mcpm.h> /* Offsets and sizes are rounded to a word (4 bytes) */ #define VLOCK_...
Linux kernel'inin 'arch/arm/common/sa1111' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/common/sa1111.c * * SA1111 support * * Original code by John Dorsey * * This file contains all generic SA1111 support. * * All initialization functions provided here are intended to be called * from machine specific code with proper arguments w...
Linux kernel'inin 'arch/arm/common/locomo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/common/locomo.c * * Sharp LoCoMo support * * This file contains all generic LoCoMo support. * * All initialization functions provided here are intended to be called * from machine specific code with proper arguments when required. * * Based on ...
Linux kernel'inin 'arch/arm/common/bL_switcher_dummy_if' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/common/bL_switcher_dummy_if.c -- b.L switcher dummy interface * * Created by: Nicolas Pitre, November 2012 * Copyright: (C) 2012-2013 Linaro Limited * * Dummy interface to user space for debugging purpose only. */ #include <linux/init.h> #include <lin...
Linux kernel'inin 'arch/arm/common/firmware' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Samsung Electronics. * Kyungmin Park <kyungmin.park@samsung.com> * Tomasz Figa <t.figa@samsung.com> */ #include <linux/kernel.h> #include <linux/suspend.h> #include <asm/firmware.h> static const struct firmware_ops default_firmware_ops; const...
Linux kernel'inde 'arch/arm/common/vlock' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * vlock.S - simple voting lock implementation for ARM * * Created by: Dave Martin, 2012-08-16 * Copyright: (C) 2012-2013 Linaro Limited * * This algorithm is described in more detail in * Documentation/arch/arm/vlocks.rst. */ #include <linux/linkage.h...
Linux kernel'inde 'arch/arm/common/mcpm_head' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/common/mcpm_head.S -- kernel entry point for multi-cluster PM * * Created by: Nicolas Pitre, March 2012 * Copyright: (C) 2012-2013 Linaro Limited * * Refer to Documentation/arch/arm/cluster-pm-race-avoidance.rst * for details of the synchr...
Linux kernel'inin 'arch/arm/common/sharpsl_param' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Hardware parameter area specific to Sharp SL series devices * * Copyright (c) 2005 Richard Purdie * * Based on Sharp's 2.4 kernel patches */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/string.h> #include <asm/mach/sharpsl_param.h> #includ...
Linux kernel'inin 'arch/arm/common/scoop' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support code for the SCOOP interface found on various Sharp PDAs * * Copyright (c) 2004 Richard Purdie * * Based on code written by Sharp/Lineo for 2.4 kernels */ #include <linux/device.h> #include <linux/gpio/driver.h> #include <linux/string.h> #include <linux/...
Linux kernel'inin 'arch/arm/common/krait-l2-accessors' 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/spinlock.h> #include <linux/export.h> #include <asm/barrier.h> #include <asm/krait-l2-accessors.h> static DEFINE_RAW_SPINLOCK(krait_l2_lock); void krait_set_l2_indirect_reg(u32 addr, u32 val) {...
Linux kernel'inde 'arch/arm/common/secure_cntvoff' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2014 Renesas Electronics Corporation * * Initialization of CNTVOFF register from secure mode * */ #include <linux/linkage.h> #include <asm/assembler.h> ENTRY(secure_cntvoff_init) .arch armv7-a /* * CNTVOFF has to be initialized either from...
Linux kernel'inin 'arch/arm/mach-realtek/rtd1195' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Realtek RTD1195 * * Copyright (c) 2017-2019 Andreas Färber */ #include <linux/memblock.h> #include <asm/mach/arch.h> static void __init rtd1195_memblock_remove(phys_addr_t base, phys_addr_t size) { int ret; ret = memblock_remove(base, size); if (ret) pr...
Linux kernel'inin 'arch/arm/mach-sa1100/h3600' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support for Compaq iPAQ H3600 handheld computer * * Copyright (c) 2000,1 Compaq Computer Corporation. (Author: Jamey Hicks) * Copyright (c) 2009 Dmitry Artamonow <mad_soft@inbox.ru> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/gpio.h> #in...
Linux kernel'inin 'arch/arm/mach-sa1100/neponset' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/mach-sa1100/neponset.c */ #include <linux/err.h> #include <linux/gpio/driver.h> #include <linux/gpio/gpio-reg.h> #include <linux/gpio/machine.h> #include <linux/init.h> #include <linux/ioport.h> #include <linux/irq.h> #include <linux/kernel.h> #include <lin...
Linux kernel'inin 'arch/arm/mach-sa1100/pm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * SA1100 Power Management Routines * * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. * * History: * * 2001-02-06: Cliff Brake Initial code * * 2001-02-25: S...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/generic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/arm/mach-sa1100/generic.h * * Author: Nicolas Pitre */ #include <linux/cpufreq.h> #include <linux/reboot.h> extern void sa1100_timer_init(void); extern void __init sa1100_map_io(void); extern void __init sa1100_init_irq(void); extern void __init sa1100_in...
Linux kernel'inin 'arch/arm/mach-sa1100/assabet' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-sa1100/assabet.c * * Author: Nicolas Pitre * * This file contains all Assabet-specific tweaks. */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/gpio/driver.h> #include <lin...
Linux kernel'inin 'arch/arm/mach-sa1100/generic' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-sa1100/generic.c * * Author: Nicolas Pitre * * Code common to all SA11x0 machines. */ #include <linux/gpio.h> #include <linux/gpio/machine.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> ...
Linux kernel'inde 'arch/arm/mach-sa1100/sleep' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* * SA11x0 Assembler Sleep/WakeUp Management Routines * * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. * * History: * * 2001-02-06: Cliff Brake Initial ...
Linux kernel'inin 'arch/arm/mach-sa1100/ssp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-sa1100/ssp.c * * Copyright (C) 2003 Russell King. * * Generic SSP driver. This provides the generic core for simple * IO-based SSP applications. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> #include <li...
Linux kernel'inin 'arch/arm/mach-sa1100/h3xxx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support for Compaq iPAQ H3100 and H3600 handheld computers (common code) * * Copyright (c) 2000,1 Compaq Computer Corporation. (Author: Jamey Hicks) * Copyright (c) 2009 Dmitry Artamonow <mad_soft@inbox.ru> */ #include <linux/kernel.h> #include <linux/gpio/machin...
Linux kernel'inin 'arch/arm/mach-sa1100/jornada720' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mach-sa1100/jornada720.c * * HP Jornada720 init code * * Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> * Copyright (C) 2005 Michael Gernoth <michael@gernoth...
Linux kernel'inin 'arch/arm/mach-sa1100/jornada720_ssp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm/mac-sa1100/jornada720_ssp.c * * Copyright (C) 2006/2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> * * SSP driver for the HP Jornada 710/720/728 */ #include <linux/delay.h> ...
Linux kernel'inin 'arch/arm/mach-sa1100/clock' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/mach-sa1100/clock.c */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/err.h> #include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/io.h> #include <linux/spinlock.h> #include <mach/hardware.h> ...
Linux kernel'inin 'arch/arm/mach-sa1100/collie' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/arch/arm/mach-sa1100/collie.c * * May be copied or modified under the terms of the GNU General Public * License. See linux/COPYING for more information. * * This file contains all Collie-specific tweaks. * * This program is free software; you can redistribute it and/or modify * it under the te...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/memory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/memory.h * * Copyright (C) 1999-2000 Nicolas Pitre <nico@fluxnic.net> */ #ifndef __ASM_ARCH_MEMORY_H #define __ASM_ARCH_MEMORY_H #include <linux/sizes.h> /* * Because of the wide memory address space between physical RAM banks on...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/reset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARCH_RESET_H #define __ASM_ARCH_RESET_H #include "hardware.h" #define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ #define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ #define RESET_STATUS_LOWPOWER (1 << 2) /* Exit from Low Power/Sleep */ #define...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/irqs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/irqs.h * * Copyright (C) 1996 Russell King * Copyright (C) 1998 Deborah Wallach (updates for SA1100/Brutus). * Copyright (C) 1999 Nicolas Pitre (full GPIO irq isolation) * * 2001/11/14 RMK Cleaned up and standardised a lot of the ...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/jornada720' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mach-sa1100/include/mach/jornada720.h * * SSP/MCU communication definitions for HP Jornada 710/720/728 * * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> * Copyright 2000 John Ankcorn <jca@lcs.mit.edu> */ /* HP Jornada 7xx m...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/collie' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/collie.h * * This file contains the hardware specific definitions for Collie * Only include this file from SA1100-specific files. * * ChangeLog: * 04-06-2001 Lineo Japan, Inc. * 04-16-2001 SHARP Corporation * 07-07-2002 Ch...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/SA-1100' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * FILE SA-1100.h * * Version 1.2 * Author Copyright (c) Marc A. Viredaz, 1998 * DEC Western Research Laboratory, Palo Alto, CA * Date January 1998 (April 1997) * System StrongARM SA-1100 * Language C or ARM Assembly * Purpose Definition of c...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/h3xxx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Definitions for Compaq iPAQ H3100 and H3600 handheld computers * * (c) 2000 Compaq Computer Corporation. (Author: Jamey Hicks) * (c) 2009 Dmitry Artamonow <mad_soft@inbox.ru> */ #ifndef _INCLUDE_H3XXX_H_ #define _INCLUDE_H3XXX_H_ #include "hardware.h" /* Give...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/mtd-xip' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * MTD primitives for XIP support. Architecture specific functions * * Do not include this file directly. It's included from linux/mtd/xip.h * * Author: Nicolas Pitre * Created: Nov 2, 2004 * Copyright: (C) 2004 MontaVista Software, Inc. */ #ifndef __ARCH_SA1...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/hardware' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/hardware.h * * Copyright (C) 1998 Nicolas Pitre <nico@fluxnic.net> * * This file contains the hardware definitions for SA1100 architecture * * 2000/05/23 John Dorsey <john+@cs.cmu.edu> * Definitions for SA1111 added. */ #i...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/uncompress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/uncompress.h * * (C) 1999 Nicolas Pitre <nico@fluxnic.net> * * Reorganised to be machine independent. */ #include "hardware.h" #define IOMEM(x) (x) /* * The following code assumes the serial port has already been * initialized...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/bitfield' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * FILE bitfield.h * * Version 1.1 * Author Copyright (c) Marc A. Viredaz, 1998 * DEC Western Research Laboratory, Palo Alto, CA * Date April 1998 (April 1997) * System Advanced RISC Machine (ARM) * Language C or ARM Assembly * Purpose Definition of macros to operate on bit fields...
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/neponset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/neponset.h * * Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net> * * This file contains the hardware specific definitions for Assabet * Only include this file from SA1100-specific files. * * 2000/05/23 John Dorsey <john+@cs....
Linux işletim sistemi çekirdeği için 'arch/arm/mach-sa1100/include/mach/assabet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-sa1100/include/mach/assabet.h * * Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net> * * This file contains the hardware specific definitions for Assabet * Only include this file from SA1100-specific files. * * 2000/05/23 John Dorsey <john+@cs.c...
Linux kernel'inin 'arch/arm/mach-gemini/board-dt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Gemini Device Tree boot support */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/system_misc.h> #include <asm/proc-fns.h> #ifdef CONFIG_DEBUG_GEMINI /* This is needed for LL-deb...
Linux kernel'inde 'arch/arm/boot/bootp/initrd' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ .type initrd_start,#object .globl initrd_start initrd_start: .incbin INITRD .globl initrd_end initrd_end: ```
Linux kernel'inde 'arch/arm/boot/bootp/kernel' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0 */ .globl kernel_start kernel_start: .incbin "arch/arm/boot/zImage" .globl kernel_end kernel_end: .align 2 ```
Linux kernel'inde 'arch/arm/boot/bootp/init' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/boot/bootp/init.S * * Copyright (C) 2000-2003 Russell King. * * "Header" file for splitting kernel + initrd. Note that we pass * r0 through to r3 straight through. * * This demonstrates how to append code to the start of the kerne...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/mediatek/mt2701-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2015 MediaTek Inc. * Author: Biao Huang <biao.huang@mediatek.com> */ #ifndef __DTS_MT2701_PINFUNC_H #define __DTS_MT2701_PINFUNC_H #include <dt-bindings/pinctrl/mt65xx.h> #define MT2701_PIN_0_PWRAP_SPI0_MI__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define ...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/st/st-pincfg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ST_PINCFG_H_ #define _ST_PINCFG_H_ /* Alternate functions */ #define ALT1 1 #define ALT2 2 #define ALT3 3 #define ALT4 4 #define ALT5 5 #define ALT6 6 #define ALT7 7 /* Output enable */ #define OE (1 << 27) /* Pull Up */ #define PU (1 << 26) /* Open Drain */ #d...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx51-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX51_PINFUNC_H #define __DTS_IMX51_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX51_PAD_EIM_D16__AUD4_RXFS 0x05c 0x3f0 0x000 0x5...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6q-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6Q_PINFUNC_H #define __DTS_IMX6Q_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x04c 0...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx27-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2013 Markus Pargmann <mpa@pengutronix.de>, Pengutronix */ #ifndef __DTS_IMX27_PINFUNC_H #define __DTS_IMX27_PINFUNC_H /* * The pin function ID is a tuple of * <pin mux_id> * mux_id consists of * function + (direction << 2) + (gpio_oconf << 4) +...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6sl-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6SL_PINFUNC_H #define __DTS_IMX6SL_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6SL_PAD_AUD_MCLK__AUDIO_CLK_OUT 0x04c ...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6sx-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2014 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6SX_PINFUNC_H #define __DTS_IMX6SX_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6SX_PAD_GPIO1_IO00__I2C1_SCL ...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6dl-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6DL_PINFUNC_H #define __DTS_IMX6DL_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6QDL_PAD_CSI0_DAT10__IPU1_CSI0_DATA10 0x04c...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx7ulp-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Freescale Semiconductor, Inc. * Copyright 2017 NXP */ #ifndef __DTS_IMX7ULP_PINFUNC_H #define __DTS_IMX7ULP_PINFUNC_H /* * The pin function ID is a tuple of * <mux_conf_reg input_reg mux_mode input_val> */ #define IMX7ULP_PAD_PTC0__PTC0 ...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx53-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX53_PINFUNC_H #define __DTS_IMX53_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX53_PAD_GPIO_19__KPP_COL_5 0x020 0x348 0x840 0x...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6ul-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2014 - 2015 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6UL_PINFUNC_H #define __DTS_IMX6UL_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6UL_PAD_BOOT_MODE0__GPIO5_IO10 0x0014 0...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright (C) 2019 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> */ #ifndef _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H #define _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H #define IMX_PAD_SION 0x40000000 /* * The pin function ID is a tupl...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6ull-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX6ULL_PINFUNC_H #define __DTS_IMX6ULL_PINFUNC_H #include "imx6ul-pinfunc.h" /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ /* signals common for i...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx7d-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-2015 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX7D_PINFUNC_H #define __DTS_IMX7D_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 ...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx50-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Greg Ungerer <gerg@uclinux.org> */ #ifndef __DTS_IMX50_PINFUNC_H #define __DTS_IMX50_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX50_PAD_KEY_COL0__KPP_COL_0 0x020 0x2cc 0x000...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6ull-pinfunc-snvs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright (C) 2017 NXP */ #ifndef __DTS_IMX6ULL_PINFUNC_SNVS_H #define __DTS_IMX6ULL_PINFUNC_SNVS_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6ULL_PAD_BO...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx6sll-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP. * */ #ifndef __DTS_IMX6SLL_PINFUNC_H #define __DTS_IMX6SLL_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX6SLL_PAD_WDOG_B__WD...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx25-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Eukréa Electromatique <denis@eukrea.com> * Based on imx35-pinfunc.h in the same directory Which is: * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX25_PINFUNC_H #define __DTS_IMX25_PINFUNC_H /* * The pin function ID is a tupl...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx1-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> */ #ifndef __DTS_IMX1_PINFUNC_H #define __DTS_IMX1_PINFUNC_H /* * The pin function ID is a tuple of * <pin mux_id> * mux_id consists of * function + (direction << 2) + (gpio_oconf << 4) + (gpio_iconf...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imx35-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_IMX35_PINFUNC_H #define __DTS_IMX35_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX35_PAD_CAPTURE__GPT_CAPIN1 0x004 0x328 0x000 0...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* * Copyright (C) 2021 * Author(s): Jesse Taube <Mr.Bossman075@gmail.com> */ #ifndef _DT_BINDINGS_PINCTRL_IMXRT1170_PINFUNC_H #define _DT_BINDINGS_PINCTRL_IMXRT1170_PINFUNC_H #define IMX_PAD_SION 0x40000000 /* * The pin function ID is a tuple o...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/vf/vf610-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2013 Freescale Semiconductor, Inc. */ #ifndef __DTS_VF610_PINFUNC_H #define __DTS_VF610_PINFUNC_H /* * The pin function ID for VF610 is a tuple of: * <mux_reg input_reg mux_mode input_val> */ #define ALT0 0x0 #define ALT1 0x1 #define ALT2 0x2 #defi...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/mxs/imx23-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Header providing constants for i.MX23 pinctrl bindings. * * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de> */ #ifndef __DT_BINDINGS_MX23_PINCTRL_H__ #define __DT_BINDINGS_MX23_PINCTRL_H__ #include "mxs-pinfunc.h" #define MX23_PAD_GPMI_D00__GPMI_D0...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/mxs/imx28-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Header providing constants for i.MX28 pinctrl bindings. * * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de> */ #ifndef __DT_BINDINGS_MX28_PINCTRL_H__ #define __DT_BINDINGS_MX28_PINCTRL_H__ #include "mxs-pinfunc.h" #define MX28_PAD_GPMI_D00__GPMI_D0...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/nxp/mxs/mxs-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Header providing constants for i.MX28 pinctrl bindings. * * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de> */ #ifndef __DT_BINDINGS_MXS_PINCTRL_H__ #define __DT_BINDINGS_MXS_PINCTRL_H__ /* fsl,drive-strength property */ #define MXS_DRIVE_4mA 0 #de...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/microchip/sama5d2-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define PINMUX_PIN(no, func, ioset) \ (((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20)) #define PIN_PA0 0 #define PIN_PA0__GPIO PINMUX_PIN(PIN_PA0, 0, 0) #define PIN_PA0__SDMMC0_CK PINMUX_PIN(PIN_PA0, 1, 1) #define PIN_PA0__QSPI0_SCK PINMUX_PIN(PIN...
Linux işletim sistemi çekirdeği için 'arch/arm/boot/dts/microchip/sama7d65-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ #define PINMUX_PIN(no, func, ioset) \ (((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20)) #define PIN_PA0 0 #define PIN_PA0__GPIO PINMUX_PIN(PIN_PA0, 0, 0) #define PIN_PA0__SDMMC0_CK PINMUX_PIN(PIN_PA0, 1, 1) #define PIN_PA0__FLEXCOM3_IO0 P...