instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/ras' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __RAS_H__ #define __RAS_H__ #include <asm/errno.h> #include <linux/uuid.h> #include <linux/cper.h> #ifdef CONFIG_DEBUG_FS int ras_userspace_consumers(void); void ras_debugfs_init(void); int ras_add_daemon_trace(void); #else static inline int ras_userspace_consumers(...
Linux işletim sistemi çekirdeği için 'include/linux/rcu_node_tree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * RCU node combining tree definitions. These are used to compute * global attributes while avoiding common-case global contention. A key * property that these computations rely on is a tournament-style approach * where only one of the tasks contending a lower level ...
Linux işletim sistemi çekirdeği için 'include/linux/kbd_kern' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _KBD_KERN_H #define _KBD_KERN_H #include <linux/tty.h> #include <linux/interrupt.h> #include <linux/keyboard.h> extern char *func_table[MAX_NR_FUNC]; /* * kbd->xxx contains the VC-local things (flag settings etc..) * * Note: externally visible are LED_SCR, LED_N...
Linux işletim sistemi çekirdeği için 'include/linux/in6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Types and definitions for AF_INET6 * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * Sources: * IPv6 Program Interfaces for BSD Systems * <draft-ietf-ipngwg-bsd-api-05.txt> * * Advanced Sockets API for IPv6 * <d...
Linux işletim sistemi çekirdeği için 'include/linux/regmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __LINUX_REGMAP_H #define __LINUX_REGMAP_H /* * Register map access API * * Copyright 2011 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> */ #include <linux/bug.h> #include <linux/cleanup.h> #include <linux/delay....
Linux işletim sistemi çekirdeği için 'include/linux/dccp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_DCCP_H #define _LINUX_DCCP_H #include <uapi/linux/dccp.h> static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) { return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); } static inline unsigned int __dccp_basic_hdr_len(const st...
Linux işletim sistemi çekirdeği için 'include/linux/restart_block' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common syscall restarting data */ #ifndef __LINUX_RESTART_BLOCK_H #define __LINUX_RESTART_BLOCK_H #include <linux/compiler.h> #include <linux/time64.h> #include <linux/types.h> struct __kernel_timespec; struct timespec; struct old_timespec32; struct pollfd; enum tim...
Linux işletim sistemi çekirdeği için 'include/linux/wwan' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2021, Linaro Ltd <loic.poulain@linaro.org> */ #ifndef __WWAN_H #define __WWAN_H #include <linux/poll.h> #include <linux/netdevice.h> #include <linux/types.h> /** * enum wwan_port_type - WWAN port types * @WWAN_PORT_AT: AT commands * @WWAN_PORT_MBIM...
Linux işletim sistemi çekirdeği için 'include/linux/rcutiny' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition. * * Copyright IBM Corporation, 2008 * * Author: Paul E. McKenney <paulmck@linux.ibm.com> * * For detailed explanation of Read-Copy Update mechanism see - * Documentation/RCU */ #ifndef __...
Linux işletim sistemi çekirdeği için 'include/linux/ism' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Internal Shared Memory * * Definitions for the ISM module * * Copyright IBM Corp. 2022 */ #ifndef _ISM_H #define _ISM_H #include <linux/workqueue.h> /* Unless we gain unexpected popularity, this limit should hold for a while */ #define MAX_CLIENTS 8 #define I...
Linux işletim sistemi çekirdeği için 'include/linux/units' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UNITS_H #define _LINUX_UNITS_H #include <linux/bits.h> #include <linux/math.h> /* Metric prefixes in accordance with Système international (d'unités) */ #define PETA 1000000000000000ULL #define TERA 1000000000000ULL #define GIGA 1000000000UL #define MEGA 1000...
Linux işletim sistemi çekirdeği için 'include/linux/ihex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Compact binary representation of ihex records. Some devices need their * firmware loaded in strange orders rather than a single big blob, but * actually parsing ihex-as-text within the kernel seems silly. Thus,... */ #ifndef __LINUX_IHEX_H__ #define __LINUX_IHEX_H__...
Linux işletim sistemi çekirdeği için 'include/linux/isapnp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ISA Plug & Play support * Copyright (c) by Jaroslav Kysela <perex@suse.cz> */ #ifndef LINUX_ISAPNP_H #define LINUX_ISAPNP_H #include <linux/errno.h> #include <linux/pnp.h> /* * */ #define ISAPNP_VENDOR(a,b,c) (((((a)-'A'+1)&0x3f)<<2)|\ ((((b)-'A'+...
Linux işletim sistemi çekirdeği için 'include/linux/math' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MATH_H #define _LINUX_MATH_H #include <linux/types.h> #include <asm/div64.h> #include <uapi/linux/kernel.h> /* * This looks more complex than it should be. But we need to * get the type for the ~ right in round_down (it needs to be * as wide as the result!...
Linux işletim sistemi çekirdeği için 'include/linux/ima' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2008 IBM Corporation * Author: Mimi Zohar <zohar@us.ibm.com> */ #ifndef _LINUX_IMA_H #define _LINUX_IMA_H #include <linux/kernel_read_file.h> #include <linux/fs.h> #include <linux/security.h> #include <linux/kexec.h> #include <linux/secure_boot.h>...
Linux işletim sistemi çekirdeği için 'include/linux/hid-roccat' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __HID_ROCCAT_H #define __HID_ROCCAT_H /* * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net> */ /* */ #include <linux/hid.h> #include <linux/types.h> #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int) #ifdef __KERNEL__ int roccat_connect...
Linux işletim sistemi çekirdeği için 'include/linux/crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Scatterlist Cryptographic API. * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 David S. Miller (davem@redhat.com) * Copyright (c) 2005 Herbert Xu <herbert@gondor.apana.org.au> * * Portions derived from Cryptoapi, by Ale...
Linux işletim sistemi çekirdeği için 'include/linux/keyctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* keyctl kernel bits * * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef __LINUX_KEYCTL_H #define __LINUX_KEYCTL_H #include <uapi/linux/keyctl.h> struct kernel_pkey_query { __u32 supported_op...
Linux işletim sistemi çekirdeği için 'include/linux/if_team' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/linux/if_team.h - Network team device driver header * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com> */ #ifndef _LINUX_IF_TEAM_H_ #define _LINUX_IF_TEAM_H_ #include <linux/netpoll.h> #include <net/sch_generic.h> #include <linux/types.h> #include <...
Linux işletim sistemi çekirdeği için 'include/linux/security' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Linux Security plug * * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com> * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com> * Copyright (C) 2001 James Morris <jmorris@intercode.com.au> * Copyright (C) 2001 S...
Linux işletim sistemi çekirdeği için 'include/linux/sizes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * include/linux/sizes.h */ #ifndef __LINUX_SIZES_H__ #define __LINUX_SIZES_H__ #include <linux/const.h> #define SZ_1 0x00000001 #define SZ_2 0x00000002 #define SZ_4 0x00000004 #define SZ_8 0x00000008 #define SZ_16 0x00000010 #define SZ_32 0x00000...
Linux işletim sistemi çekirdeği için 'include/linux/dm-io' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2003 Sistina Software * Copyright (C) 2004 - 2008 Red Hat, Inc. All rights reserved. * * Device-Mapper low-level I/O. * * This file is released under the GPL. */ #ifndef _LINUX_DM_IO_H #define _LINUX_DM_IO_H #ifdef __KERNEL__ #include <linux/...
Linux işletim sistemi çekirdeği için 'include/linux/hrtimer_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_HRTIMER_DEFS_H #define _LINUX_HRTIMER_DEFS_H #include <linux/ktime.h> #include <linux/timerqueue.h> #include <linux/seqlock.h> #ifdef CONFIG_64BIT # define __hrtimer_clock_base_align ____cacheline_aligned #else # define __hrtimer_clock_base_align #endif /** ...
Linux işletim sistemi çekirdeği için 'include/linux/cleanup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CLEANUP_H #define _LINUX_CLEANUP_H #include <linux/compiler.h> #include <linux/err.h> #include <linux/args.h> /** * DOC: scope-based cleanup helpers * * The "goto error" pattern is notorious for introducing subtle resource * leaks. It is tedious and error...
Linux işletim sistemi çekirdeği için 'include/linux/dma-resv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Header file for reservations for dma-buf and ttm * * Copyright(C) 2011 Linaro Limited. All rights reserved. * Copyright (C) 2012-2013 Canonical Ltd * Copyright (C) 2012 Texas Instruments * * Authors: * Rob Clark <robdclark@gmail.com> * Maarten Lankhorst <maarten.lankhorst@canonical.com> * Thomas Hel...
Linux işletim sistemi çekirdeği için 'include/linux/ctype' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CTYPE_H #define _LINUX_CTYPE_H #include <linux/compiler.h> /* * NOTE! This ctype does not handle EOF like the standard C * library is required to. */ #define _U 0x01 /* upper */ #define _L 0x02 /* lower */ #define _D 0x04 /* digit */ #define _C 0x08 /* cn...
Linux işletim sistemi çekirdeği için 'include/linux/seg6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SEG6_H #define _LINUX_SEG6_H #include <uapi/linux/seg6.h> #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/pch_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010 Intel Corporation */ #ifndef PCH_DMA_H #define PCH_DMA_H #include <linux/dmaengine.h> enum pch_dma_width { PCH_DMA_WIDTH_1_BYTE, PCH_DMA_WIDTH_2_BYTES, PCH_DMA_WIDTH_4_BYTES, }; struct pch_dma_slave { struct device *dma_dev; unsigned i...
Linux işletim sistemi çekirdeği için 'include/linux/atmel-isc-media' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries * * Author: Eugen Hristev <eugen.hristev@microchip.com> */ #ifndef __LINUX_ATMEL_ISC_MEDIA_H__ #define __LINUX_ATMEL_ISC_MEDIA_H__ /* * There are 8 controls available: * 4 gain controls, slide...
Linux işletim sistemi çekirdeği için 'include/linux/skbuff' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Definitions for the 'struct sk_buff' memory handlers. * * Authors: * Alan Cox, <gw4pts@gw4pts.ampr.org> * Florian La Roche, <rzsfl@rz.uni-sb.de> */ #ifndef _LINUX_SKBUFF_H #define _LINUX_SKBUFF_H #include <linux/kernel.h> #include <linux/compiler.h> #i...
Linux işletim sistemi çekirdeği için 'include/linux/hw_bitfield' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2025, Collabora Ltd. */ #ifndef _LINUX_HW_BITFIELD_H #define _LINUX_HW_BITFIELD_H #include <linux/bitfield.h> #include <linux/build_bug.h> #include <linux/limits.h> /** * FIELD_PREP_WM16() - prepare a bitfield element with a mask in the upper...
Linux işletim sistemi çekirdeği için 'include/linux/drbd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* drbd.h Kernel module for 2.6.x Kernels This file is part of DRBD by Philipp Reisner and Lars Ellenberg. Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C...
Linux işletim sistemi çekirdeği için 'include/linux/context_tracking' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CONTEXT_TRACKING_H #define _LINUX_CONTEXT_TRACKING_H #include <linux/sched.h> #include <linux/vtime.h> #include <linux/context_tracking_state.h> #include <linux/instrumentation.h> #include <asm/ptrace.h> #ifdef CONFIG_CONTEXT_TRACKING_USER extern void ct_cp...
Linux işletim sistemi çekirdeği için 'include/linux/zstd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of https://github.com/facebook/zstd) and * the GPLv2 (fou...
Linux işletim sistemi çekirdeği için 'include/linux/bug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_BUG_H #define _LINUX_BUG_H #include <asm/bug.h> #include <linux/compiler.h> #include <linux/build_bug.h> enum bug_trap_type { BUG_TRAP_TYPE_NONE = 0, BUG_TRAP_TYPE_WARN = 1, BUG_TRAP_TYPE_BUG = 2, }; struct pt_regs; #ifdef __CHECKER__ #define MAYBE_BUILD...
Linux işletim sistemi çekirdeği için 'include/linux/host1x' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2009-2013, NVIDIA Corporation. All rights reserved. */ #ifndef __LINUX_HOST1X_H #define __LINUX_HOST1X_H #include <linux/device.h> #include <linux/dma-direction.h> #include <linux/dma-fence.h> #include <linux/spinlock.h> #include <linux/types.h...
Linux işletim sistemi çekirdeği için 'include/linux/iov_iter' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* I/O iterator iteration building functions. * * Copyright (C) 2023 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_IOV_ITER_H #define _LINUX_IOV_ITER_H #include <linux/uio.h> #include <linux/bvec.h> #inclu...
Linux işletim sistemi çekirdeği için 'include/linux/kvm_irqfd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * irqfd: Allows an fd to be used to inject an interrupt to the guest * Credit goes to Avi Kivity for the original idea. */ #ifndef __LINUX_KVM_IRQFD_H #define __LINUX_KVM_IRQFD_H #include <linux/kvm_host.h> #include <linux/poll.h> /* * Resampling irqfds are ...
Linux işletim sistemi çekirdeği için 'include/linux/edac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Generic EDAC defs * * Author: Dave Jiang <djiang@mvista.com> * * 2006-2008 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. * */ #ifnde...
Linux işletim sistemi çekirdeği için 'include/linux/mmu_notifier' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MMU_NOTIFIER_H #define _LINUX_MMU_NOTIFIER_H #include <linux/list.h> #include <linux/spinlock.h> #include <linux/mm_types.h> #include <linux/mmap_lock.h> #include <linux/srcu.h> #include <linux/interval_tree.h> struct mmu_notifier_subscriptions; struct mmu_no...
Linux işletim sistemi çekirdeği için 'include/linux/blk-mq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BLK_MQ_H #define BLK_MQ_H #include <linux/blkdev.h> #include <linux/sbitmap.h> #include <linux/lockdep.h> #include <linux/scatterlist.h> #include <linux/prefetch.h> #include <linux/srcu.h> #include <linux/rw_hint.h> #include <linux/rwsem.h> struct blk_mq_tags; struc...
Linux işletim sistemi çekirdeği için 'include/linux/virtio_pci_legacy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_VIRTIO_PCI_LEGACY_H #define _LINUX_VIRTIO_PCI_LEGACY_H #include "linux/mod_devicetable.h" #include <linux/pci.h> #include <linux/virtio_pci.h> struct virtio_pci_legacy_device { struct pci_dev *pci_dev; /* Where to read and clear interrupt */ u8 __iomem *i...
Linux işletim sistemi çekirdeği için 'include/linux/objpool' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_OBJPOOL_H #define _LINUX_OBJPOOL_H #include <linux/types.h> #include <linux/refcount.h> #include <linux/atomic.h> #include <linux/cpumask.h> #include <linux/irqflags.h> #include <linux/smp.h> /* * objpool: ring-array based lockless MPMC queue * * Copyrigh...
Linux işletim sistemi çekirdeği için 'include/linux/key-type' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Definitions for key type implementations * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_KEY_TYPE_H #define _LINUX_KEY_TYPE_H #include <linux/key.h> #include <linux/errno.h> #ifdef...
Linux işletim sistemi çekirdeği için 'include/linux/logic_pio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 HiSilicon Limited, All Rights Reserved. * Author: Gabriele Paoloni <gabriele.paoloni@huawei.com> * Author: Zhichang Yuan <yuanzhichang@hisilicon.com> */ #ifndef __LINUX_LOGIC_PIO_H #define __LINUX_LOGIC_PIO_H #include <linux/fwnode.h> enum { LOGI...
Linux işletim sistemi çekirdeği için 'include/linux/entry-virt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_ENTRYVIRT_H #define __LINUX_ENTRYVIRT_H #include <linux/static_call_types.h> #include <linux/resume_user_mode.h> #include <linux/syscalls.h> #include <linux/seccomp.h> #include <linux/sched.h> #include <linux/tick.h> /* Transfer to guest mode work */ #ifdef ...
Linux işletim sistemi çekirdeği için 'include/linux/libfdt_env' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LIBFDT_ENV_H #define LIBFDT_ENV_H #include <linux/limits.h> /* For INT_MAX */ #include <linux/string.h> #include <asm/byteorder.h> #define INT32_MAX S32_MAX #define UINT32_MAX U32_MAX typedef __be16 fdt16_t; typedef __be32 fdt32_t; typedef __be64 fdt64_t; #define...
Linux işletim sistemi çekirdeği için 'include/linux/tty_buffer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TTY_BUFFER_H #define _LINUX_TTY_BUFFER_H #include <linux/atomic.h> #include <linux/llist.h> #include <linux/mutex.h> #include <linux/workqueue.h> struct tty_buffer { union { struct tty_buffer *next; struct llist_node free; }; unsigned int used; unsign...
Linux işletim sistemi çekirdeği için 'include/linux/quotaops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for diskquota-operations. When diskquota is configured these * macros expand to the right source-code. * * Author: Marco van Wieringen <mvw@planets.elm.net> */ #ifndef _LINUX_QUOTAOPS_ #define _LINUX_QUOTAOPS_ #include <linux/fs.h> #define DQUOT_SPACE...
Linux işletim sistemi çekirdeği için 'include/linux/of_fdt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for working with the Flattened Device Tree data format * * Copyright 2009 Benjamin Herrenschmidt, IBM Corp * benh@kernel.crashing.org */ #ifndef _LINUX_OF_FDT_H #define _LINUX_OF_FDT_H #include <linux/types.h> #include <linux/init.h> #include <linux/er...
Linux işletim sistemi çekirdeği için 'include/linux/lz4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* LZ4 Kernel Interface * * Copyright (C) 2013, LG Electronics, Kyungsik Lee <kyungsik.lee@lge.com> * Copyright (C) 2016, Sven Schmidt <4sschmid@informatik.uni-hamburg.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2...
Linux işletim sistemi çekirdeği için 'include/linux/mc146818rtc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* mc146818rtc.h - register definitions for the Real-Time-Clock / CMOS RAM * Copyright Torsten Duwe <duwe@informatik.uni-erlangen.de> 1993 * derived from Data Sheet, Copyright Motorola 1984 (!). * It was written to be part of the Linux operating system. */ /* permission is hereby granted to copy, modify and re...
Linux işletim sistemi çekirdeği için 'include/linux/textsearch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_TEXTSEARCH_H #define __LINUX_TEXTSEARCH_H #include <linux/types.h> #include <linux/list.h> #include <linux/kernel.h> #include <linux/err.h> #include <linux/slab.h> struct module; struct ts_config; #define TS_AUTOLOAD 1 /* Automatically load textsearch modu...
Linux işletim sistemi çekirdeği için 'include/linux/livepatch_sched' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_LIVEPATCH_SCHED_H_ #define _LINUX_LIVEPATCH_SCHED_H_ #include <linux/jump_label.h> #include <linux/sched.h> #ifdef CONFIG_LIVEPATCH void __klp_sched_try_switch(void); DECLARE_STATIC_KEY_FALSE(klp_sched_try_switch_key); static __always_inline void ...
Linux işletim sistemi çekirdeği için 'include/linux/nitro_enclaves' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ #ifndef _LINUX_NITRO_ENCLAVES_H_ #define _LINUX_NITRO_ENCLAVES_H_ #include <uapi/linux/nitro_enclaves.h> #endif /* _LINUX_NITRO_ENCLAVES_H_ */ ```
Linux işletim sistemi çekirdeği için 'include/linux/iommu-helper' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IOMMU_HELPER_H #define _LINUX_IOMMU_HELPER_H #include <linux/bug.h> #include <linux/log2.h> #include <linux/math.h> #include <linux/types.h> static inline unsigned long iommu_device_max_index(unsigned long size, unsigned long offset, u64 dma...
Linux işletim sistemi çekirdeği için 'include/linux/bpf-netns' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BPF_NETNS_H #define _BPF_NETNS_H #include <linux/mutex.h> #include <net/netns/bpf.h> #include <uapi/linux/bpf.h> static inline enum netns_bpf_attach_type to_netns_bpf_attach_type(enum bpf_attach_type attach_type) { switch (attach_type) { case BPF_FLOW_DISSECTOR: ...
Linux işletim sistemi çekirdeği için 'include/linux/async_tx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright © 2006, Intel Corporation. */ #ifndef _ASYNC_TX_H_ #define _ASYNC_TX_H_ #include <linux/dmaengine.h> #include <linux/spinlock.h> #include <linux/interrupt.h> /* on architectures without dma-mapping capabilities we need to ensure * that the asynchronous...
Linux işletim sistemi çekirdeği için 'include/linux/dmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DMI_H__ #define __DMI_H__ #include <linux/list.h> #include <linux/kobject.h> #include <linux/mod_devicetable.h> /* enum dmi_field is in mod_devicetable.h */ enum dmi_device_type { DMI_DEV_TYPE_ANY = 0, DMI_DEV_TYPE_OTHER, DMI_DEV_TYPE_UNKNOWN, DMI_DEV_TYPE_VI...
Linux işletim sistemi çekirdeği için 'include/linux/utsname' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UTSNAME_H #define _LINUX_UTSNAME_H #include <linux/sched.h> #include <linux/nsproxy.h> #include <linux/ns_common.h> #include <linux/err.h> #include <linux/uts_namespace.h> enum uts_proc { UTS_PROC_ARCH, UTS_PROC_OSTYPE, UTS_PROC_OSRELEASE, UTS_PROC_VERSI...
Linux işletim sistemi çekirdeği için 'include/linux/rcuwait' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RCUWAIT_H_ #define _LINUX_RCUWAIT_H_ #include <linux/rcupdate.h> #include <linux/sched/signal.h> #include <linux/types.h> #define __RCUWAIT_INITIALIZER(name) \ { .task = NULL, } static inline void rcuwait_init(struct rcuwait *w) { w->task = NULL; } /* *...
Linux işletim sistemi çekirdeği için 'include/linux/linkage' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_LINKAGE_H #define _LINUX_LINKAGE_H #include <linux/compiler_types.h> #include <linux/stringify.h> #include <linux/export.h> #include <asm/linkage.h> /* Some toolchains use other characters (e.g. '`') to mark new line in macro */ #ifndef ASM_NL #define ASM_NL ...
Linux işletim sistemi çekirdeği için 'include/linux/oid_registry' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* ASN.1 Object identifier (OID) registry * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_OID_REGISTRY_H #define _LINUX_OID_REGISTRY_H #include <linux/types.h> /* * OIDs are turned i...
Linux işletim sistemi çekirdeği için 'include/linux/falloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FALLOC_H_ #define _FALLOC_H_ #include <uapi/linux/falloc.h> /* * Space reservation ioctls and argument structure * are designed to be compatible with the legacy XFS ioctls. */ struct space_resv { __s16 l_type; __s16 l_whence; __s64 l_start; __s64 l_len;...
Linux işletim sistemi çekirdeği için 'include/linux/hw_breakpoint' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_HW_BREAKPOINT_H #define _LINUX_HW_BREAKPOINT_H #include <linux/perf_event.h> #include <uapi/linux/hw_breakpoint.h> #ifdef CONFIG_HAVE_HW_BREAKPOINT enum bp_type_idx { TYPE_INST = 0, #if defined(CONFIG_HAVE_MIXED_BREAKPOINTS_REGS) TYPE_DATA = 0, #else TYPE...
Linux işletim sistemi çekirdeği için 'include/linux/mailbox_controller' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __MAILBOX_CONTROLLER_H #define __MAILBOX_CONTROLLER_H #include <linux/bits.h> #include <linux/completion.h> #include <linux/device.h> #include <linux/hrtimer.h> #include <linux/of.h> #include <linux/types.h> struct mbox_chan; /* Sentinel value distinguishing ...
Linux işletim sistemi çekirdeği için 'include/linux/bvec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * bvec iterator * * Copyright (C) 2001 Ming Lei <ming.lei@canonical.com> */ #ifndef __LINUX_BVEC_H #define __LINUX_BVEC_H #include <linux/highmem.h> #include <linux/bug.h> #include <linux/errno.h> #include <linux/limits.h> #include <linux/minmax.h> #include <linux/typ...
Linux işletim sistemi çekirdeği için 'include/linux/lcm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LCM_H #define _LCM_H #include <linux/compiler.h> unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__; unsigned long lcm_not_zero(unsigned long a, unsigned long b) __attribute_const__; #endif /* _LCM_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/kfifo' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * A generic kernel FIFO implementation * * Copyright (C) 2013 Stefani Seibold <stefani@seibold.net> */ #ifndef _LINUX_KFIFO_H #define _LINUX_KFIFO_H /* * How to porting drivers to the new generic FIFO API: * * - Modify the declaration of the "struct kfifo...
Linux işletim sistemi çekirdeği için 'include/linux/irqreturn' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IRQRETURN_H #define _LINUX_IRQRETURN_H /** * enum irqreturn - irqreturn type values * @IRQ_NONE: interrupt was not from this device or was not handled * @IRQ_HANDLED: interrupt was handled by this device * @IRQ_WAKE_THREAD: handler requests to wake the ha...
Linux işletim sistemi çekirdeği için 'include/linux/aer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2006 Intel Corp. * Tom Long Nguyen (tom.l.nguyen@intel.com) * Zhang Yanmin (yanmin.zhang@intel.com) */ #ifndef _AER_H_ #define _AER_H_ #include <linux/errno.h> #include <linux/types.h> #define AER_NONFATAL 0 #define AER_FATAL 1 #define AE...
Linux işletim sistemi çekirdeği için 'include/linux/cgroup_subsys' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * List of cgroup subsystems. * * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. */ /* * This file *must* be included with SUBSYS() defined. */ #if IS_ENABLED(CONFIG_CPUSETS) SUBSYS(cpuset) #endif #if IS_ENABLED(CONFIG_CGROUP_SCHED) SUBSYS(...
Linux işletim sistemi çekirdeği için 'include/linux/jbd2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/include/linux/jbd2.h * * Written by Stephen C. Tweedie <sct@redhat.com> * * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved * * Definitions for transaction data structures for the buffer cache * filesystem journaling support. */ #ifndef ...
Linux işletim sistemi çekirdeği için 'include/linux/seg6_hmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SEG6_HMAC_H #define _LINUX_SEG6_HMAC_H #include <uapi/linux/seg6_hmac.h> #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/seqlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_SEQLOCK_H #define __LINUX_SEQLOCK_H /* * seqcount_t / seqlock_t - a reader-writer consistency mechanism with * lockless readers (read-only retry loops), and no writer starvation. * * See Documentation/locking/seqlock.rst * * Copyrights: * - Based on x8...
Linux işletim sistemi çekirdeği için 'include/linux/dqblk_v2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for vfsv0 quota format */ #ifndef _LINUX_DQBLK_V2_H #define _LINUX_DQBLK_V2_H #include <linux/dqblk_qtree.h> /* Numbers of blocks needed for updates */ #define V2_INIT_ALLOC QTREE_INIT_ALLOC #define V2_INIT_REWRITE QTREE_INIT_REWRITE #define V2_DEL_ALLO...
Linux işletim sistemi çekirdeği için 'include/linux/unwind_deferred_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UNWIND_USER_DEFERRED_TYPES_H #define _LINUX_UNWIND_USER_DEFERRED_TYPES_H #include <linux/types.h> #include <linux/atomic.h> struct unwind_cache { unsigned long unwind_completed; unsigned int nr_entries; unsigned long entries[]; }; /* * The unwind_task...
Linux işletim sistemi çekirdeği için 'include/linux/irqdesc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IRQDESC_H #define _LINUX_IRQDESC_H #include <linux/irq_work.h> #include <linux/kobject.h> #include <linux/mutex.h> #include <linux/rcupdate.h> /* * Core internal functions to deal with irq descriptors */ struct irq_affinity_notify; struct proc_dir_entry; s...
Linux işletim sistemi çekirdeği için 'include/linux/intel_tpmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * intel_tpmi.h: Intel TPMI core external interface */ #ifndef _INTEL_TPMI_H_ #define _INTEL_TPMI_H_ #include <linux/bitfield.h> struct oobmsm_plat_info; #define TPMI_VERSION_INVALID 0xff #define TPMI_MINOR_VERSION(val) FIELD_GET(GENMASK(4, 0), val) #define TPMI_...
Linux işletim sistemi çekirdeği için 'include/linux/vmw_vmci_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * VMware VMCI Driver * * Copyright (C) 2012 VMware, Inc. All rights reserved. */ #ifndef _VMW_VMCI_DEF_H_ #define _VMW_VMCI_DEF_H_ #include <linux/atomic.h> #include <linux/bits.h> /* Register offsets. */ #define VMCI_STATUS_ADDR 0x00 #define VMCI_CONTRO...
Linux işletim sistemi çekirdeği için 'include/linux/mdio/mdio-xgene' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* Applied Micro X-Gene SoC MDIO Driver * * Copyright (c) 2016, Applied Micro Circuits Corporation * Author: Iyappan Subramanian <isubramanian@apm.com> */ #ifndef __MDIO_XGENE_H__ #define __MDIO_XGENE_H__ #include <linux/bits.h> #include <linux/spinlock.h> #include <li...
Linux işletim sistemi çekirdeği için 'include/linux/mdio/mdio-mscc-miim' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for the MDIO interface of Microsemi network switches. * * Author: Colin Foster <colin.foster@in-advantage.com> * Copyright (C) 2021 Innovative Advantage */ #ifndef MDIO_MSCC_MIIM_H #define MDIO_MSCC_MIIM_H #include <linux/device.h> #include <linux/p...
Linux işletim sistemi çekirdeği için 'include/linux/mdio/mdio-regmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Driver for MMIO-Mapped MDIO devices. Some IPs expose internal PHYs or PCS * within the MMIO-mapped area * * Copyright (C) 2023 Maxime Chevallier <maxime.chevallier@bootlin.com> */ #ifndef MDIO_REGMAP_H #define MDIO_REGMAP_H #include <linux/phy.h> struct device; struc...
Linux işletim sistemi çekirdeği için 'include/linux/mdio/mdio-i2c' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * MDIO I2C bridge * * Copyright (C) 2015 Russell King */ #ifndef MDIO_I2C_H #define MDIO_I2C_H struct device; struct i2c_adapter; struct mii_bus; enum mdio_i2c_proto { MDIO_I2C_NONE, MDIO_I2C_MARVELL_C22, MDIO_I2C_C45, MDIO_I2C_ROLLBALL, }; struct mii_bus *mdio_...
Linux işletim sistemi çekirdeği için 'include/linux/avf/virtchnl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2013-2022, Intel Corporation. */ #ifndef _VIRTCHNL_H_ #define _VIRTCHNL_H_ #include <linux/bitops.h> #include <linux/bits.h> #include <linux/overflow.h> #include <uapi/linux/if_ether.h> /* Description: * This header file describes the Virtual Functio...
Linux işletim sistemi çekirdeği için 'include/linux/unaligned/packed_struct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _LINUX_UNALIGNED_PACKED_STRUCT_H #define _LINUX_UNALIGNED_PACKED_STRUCT_H #include <linux/types.h> struct __una_u16 { u16 x; } __packed; struct __una_u32 { u32 x; } __packed; struct __una_u64 { u64 x; } __packed; static inline u16 __get_unaligned_cpu16(const void *p) { const struct __una_u16 *ptr = (co...
Linux işletim sistemi çekirdeği için 'include/linux/device/class' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * The class-specific portions of the driver model * * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> * Copyright (c) 2008-2009 Novell Inc. * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxf...
Linux işletim sistemi çekirdeği için 'include/linux/device/bus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * bus.h - the bus-specific portions of the driver model * * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> * Copyright (c) 2008-2009 Novell Inc. * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@...
Linux işletim sistemi çekirdeği için 'include/linux/device/driver' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * The driver-specific portions of the driver model * * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> * Copyright (c) 2008-2009 Novell Inc. * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linux...
Linux işletim sistemi çekirdeği için 'include/linux/device/faux' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2025 Greg Kroah-Hartman <gregkh@linuxfoundation.org> * Copyright (c) 2025 The Linux Foundation * * A "simple" faux bus that allows devices to be created and added * automatically to it. This is to be used whenever you need to create a * device t...
Linux işletim sistemi çekirdeği için 'include/linux/device/devres' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _DEVICE_DEVRES_H_ #define _DEVICE_DEVRES_H_ #include <linux/err.h> #include <linux/gfp_types.h> #include <linux/numa.h> #include <linux/overflow.h> #include <linux/stdarg.h> #include <linux/types.h> #include <asm/bug.h> #include <asm/percpu.h> struct device; struct ...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_driver_chipcommon' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef LINUX_SSB_CHIPCO_H_ #define LINUX_SSB_CHIPCO_H_ /* SonicsSiliconBackplane CHIPCOMMON core hardware definitions * * The chipcommon core provides chip identification, SB control, * jtag, 0/1/2 uarts, clock frequency control, a watchdog interrupt timer, * gpio ...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_driver_extif' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Hardware-specific External Interface I/O core definitions * for the BCM47xx family of SiliconBackplane-based chips. * * The External Interface core supports a total of three external chip selects * supporting external interfaces. One of the external chip select...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_driver_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_PCICORE_H_ #define LINUX_SSB_PCICORE_H_ #include <linux/types.h> struct pci_dev; #ifdef CONFIG_SSB_DRIVER_PCICORE /* PCI core registers. */ #define SSB_PCICORE_CTL 0x0000 /* PCI Control */ #define SSB_PCICORE_CTL_RST_OE 0x00000001 /* PCI_RESET Outpu...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_embedded' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_EMBEDDED_H_ #define LINUX_SSB_EMBEDDED_H_ #include <linux/types.h> #include <linux/ssb/ssb.h> extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks); /* Generic GPIO API */ u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask); u32 ssb_gpio_out(struc...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_REGS_H_ #define LINUX_SSB_REGS_H_ /* SiliconBackplane Address Map. * All regions may not exist on all chips. */ #define SSB_SDRAM_BASE 0x00000000U /* Physical SDRAM */ #define SSB_PCI_MEM 0x08000000U /* Host Mode sb2pcitranslation0 (64 MB) */ #define S...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_driver_gige' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_DRIVER_GIGE_H_ #define LINUX_SSB_DRIVER_GIGE_H_ #include <linux/ssb/ssb.h> #include <linux/bug.h> #include <linux/pci.h> #include <linux/spinlock.h> #ifdef CONFIG_SSB_DRIVER_GIGE #define SSB_GIGE_PCIIO 0x0000 /* PCI I/O Registers (1024 bytes) */ #defi...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_H_ #define LINUX_SSB_H_ #include <linux/device.h> #include <linux/list.h> #include <linux/types.h> #include <linux/spinlock.h> #include <linux/pci.h> #include <linux/gpio/driver.h> #include <linux/mod_devicetable.h> #include <linux/dma-mapping.h> #include <...
Linux işletim sistemi çekirdeği için 'include/linux/ssb/ssb_driver_mips' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SSB_MIPSCORE_H_ #define LINUX_SSB_MIPSCORE_H_ #ifdef CONFIG_SSB_DRIVER_MIPS struct ssb_device; struct ssb_serial_port { void *regs; unsigned long clockspeed; unsigned int irq; unsigned int baud_base; unsigned int reg_shift; }; struct ssb_pflash { bool ...
Linux işletim sistemi çekirdeği için 'include/linux/ceph/cls_lock_client' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CEPH_CLS_LOCK_CLIENT_H #define _LINUX_CEPH_CLS_LOCK_CLIENT_H #include <linux/ceph/osd_client.h> enum ceph_cls_lock_type { CEPH_CLS_LOCK_NONE = 0, CEPH_CLS_LOCK_EXCLUSIVE = 1, CEPH_CLS_LOCK_SHARED = 2, }; struct ceph_locker_id { struct ceph_entity_name na...