instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/vdso/gettimeofday' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 ARM Limited */ #ifndef __ASM_VDSO_GETTIMEOFDAY_H #define __ASM_VDSO_GETTIMEOFDAY_H #ifdef __aarch64__ #ifndef __ASSEMBLER__ #include <vdso/clocksource.h> #include <asm/alternative.h> #include <asm/arch_timer.h> #include <asm/barrier.h> #include <...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/vdso/clocksource' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSOCLOCKSOURCE_H #define __ASM_VDSOCLOCKSOURCE_H #define VDSO_ARCH_CLOCKMODES \ /* vdso clocksource for both 32 and 64bit tasks */ \ VDSO_CLOCKMODE_ARCHTIMER, \ /* vdso clocksource for 64bit tasks only */ \ VDSO_CLOCKMODE_ARCHTIMER_NOCOMPAT #endif...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/vdso/compat_gettimeofday' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 ARM Limited */ #ifndef __ASM_VDSO_COMPAT_GETTIMEOFDAY_H #define __ASM_VDSO_COMPAT_GETTIMEOFDAY_H #ifndef __ASSEMBLER__ #include <vdso/clocksource.h> #include <vdso/time32.h> #include <asm/barrier.h> #include <asm/unistd_compat_32.h> #include <asm/...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/xen/events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_ARM64_XEN_EVENTS_H #define _ASM_ARM64_XEN_EVENTS_H #include <asm/ptrace.h> #include <asm/atomic.h> enum ipi_vector { XEN_PLACEHOLDER_VECTOR, /* Xen IPIs go here */ XEN_NR_IPIS, }; static inline int xen_irqs_disabled(struct pt_regs *regs) { return regs_irq...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/xen/page' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #include <xen/arm/page.h> #include <asm/mmu.h> static inline bool xen_kernel_unmapped_at_usr(void) { return arm64_kernel_unmapped_at_el0(); } ```
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/stacktrace/frame' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_STACKTRACE_FRAME_H #define __ASM_STACKTRACE_FRAME_H /* * - FRAME_META_TYPE_NONE * * This value is reserved. * * - FRAME_META_TYPE_FINAL * * The record is the last entry on the stack. * Unwinding should terminate successfully. * * - FRAME_ME...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/stacktrace/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Common arm64 stack unwinder code. * * See: arch/arm64/kernel/stacktrace.c for the reference implementation. * * Copyright (C) 2012 ARM Ltd. */ #ifndef __ASM_STACKTRACE_COMMON_H #define __ASM_STACKTRACE_COMMON_H #include <linux/types.h> struct stack_info { u...
Linux işletim sistemi çekirdeği için 'arch/arm64/include/asm/stacktrace/nvhe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * KVM nVHE hypervisor stack tracing support. * * The unwinder implementation depends on the nVHE mode: * * 1) Non-protected nVHE mode - the host can directly access the * HYP stack pages and unwind the HYP stack in EL1. This saves having * to alloca...
Linux kernel'inin 'arch/arm64/mm/kasan_init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * This file contains kasan initialization code for ARM64. * * Copyright (c) 2015 Samsung Electronics Co., Ltd. * Author: Andrey Ryabinin <ryabinin.a.a@gmail.com> */ #define pr_fmt(fmt) "kasan: " fmt #include <linux/kasan.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'arch/arm64/mm/pgd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * PGD allocation/freeing * * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #include <linux/mm.h> #include <linux/gfp.h> #include <linux/highmem.h> #include <linux/slab.h> #include <asm/pgalloc.h> #include <asm/page.h> #include ...
Linux kernel'inin 'arch/arm64/mm/dma-mapping' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #include <linux/gfp.h> #include <linux/cache.h> #include <linux/dma-map-ops.h> #include <xen/xen.h> #include <asm/cacheflush.h> #include <asm/xen/xen-ops.h> void arch_sync_dma_for_...
Linux kernel'inde 'arch/arm64/mm/trans_pgd-asm' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021, Microsoft Corporation. * Pasha Tatashin <pasha.tatashin@soleen.com> */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/kvm_asm.h> .macro invalid_vector label SYM_CODE_START_LOCAL(\label) .align 7 b \label SYM_CO...
Linux kernel'inin 'arch/arm64/mm/mem_encrypt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Implementation of the memory encryption/decryption API. * * Since the low-level details of the operation depend on the * Confidential Computing environment (e.g. pKVM, CCA, ...), this just * acts as a top-level dispatcher to whatever hooks may have been * registe...
Linux kernel'inin 'arch/arm64/mm/trans_pgd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Transitional page tables for kexec and hibernate * * This file derived from: arch/arm64/kernel/hibernate.c * * Copyright (c) 2021, Microsoft Corporation. * Pasha Tatashin <pasha.tatashin@soleen.com> * */ /* * Transitional tables are used during system transferrin...
Linux kernel'inde 'arch/arm64/mm/cache' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Cache maintenance * * Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2012 ARM Ltd. */ #include <linux/errno.h> #include <linux/linkage.h> #include <linux/init.h> #include <asm/assembler.h> #include <asm/cpufeature.h> #include <asm/alternati...
Linux kernel'inin 'arch/arm64/mm/init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/init.c * * Copyright (C) 1995-2005 Russell King * Copyright (C) 2012 ARM Ltd. */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/errno.h> #include <linux/swap.h> #include <linux/init.h> #include <linux/cache.h> #include <l...
Linux kernel'inin 'arch/arm64/mm/extable' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Based on arch/arm/mm/extable.c */ #include <linux/bitfield.h> #include <linux/extable.h> #include <linux/uaccess.h> #include <asm/asm-extable.h> #include <asm/esr.h> #include <asm/ptrace.h> static bool cpy_faulted_on_uaccess(const struct exception_table_entry *ex, ...
Linux kernel'inin 'arch/arm64/mm/contpte' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2023 ARM Ltd. */ #include <linux/mm.h> #include <linux/efi.h> #include <linux/export.h> #include <asm/tlbflush.h> static inline bool mm_is_user(struct mm_struct *mm) { /* * Don't attempt to apply the contig bit to kernel mappings, because * dynam...
Linux kernel'inin 'arch/arm64/mm/gcs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/mm.h> #include <linux/mman.h> #include <linux/syscalls.h> #include <linux/types.h> #include <asm/cmpxchg.h> #include <asm/cpufeature.h> #include <asm/gcs.h> #include <asm/page.h> static unsigned long alloc_gcs(unsigned long addr, unsigned long size) { re...
Linux kernel'inin 'arch/arm64/mm/context' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/context.c * * Copyright (C) 2002-2003 Deep Blue Solutions Ltd, all rights reserved. * Copyright (C) 2012 ARM Ltd. */ #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/mm.h> ...
Linux kernel'inin 'arch/arm64/mm/fault' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/fault.c * * Copyright (C) 1995 Linus Torvalds * Copyright (C) 1995-2004 Russell King * Copyright (C) 2012 ARM Ltd. */ #include <linux/acpi.h> #include <linux/bitfield.h> #include <linux/extable.h> #include <linux/kfence.h> #include <linux/s...
Linux kernel'inin 'arch/arm64/mm/pageattr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014, The Linux Foundation. All rights reserved. */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/module.h> #include <linux/mem_encrypt.h> #include <linux/sched.h> #include <linux/vmalloc.h> #include <linux/pagewalk.h> #include <asm/c...
Linux kernel'inin 'arch/arm64/mm/physaddr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/bug.h> #include <linux/export.h> #include <linux/types.h> #include <linux/mmdebug.h> #include <linux/mm.h> #include <asm/memory.h> phys_addr_t __virt_to_phys(unsigned long x) { WARN(!__is_lm_address(__tag_reset(x)), "virt_to_phys used for non-linear addr...
Linux kernel'inin 'arch/arm64/mm/fixmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Fixmap manipulation code */ #include <linux/bug.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/libfdt.h> #include <linux/memory.h> #include <linux/mm.h> #include <linux/sizes.h> #include <asm/fixmap.h> #include <asm/kernel-pgtable.h> #include ...
Linux kernel'inin 'arch/arm64/mm/flush' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/flush.c * * Copyright (C) 1995-2002 Russell King * Copyright (C) 2012 ARM Ltd. */ #include <linux/export.h> #include <linux/mm.h> #include <linux/libnvdimm.h> #include <linux/pagemap.h> #include <asm/cacheflush.h> #include <asm/cache.h> #inc...
Linux kernel'inde 'arch/arm64/mm/proc' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Based on arch/arm/mm/proc.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> */ #include <linux/init.h> #include <linux/linkage.h> #include <linux/pgtable.h> #include <lin...
Linux kernel'inin 'arch/arm64/mm/mteswap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/pagemap.h> #include <linux/xarray.h> #include <linux/slab.h> #include <linux/swap.h> #include <linux/swapops.h> #include <asm/mte.h> static DEFINE_XARRAY(mte_pages); void *mte_allocate_tag_storage(void) { /* tags granule is 16 bytes, 2 tags stored per by...
Linux kernel'inin 'arch/arm64/mm/mmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/mmu.c * * Copyright (C) 1995-2005 Russell King * Copyright (C) 2012 ARM Ltd. */ #include <linux/cache.h> #include <linux/export.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/ioport.h> #include <...
Linux kernel'inin 'arch/arm64/mm/mmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/mmap.c * * Copyright (C) 2012 ARM Ltd. */ #include <linux/io.h> #include <linux/memblock.h> #include <linux/mm.h> #include <linux/types.h> #include <asm/cpufeature.h> #include <asm/page.h> static pgprot_t protection_map[16] __ro_after_init =...
Linux kernel'inin 'arch/arm64/mm/ptdump_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/debugfs.h> #include <linux/seq_file.h> #include <asm/ptdump.h> static int ptdump_show(struct seq_file *m, void *v) { struct ptdump_info *info = m->private; ptdump_walk(m, info); return 0; } DEFINE_SHOW_ATTRIBUTE(ptdump); void __init ptdump_debugfs_register...
Linux kernel'inin 'arch/arm64/mm/hugetlbpage' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * arch/arm64/mm/hugetlbpage.c * * Copyright (C) 2013 Linaro Ltd. * * Based on arch/x86/mm/hugetlbpage.c. */ #include <linux/init.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/hugetlb.h> #include <linux/pagemap.h> #include <linux/err.h> #include <l...
Linux kernel'inin 'arch/arm64/mm/ptdump' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014, The Linux Foundation. All rights reserved. * Debug helper to dump the current kernel pagetables of the system * so that we can see what the various memory ranges are set to. * * Derived from x86 and arm implementation: * (C) Copyright 2008 Int...
Linux kernel'inin 'arch/arm64/mm/copypage' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Based on arch/arm/mm/copypage.c * * Copyright (C) 2002 Deep Blue Solutions Ltd, All Rights Reserved. * Copyright (C) 2012 ARM Ltd. */ #include <linux/bitops.h> #include <linux/mm.h> #include <asm/page.h> #include <asm/cacheflush.h> #include <asm/cpufeature.h> #i...
Linux kernel'inin 'arch/arm64/mm/ioremap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/mm.h> #include <linux/io.h> static ioremap_prot_hook_t ioremap_prot_hook; int arm64_ioremap_prot_hook_register(ioremap_prot_hook_t hook) { if (WARN_ON(ioremap_prot_hook)) return -EBUSY; ioremap_prot_hook = hook; return 0; } void __iomem *__ioremap_...
Linux kernel'inde 'arch/arm64/lib/copy_template' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013 ARM Ltd. * Copyright (C) 2013 Linaro. * * This code is based on glibc cortex strings work originally authored by Linaro * be found @ * * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/ * files/head:/src/aarch...
Linux kernel'inde 'arch/arm64/lib/memchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2021 Arm Ltd. */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Find a character in an area of memory. * * Parameters: * x0 - buf * x1 - c * x2 - n * Returns: * x0 - address of first occurrence of 'c' or 0 */ #define L(...
Linux kernel'inde 'arch/arm64/lib/copy_from_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 ARM Ltd. */ #include <linux/linkage.h> #include <asm/asm-uaccess.h> #include <asm/assembler.h> #include <asm/cache.h> /* * Copy from user space to a kernel buffer (alignment handled by the hardware) * * Parameters: * x0 - to * x1 ...
Linux kernel'inde 'arch/arm64/lib/mte' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 ARM Ltd. */ #include <linux/linkage.h> #include <asm/asm-uaccess.h> #include <asm/assembler.h> #include <asm/mte.h> #include <asm/page.h> #include <asm/sysreg.h> .arch armv8.5-a+memtag /* * multitag_transfer_size - set \reg to the bl...
Linux kernel'inin 'arch/arm64/lib/insn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Huawei Ltd. * Author: Jiang Liu <liuj97@gmail.com> * * Copyright (C) 2014-2016 Zi Shen Lim <zlim.lnx@gmail.com> */ #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/bug.h> #include <linux/printk.h> #include <linux/sizes.h> #i...
Linux kernel'inde 'arch/arm64/lib/strnlen' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013 ARM Ltd. * Copyright (C) 2013 Linaro. * * This code is based on glibc cortex strings work originally authored by Linaro * be found @ * * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/ * files/head:/src/aarch...
Linux kernel'inin 'arch/arm64/lib/uaccess_flushcache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 ARM Ltd. */ #include <linux/uaccess.h> #include <asm/barrier.h> #include <asm/cacheflush.h> void memcpy_flushcache(void *dst, const void *src, size_t cnt) { /* * We assume this should not be called with @dst pointing to * non-cacheable memor...
Linux kernel'inde 'arch/arm64/lib/clear_page' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 ARM Ltd. */ #include <linux/linkage.h> #include <linux/const.h> #include <asm/assembler.h> #include <asm/page.h> /* * Clear page @dest * * Parameters: * x0 - dest */ SYM_FUNC_START(__pi_clear_page) #ifdef CONFIG_AS_HAS_MOPS .arch_...
Linux kernel'inde 'arch/arm64/lib/memset' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013 ARM Ltd. * Copyright (C) 2013 Linaro. * * This code is based on glibc cortex strings work originally authored by Linaro * be found @ * * http://bazaar.launchpad.net/~linaro-toolchain-dev/cortex-strings/trunk/ * files/head:/src/aarch...
Linux kernel'inde 'arch/arm64/lib/tishift' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) * * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #include <linux/linkage.h> #include <asm/assembler.h> SYM_FUNC_START(__ashlti3) cbz x2, 1f mov x3, #64 sub x3, x3, x2 cmp x3, #0 b.le 2f lsl x1, x1, x2 ...
Linux kernel'inde 'arch/arm64/lib/copy_page' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 ARM Ltd. */ #include <linux/linkage.h> #include <linux/const.h> #include <asm/assembler.h> #include <asm/page.h> #include <asm/cpufeature.h> #include <asm/alternative.h> /* * Copy a page from src to dest (both are page aligned) * * P...
Linux kernel'inde 'arch/arm64/lib/strcmp' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012-2022, Arm Limited. * * Adapted from the original at: * https://github.com/ARM-software/optimized-routines/blob/189dfefe37d54c5b/string/aarch64/strcmp.S */ #include <linux/linkage.h> #include <asm/assembler.h> /* Assumptions: * * AR...
Linux kernel'inin 'arch/arm64/lib/csum' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2019-2020 Arm Ltd. #include <linux/compiler.h> #include <linux/kasan-checks.h> #include <linux/kernel.h> #include <net/checksum.h> /* Looks dumb, but generates nice-ish code */ static u64 accumulate(u64 sum, u64 data) { __uint128_t tmp = (__uint128_t)su...
Linux kernel'inde 'arch/arm64/lib/memcpy' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012-2021, Arm Limited. * * Adapted from the original at: * https://github.com/ARM-software/optimized-routines/blob/afd6244a1f8d9229/string/aarch64/memcpy.S */ #include <linux/linkage.h> #include <asm/assembler.h> /* Assumptions: * * AR...
Linux kernel'inde 'arch/arm64/lib/memcmp' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013-2021, Arm Limited. * * Adapted from the original at: * https://github.com/ARM-software/optimized-routines/blob/e823e3abf5f89ecb/string/aarch64/memcmp.S */ #include <linux/linkage.h> #include <asm/assembler.h> /* Assumptions: * * AR...
Linux kernel'inde 'arch/arm64/lib/kasan_sw_tags' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2020 Google LLC */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Report a tag mismatch detected by tag-based KASAN. * * A compiler-generated thunk calls this with a non-AAPCS calling * convention. Upon entry to this function...
Linux kernel'inde 'arch/arm64/lib/copy_to_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 ARM Ltd. */ #include <linux/linkage.h> #include <asm/asm-uaccess.h> #include <asm/assembler.h> #include <asm/cache.h> /* * Copy to user space from a kernel buffer (alignment handled by the hardware) * * Parameters: * x0 - to * x1 ...
Linux kernel'inde 'arch/arm64/lib/clear_user' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2021 Arm Ltd. */ #include <linux/linkage.h> #include <asm/asm-uaccess.h> .text /* Prototype: int __arch_clear_user(void *addr, size_t sz) * Purpose : clear some user memory * Params : addr - user memory address to clear * : ...
Linux kernel'inde 'arch/arm64/lib/strchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Based on arch/arm/lib/strchr.S * * Copyright (C) 1995-2000 Russell King * Copyright (C) 2013 ARM Ltd. */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Find the first occurrence of a character in a string. * * Parameters: * x0 - str * ...
Linux kernel'inde 'arch/arm64/lib/strncmp' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013-2022, Arm Limited. * * Adapted from the original at: * https://github.com/ARM-software/optimized-routines/blob/189dfefe37d54c5b/string/aarch64/strncmp.S */ #include <linux/linkage.h> #include <asm/assembler.h> /* Assumptions: * * A...
Linux kernel'inin 'arch/arm64/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) { /* * 'regs' represents the state on entry of a predefined function in * the kernel/module and which is captured on a kprobe. * * When kprobe return...
Linux kernel'inde 'arch/arm64/lib/strlen' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013-2021, Arm Limited. * * Adapted from the original at: * https://github.com/ARM-software/optimized-routines/blob/98e4d6a5c13c8e54/string/aarch64/strlen.S */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/mte-def.h> ...
Linux kernel'inde 'arch/arm64/lib/strrchr' modülü için gerekli Low-Level Assembly kodunu yaz.
```assembly /* SPDX-License-Identifier: GPL-2.0-only */ /* * Based on arch/arm/lib/strrchr.S * * Copyright (C) 1995-2000 Russell King * Copyright (C) 2013 ARM Ltd. */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Find the last occurrence of a character in a string. * * Parameters: * x0 - str * ...
Linux kernel'inin 'arch/arm64/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/delay.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/timex.h> #...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/apple/multi-die-cpp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ OR MIT * * C preprocessor macros for t600x multi die support. */ #ifndef __DTS_APPLE_MULTI_DIE_CPP_H #define __DTS_APPLE_MULTI_DIE_CPP_H #ifndef __stringify #define __stringify_1(x...) #x #define __stringify(x...) __stringify_1(x) #endif #ifndef __concat #define...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt8173-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 MediaTek Inc. * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> */ #ifndef __DTS_MT8173_PINFUNC_H #define __DTS_MT8173_PINFUNC_H #include <dt-bindings/pinctrl/mt65xx.h> #define MT8173_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define MT...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt8167-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020 MediaTek Inc. */ #ifndef __DTS_MT8167_PINFUNC_H #define __DTS_MT8167_PINFUNC_H #include <dt-bindings/pinctrl/mt65xx.h> #define MT8167_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define MT8167_PIN_0_EINT0__FUNC_PWM_B (MTK_PIN_NO(0) | 1) #define MT8...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt6893-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 MediaTek Inc. * Copyright (c) 2025 Collabora Ltd */ #ifndef __MT6893_PINFUNC_H #define __MT6893_PINFUNC_H #include "mt65xx.h" #define PINMUX_GPIO0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define PINMUX_GPIO0__FUNC_SPI6_CLK (MTK_PIN_NO(0) | 1) #define PIN...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt6878-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2023 MediaTek Inc. * Author: Light Hsieh <light.hsieh@mediatek.com> * * Copyright (C) 2025 Igor Belwon <igor.belwon@mentallysanemainliners.org> */ #ifndef __MT6878_PINFUNC_H #define __MT6878_PINFUNC_H #include "mt65xx.h" #define PINMUX_GPIO0__FUNC_G...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt8196-gce' 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) 2025 MediaTek Inc. * */ #ifndef __DTS_GCE_MT8196_H #define __DTS_GCE_MT8196_H /* GCE Thread Priority * The GCE core has multiple GCE threads, each of which can independently * execute its own sequence of instructions. * However,...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt8196-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) 2025 MediaTek Inc. * Author: Guodong Liu <guodong.liu@mediatek.com> * Lei Xue <lei.xue@mediatek.com> * Cathy Xu <ot_cathy.xu@mediatek.com> */ #ifndef __MT8196_PINFUNC_H #define __MT8196_PINFUNC_H #include <dt-bind...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt2712-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 MediaTek Inc. * Author: Zhiyong Tao <zhiyong.tao@mediatek.com> * */ #ifndef __DTS_MT2712_PINFUNC_H #define __DTS_MT2712_PINFUNC_H #include <dt-bindings/pinctrl/mt65xx.h> #define MT2712_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define MT2712_PI...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/mediatek/mt8516-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 MediaTek Inc. */ #ifndef __DTS_MT8516_PINFUNC_H #define __DTS_MT8516_PINFUNC_H #include <dt-bindings/pinctrl/mt65xx.h> #define MT8516_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) #define MT8516_PIN_0_EINT0__FUNC_PWM_B (MTK_PIN_NO(0) | 1) #define MT8...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/ti/k3-serdes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This header provides constants for SERDES MUX for TI SoCs * * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ */ #ifndef DTS_ARM64_TI_K3_SERDES_H #define DTS_ARM64_TI_K3_SERDES_H /* J721E */ #define J721E_SERDES0_LANE0_QSGM...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/ti/k3-pinctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This header provides constants for pinctrl bindings for TI's K3 SoC * family. * * Copyright (C) 2018-2025 Texas Instruments Incorporated - https://www.ti.com/ */ #ifndef DTS_ARM64_TI_K3_PINCTRL_H #define DTS_ARM64_TI_K3_PINCTRL_H #define WKUP_LVL_EN_SHI...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/tesla/fsd-pinctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Tesla FSD DTS pinctrl constants * * Copyright (c) 2016 Samsung Electronics Co., Ltd. * http://www.samsung.com * Copyright (c) 2022 Linaro Ltd * Author: Krzysztof Kozlowski <krzk@kernel.org> */ #ifndef __DTS_ARM64_TESLA_FSD_PINCTRL_H__ #define __DTS_ARM64_TESLA_F...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8mp-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2019 NXP */ #ifndef __DTS_IMX8MP_PINFUNC_H #define __DTS_IMX8MP_PINFUNC_H /* Drive Strength */ #define MX8MP_DSE_X1 0x0 #define MX8MP_DSE_X2 0x4 #define MX8MP_DSE_X4 0x2 #define MX8MP_DSE_X6 0x6 /* Slew Rate */ #define MX8MP_FSEL_FAST 0x10 #define MX...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8ulp-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ OR MIT */ /* * Copyright 2021 NXP */ #ifndef __DTS_IMX8ULP_PINFUNC_H #define __DTS_IMX8ULP_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg input_reg mux_mode input_val> */ #define MX8ULP_PAD_PTD0__PTD0 0x0000 0x0000 0x1 ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8mn-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2018-2019 NXP */ #ifndef __DTS_IMX8MN_PINFUNC_H #define __DTS_IMX8MN_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX8MN_IOMUXC_BOOT_MODE2_CCMSRCGPCMIX_BOOT_MODE2 0x...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx94-clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * Copyright 2024-2025 NXP */ #ifndef __IMX94_CLOCK_H #define __IMX94_CLOCK_H #define IMX94_CLK_EXT 0 #define IMX94_CLK_32K 1 #define IMX94_CLK_24M 2 #define IMX94_CLK_FRO 3 #define IMX94_CLK_SYSPLL1_VCO 4 #define IMX94_CLK_SYSPLL1_PFD0_UNGATED...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx93-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright 2022 NXP */ #ifndef __DTS_IMX93_PINFUNC_H #define __DTS_IMX93_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX93_PAD_DAP_TDI__JTAG_MUX_TDI 0x0000 0x01B0 ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8mm-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2017-2018 NXP */ #ifndef __DTS_IMX8MM_PINFUNC_H #define __DTS_IMX8MM_PINFUNC_H /* Drive Strength */ #define MX8MM_DSE_X1 0x0 #define MX8MM_DSE_X2 0x4 #define MX8MM_DSE_X4 0x2 #define MX8MM_DSE_X6 0x6 /* Slew Rate */ #define MX8MM_FSEL_FAST 0x10 #defi...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8mq-pinfunc' 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 2017 NXP */ #ifndef __DTS_IMX8MQ_PINFUNC_H #define __DTS_IMX8MQ_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX8MQ_IOMUXC_PMIC_STBY_REQ_...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx95-clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * Copyright 2024 NXP */ #ifndef __CLOCK_IMX95_H #define __CLOCK_IMX95_H /* The index should match i.MX95 SCMI Firmware */ #define IMX95_CLK_32K 1 #define IMX95_CLK_24M 2 #define IMX95_CLK_FRO ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx91-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright 2025 NXP */ #ifndef __DTS_IMX91_PINFUNC_H #define __DTS_IMX91_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define MX91_PAD_DAP_TDI__JTAG_MUX_TDI ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx952-power' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright 2025 NXP */ #ifndef __IMX952_POWER_H__ #define __IMX952_POWER_H__ #define IMX952_PD_ANA 0 #define IMX952_PD_AON 1 #define IMX952_PD_BBSM 2 #define IMX952_PD_CAMERA 3 #define IMX952_PD_CCMSRCGPC 4 #define IMX952_PD_A55C0 5 #define IMX952_P...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx95-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright 2024 NXP */ #ifndef __DTS_IMX95_PINFUNC_H #define __DTS_IMX95_PINFUNC_H /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define IMX95_PAD_DAP_TDI__JTAG_MUX_TDI 0x0000...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx94-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright 2024-2025 NXP */ #ifndef __DTS_IMX94_PINFUNC_H #define __DTS_IMX94_PINFUNC_H /* Drive Strength */ #define IMX94_DSE_X1 0x2 #define IMX94_DSE_X2 0x6 #define IMX94_DSE_X3 0xe #define IMX94_DSE_X4 0x1e #define IMX94_DSE_X5 0x3e #define IMX94_DSE...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx952-clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * Copyright 2025 NXP */ #ifndef __CLOCK_IMX952_H__ #define __CLOCK_IMX952_H__ /* Clock Source */ #define IMX952_CLK_EXT 0 #define IMX952_CLK_OSC32K 1 #define IMX952_CLK_OSC24M 2 #define IMX952_CLK_FRO 3 #define IMX952_CLK_SYSPLL1_VCO 4 #define IMX952...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx95-power' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright 2024 NXP */ #ifndef __IMX95_POWER_H__ #define __IMX95_POWER_H__ #define IMX95_PD_ANA 0 #define IMX95_PD_AON 1 #define IMX95_PD_BBSM 2 #define IMX95_PD_CAMERA 3 #define IMX95_PD_CCMSRCGPC 4 #define IMX95_PD_A55C0 5 #define IMX95_PD_A55C1 ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx94-power' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Copyright 2024-2025 NXP */ #ifndef __IMX94_POWER_H #define __IMX94_POWER_H #define IMX94_PD_ANA 0 #define IMX94_PD_AON 1 #define IMX94_PD_BBSM 2 #define IMX94_PD_M71 3 #define IMX94_PD_CCMSRCGPC 4 #define IMX94_PD_A55C0 5 #define IMX94_PD_A55C1 6 #def...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx952-pinfunc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright 2025 NXP */ #ifndef __DTS_IMX952_PINFUNC_H__ #define __DTS_IMX952_PINFUNC_H__ /* * The pin function ID is a tuple of * <mux_reg conf_reg input_reg mux_mode input_val> */ #define IMX952_PAD_DAP_TDI__WAKEUPMIX_TOP_TDI ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/freescale/imx8mp-aipstz' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright 2025 NXP */ #ifndef __IMX8MP_AIPSTZ_H #define __IMX8MP_AIPSTZ_H /* consumer type - master or peripheral */ #define IMX8MP_AIPSTZ_MASTER 0x0 #define IMX8MP_AIPSTZ_PERIPH 0x1 /* master configuration options */ #define IMX8MP_AIPSTZ_MPL (1 <<...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/amlogic/amlogic-a5-reset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright (c) 2024 Amlogic, Inc. All rights reserved. */ #ifndef __DTS_AMLOGIC_A5_RESET_H #define __DTS_AMLOGIC_A5_RESET_H /* RESET0 */ /* 0-3 */ #define RESET_USB 4 /* 5-7 */ #define RESET_USBPHY20 8 /* 9 */ #define RESET_USB2DRD ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/amlogic/amlogic-t7-reset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright (c) 2024 Amlogic, Inc. All rights reserved. */ #ifndef __DTS_AMLOGIC_T7_RESET_H #define __DTS_AMLOGIC_T7_RESET_H /* RESET0 */ /* 0-3 */ #define RESET_USB 4 #define RESET_U2DRD 5 #define RESET_U3DRD 6 #define RESET_U3DRD_PIPE0 7 #def...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/amlogic/amlogic-a4-reset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /* * Copyright (c) 2024 Amlogic, Inc. All rights reserved. */ #ifndef __DTS_AMLOGIC_A4_RESET_H #define __DTS_AMLOGIC_A4_RESET_H /* RESET0 */ /* 0-3 */ #define RESET_USB 4 /* 5-6*/ #define RESET_U2PHY22 7 #define RESET_USBPHY20 8 #define RE...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/cix/sky1-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 2024-2025 Cix Technology Group Co., Ltd. */ #ifndef __CIX_SKY1_H #define __CIX_SKY1_H /* s5 pads */ #define CIX_PAD_GPIO001_FUNC_GPIO001 (0 << 8 | 0x0) #define CIX_PAD_GPIO002_FUNC_GPIO002 (1 << 8 | 0x0) #define CIX_PAD_GP...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/cix/sky1-power' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2026 Cix Technology Group Co., Ltd. */ #ifndef __SKY1_POWER_H__ #define __SKY1_POWER_H__ /* The Rich OS need flow the macro */ #define SKY1_PD_AUDIO 0 #define SKY1_PD_PCIE_CTRL0 1 #define SKY1_PD_PCIE_DUMMY 2 #define SKY1_PD_PCIEHUB 3 #define SKY1_PD...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/xilinx/xlnx-zynqmp-clk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Xilinx Zynq MPSoC Firmware layer * * Copyright (C) 2014-2018 Xilinx, Inc. * */ #ifndef _XLNX_ZYNQMP_CLK_H #define _XLNX_ZYNQMP_CLK_H #define IOPLL 0 #define RPLL 1 #define APLL 2 #define DPLL 3 #define VPLL 4 #define IOPLL_TO_FPD 5 #define RPLL_TO_FPD ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/rockchip/rk8xx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */ /* * Device Tree defines for Rockchip RK8xx PMICs * * Copyright 2025 Cherry Embedded Solutions GmbH * * Author: Quentin Schulz <quentin.schulz@cherry.de> */ #ifndef _DT_MFD_ROCKCHIP_RK8XX_H #define _DT_MFD_ROCKCHIP_RK8XX_H /* For use with rockchip,re...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/exynos/exynos-pinctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Samsung Exynos DTS pinctrl constants * * Copyright (c) 2016 Samsung Electronics Co., Ltd. * http://www.samsung.com * Copyright (c) 2022 Linaro Ltd * Author: Krzysztof Kozlowski <krzk@kernel.org> */ #ifndef __DTS_ARM64_SAMSUNG_EXYNOS_PINCTRL_H__ #define __DTS_ARM...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/exynos/axis/artpec-pinctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Axis ARTPEC-8 SoC device tree pinctrl constants * * Copyright (c) 2025 Samsung Electronics Co., Ltd. * https://www.samsung.com * Copyright (c) 2025 Axis Communications AB. * https://www.axis.com */ #ifndef __DTS_ARM64_SAMSUNG_EXY...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/exynos/google/gs101-pinctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Pinctrl binding constants for GS101 * * Copyright 2020-2023 Google LLC */ #ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ #define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ #define GS101_PIN_PULL_NONE 0 #define GS101_PIN_PULL_DOWN 1 #define G...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/microchip/clk-lan9691' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */ #ifndef _DTS_CLK_LAN9691_H #define _DTS_CLK_LAN9691_H #define GCK_ID_QSPI0 0 #define GCK_ID_QSPI2 1 #define GCK_ID_SDMMC0 2 #define GCK_ID_SDMMC1 3 #define GCK_ID_MCAN0 4 #define GCK_ID_MCAN1 5 #define GCK_ID_FLEXCOM0 6 #define GCK_ID_FLEXCOM1 7 #d...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/qcom/kaanapali-ipcc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #ifndef __DTS_KAANAPALI_MAILBOX_IPCC_H #define __DTS_KAANAPALI_MAILBOX_IPCC_H /* Physical client IDs */ #define IPCC_MPROC_AOP 0 #define IPCC_MPROC_TZ 1 #define IPCC_MPROC_MPSS ...
Linux işletim sistemi çekirdeği için 'arch/arm64/boot/dts/qcom/glymur-ipcc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #ifndef __DTS_GLYMUR_MAILBOX_IPCC_H #define __DTS_GLYMUR_MAILBOX_IPCC_H /* Glymur physical client IDs */ #define IPCC_MPROC_AOP 0 #define IPCC_MPROC_TZ 1 #define IPCC_MPROC_MPSS...