instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac_pcs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * stmmac_pcs.h: Physical Coding Sublayer Header File * * Copyright (C) 2016 STMicroelectronics (R&D) Limited * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> */ #ifndef __STMMAC_PCS_H__ #define __STMMAC_PCS_H__ #include <linux/phylink.h> #include <linu...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac_fpe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2024 Furong Xu <0x1207@gmail.com> * stmmac FPE(802.3 Qbu) handling */ #ifndef _STMMAC_FPE_H_ #define _STMMAC_FPE_H_ #include <linux/types.h> #include <linux/netdevice.h> struct stmmac_priv; bool stmmac_fpe_supported(struct stmmac_priv *priv); voi...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac100_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* This is the driver for the MAC 10/100 on-chip Ethernet controller currently tested on all the ST boards based on STb7109 and stx7200 SoCs. DWC Ether MAC 10/100 Universal version 4.0 has ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_fpe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2024 Furong Xu <0x1207@gmail.com> * stmmac FPE(802.3 Qbu) handling */ #include "stmmac.h" #include "stmmac_fpe.h" #include "dwmac4.h" #include "dwmac5.h" #include "dwxgmac2.h" #define GMAC5_MAC_FPE_CTRL_STS 0x00000234 #define XGMAC_MAC_FPE_CTRL_STS ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * dwmac-sun8i.c - Allwinner sun8i DWMAC specific glue layer * * Copyright (C) 2017 Corentin Labbe <clabbe.montjoie@gmail.com> */ #include <linux/clk.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/mdio-mux.h> #include <linux/mfd/syscon.h> #inc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac_xdp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2021, Intel Corporation. */ #ifndef _STMMAC_XDP_H_ #define _STMMAC_XDP_H_ #define STMMAC_RX_DMA_ATTR (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING) int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool, u16 queue); int stmm...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/mmc_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* DWMAC Management Counters Copyright (C) 2011 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> ***************************************************************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright Altera Corporation (C) 2014. All rights reserved. * * Adopted from dwmac-sti.c */ #include <linux/mfd/altera-sysmgr.h> #include <linux/clocksource_ids.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_net.h> #include <linux/phy.h> #i...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2018 MediaTek Inc. */ #include <linux/bitfield.h> #include <linux/io.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_net.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include <linux/stmma...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac_libpci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2025 Yao Zi <ziyao@disroot.org> */ #ifndef __STMMAC_LIBPCI_H__ #define __STMMAC_LIBPCI_H__ int stmmac_pci_plat_suspend(struct device *dev, void *bsp_priv); int stmmac_pci_plat_resume(struct device *dev, void *bsp_priv); #endif /* __STMMAC_LIBPCI_H...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_pcs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include "stmmac.h" #include "stmmac_pcs.h" /* * GMAC_AN_STATUS is equivalent to MII_BMSR * GMAC_ANE_ADV is equivalent to 802.3z MII_ADVERTISE * GMAC_ANE_LPA is equivalent to 802.3z MII_LPA * GMAC_ANE_EXP is equivalent to MII_EXPANSION * GMAC_TBI is equivalent to MII_...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-intel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2020, Intel Corporation */ #include <linux/clk-provider.h> #include <linux/pci.h> #include <linux/dmi.h> #include <linux/platform_data/x86/intel_pmc_ipc.h> #include "dwmac-intel.h" #include "dwmac4.h" #include "stmmac.h" #include "stmmac_ptp.h" struct pmc_ser...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-tegra' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/iommu.h> #include <linux/platform_device.h> #include <linux/of.h> #include <linux/module.h> #include <linux/stmmac.h> #include <linux/clk.h> #include "stmmac_platform.h" static const char *const mgbe_clks[] = { "rx-pcs", "tx", "tx-pcs", "mac-divider", "ma...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-rk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /** * DOC: dwmac-rk.c - Rockchip RK3288 DWMAC specific glue layer * * Copyright (C) 2014 Chen-Zhi (Roger Chen) * * Chen-Zhi (Roger Chen) <roger.chen@rock-chips.com> */ #include <linux/stmmac.h> #include <linux/hw_bitfield.h> #include <linux/bitops.h> #include <l...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-anarion' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Adaptrum Anarion DWMAC glue layer * * Copyright (C) 2017, Adaptrum, Inc. * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.) */ #include <linux/io.h> #include <linux/of.h> #include <linux/of_net.h> #include <linux/stmmac.h> #include ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_mdio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* STMMAC Ethernet Driver -- MDIO bus implementation Provides Bus interface for MII registers Copyright (C) 2007-2009 STMicroelectronics Ltd Author: Carl Shaw <carl.shaw@st.com> Main...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-loongson' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2020, Loongson Corporation */ #include <linux/clk-provider.h> #include <linux/pci.h> #include <linux/dmi.h> #include <linux/device.h> #include <linux/of_irq.h> #include "stmmac.h" #include "stmmac_libpci.h" #include "dwmac_dma.h" #include "dwmac1000.h" #defin...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac4_lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007-2015 STMicroelectronics Ltd * * Author: Alexandre Torgue <alexandre.torgue@st.com> */ #include <linux/io.h> #include <linux/iopoll.h> #include <linux/delay.h> #include "common.h" #include "dwmac4_dma.h" #include "dwmac4.h" #include "stmmac.h" ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-sti' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * dwmac-sti.c - STMicroelectronics DWMAC Specific Glue layer * * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> * Contributors: Giuseppe Cavallaro <peppe.cavallaro@st.com> */ #include <linux/...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/dwmac4_descs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Header File to describe the DMA descriptors and related definitions specific * for DesignWare databook 4.xx. * * Copyright (C) 2015 STMicroelectronics Ltd * * Author: Alexandre Torgue <alexandre.torgue@st.com> */ #ifndef __DWMAC4_DESCS_H__ #define __DWMAC4_...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-visconti' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Toshiba Visconti Ethernet Support * * (C) Copyright 2020 TOSHIBA CORPORATION * (C) Copyright 2020 Toshiba Electronic Devices & Storage Corporation */ #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/of_net.h> #include <li...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-meson' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Amlogic Meson6 and Meson8 DWMAC glue layer * * Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com> */ #include <linux/device.h> #include <linux/ethtool.h> #include <linux/io.h> #include <linux/ioport.h> #include <linux/module.h> #include <linux/platform_dev...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/dwmac-intel' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2020, Intel Corporation * DWMAC Intel header file */ #ifndef __DWMAC_INTEL_H__ #define __DWMAC_INTEL_H__ #define POLL_DELAY_US 8 /* SERDES Register */ #define SERDES_GCR 0x0 /* Global Conguration */ #define SERDES_GSR0 0x5 /* Global Status Reg0 */ #defin...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-spacemit' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Spacemit DWMAC platform driver * * Copyright (C) 2026 Inochi Amaoto <inochiama@gmail.com> */ #include <linux/clk.h> #include <linux/math.h> #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/mfd/syscon.h> #include <linux/of.h> #include <linux...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (c) 2018 Synopsys, Inc. and/or its affiliates. * stmmac XGMAC support. */ #include <linux/bitfield.h> #include <linux/stmmac.h> #include "common.h" #include "dwxgmac2.h" static int dwxgmac2_get_tx_status(struct stmmac_extra_stats *x, struct dma...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac100_dma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* This is the driver for the MAC 10/100 on-chip Ethernet controller currently tested on all the ST boards based on STb7109 and stx7200 SoCs. DWC Ether MAC 10/100 Universal version 4.0 has ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/mmc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /******************************************************************************* MMC Header file Copyright (C) 2011 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> **********************************************************************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Loongson-1 DWMAC glue layer * * Copyright (C) 2011-2023 Keguang Zhang <keguang.zhang@gmail.com> */ #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/phy.h> #include <linux/platform_device.h> #include <linux/regmap.h>...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/dwmac1000' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /******************************************************************************* Copyright (C) 2007-2009 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *******************************************************************************/ #if...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/chain_mode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* Specialised functions for managing Chained mode Copyright(C) 2011 STMicroelectronics Ltd It defines all the functions used to handle the normal/enhanced descriptors in case of the DM...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-intel-plat' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Intel DWMAC platform driver * * Copyright(C) 2020 Intel Corporation */ #include <linux/ethtool.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/property.h> #include <linux/stmmac.h> #include "dwmac4.h" #include "stmmac...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. ST Ethernet IPs are built around a Synopsys IP Core. Copyright(C) 2007-2011 STMicroelectronics Ltd Author: ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_selftests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2019 Synopsys, Inc. and/or its affiliates. * stmmac Selftests Support * * Author: Jose Abreu <joabreu@synopsys.com> */ #include <linux/bitrev.h> #include <linux/completion.h> #include <linux/crc32.h> #include <linux/ethtool.h> #include <linux/ip.h> #incl...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* PTP 1588 clock using the STMMAC. Copyright (C) 2013 Vayavya Labs Pvt Ltd Author: Rayagond Kokatanur <rayagond@vayavyalabs.com> ********************************************************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_vlan' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025, Altera Corporation * stmmac VLAN (802.1Q) handling */ #include "stmmac.h" #include "stmmac_vlan.h" static void vlan_write_single(struct net_device *dev, u16 vid) { void __iomem *ioaddr = (void __iomem *)dev->base_addr; u32 val; val = readl(...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Qualcomm Atheros IPQ806x GMAC glue layer * * Copyright (C) 2015 The Linux Foundation * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_tc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (c) 2018 Synopsys, Inc. and/or its affiliates. * stmmac TC Handling (HW only) */ #include <net/pkt_cls.h> #include <net/tc_act/tc_gact.h> #include "common.h" #include "dwmac4.h" #include "dwmac5.h" #include "stmmac.h" static void tc_fill_all_pass_ent...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/dwxlgmac2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2020 Synopsys, Inc. and/or its affiliates. * Synopsys DesignWare XLGMAC definitions. */ #ifndef __STMMAC_DWXLGMAC2_H__ #define __STMMAC_DWXLGMAC2_H__ /* MAC Registers */ #define XLGMAC_CONFIG_SS GENMASK(30, 28) #define XLGMAC_CONFIG_SS_SHIFT 28 #defi...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/hwif' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ // Copyright (c) 2018 Synopsys, Inc. and/or its affiliates. // stmmac HW Interface Callbacks #ifndef __STMMAC_HWIF_H__ #define __STMMAC_HWIF_H__ #include <linux/netdevice.h> #include <linux/stmmac.h> #include <net/pkt_cls.h> #define stmmac_do_void_callback(__priv,...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Sophgo DWMAC platform driver * * Copyright (C) 2024 Inochi Amaoto <inochiama@gmail.com> */ #include <linux/clk.h> #include <linux/module.h> #include <linux/property.h> #include <linux/mod_devicetable.h> #include <linux/platform_device.h> #include "stmmac_platform.h" ...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_platform' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* This contains the functions to handle the platform driver. Copyright (C) 2007-2011 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *************************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018-19, Linaro Limited #include <linux/module.h> #include <linux/of.h> #include <linux/of_net.h> #include <linux/platform_device.h> #include <linux/phy.h> #include <linux/phy/phy.h> #include "stmmac.h" #include "stmmac_platform.h" #define RGMII_IO_MACRO_CONF...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /******************************************************************************* Copyright (C) 2007-2009 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *******************************************************************************/ #i...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/dwmac4_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * DWMAC4 DMA Header file. * * Copyright (C) 2007-2015 STMicroelectronics Ltd * * Author: Alexandre Torgue <alexandre.torgue@st.com> */ #ifndef __DWMAC4_DMA_H__ #define __DWMAC4_DMA_H__ /* Define the max channel number used for tx (also rx). * dwmac4 accepts ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /******************************************************************************* STMMAC Common Header File Copyright (C) 2007-2009 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *******************************************************...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/stmicro/stmmac/stmmac_est' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2023, Intel Corporation * stmmac EST(802.3 Qbv) handling */ #define EST_GMAC4_OFFSET 0x00000c50 #define EST_XGMAC_OFFSET 0x00001050 #define EST_CONTROL 0x00000000 #define EST_GMAC5_PTOV GENMASK(31, 24) #define EST_GMAC5_PTOV_SHIFT 24 #defin...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/enh_desc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* This contains the functions to handle the enhanced descriptors. Copyright (C) 2007-2014 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> ********************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* STMMAC Ethtool support Copyright (C) 2007-2009 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> *************************************************************...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-imx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * dwmac-imx.c - DWMAC Specific Glue layer for NXP imx8 * * Copyright 2020 NXP * */ #include <linux/clk.h> #include <linux/gpio/consumer.h> #include <linux/kernel.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_net.h> #...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-sun55i' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * dwmac-sun55i.c - Allwinner sun55i GMAC200 specific glue layer * * Copyright (C) 2025 Chen-Yu Tsai <wens@csie.org> * * syscon parts taken from dwmac-sun8i.c, which is * * Copyright (C) 2017 Corentin Labbe <clabbe.montjoie@gmail.com> */ #include <linux/bitfield....
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * dwmac-sunxi.c - Allwinner sunxi DWMAC specific glue layer * * Copyright (C) 2013 Chen-Yu Tsai * * Chen-Yu Tsai <wens@csie.org> */ #include <linux/stmmac.h> #include <linux/clk.h> #include <linux/module.h> #include <linux/phy.h> #include <linux/platform_devi...
Linux kernel'inin 'drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Synopsys DWC Ethernet Quality-of-Service v4.10a linux driver * * Copyright (C) 2016 Joao Pinto <jpinto@synopsys.com> */ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/device.h> #include <linux/gpio/consumer.h> #include <linux/ethtool.h> #in...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/faraday/ftgmac100' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Faraday FTGMAC100 Gigabit Ethernet * * (C) Copyright 2009-2011 Faraday Technology * Po-Yu Chuang <ratbert@faraday-tech.com> */ #ifndef __FTGMAC100_H #define __FTGMAC100_H #define FTGMAC100_OFFSET_ISR 0x00 #define FTGMAC100_OFFSET_IER 0x04 #define FTGMAC...
Linux kernel'inin 'drivers/net/ethernet/faraday/ftgmac100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Faraday FTGMAC100 Gigabit Ethernet * * (C) Copyright 2009-2011 Faraday Technology * Po-Yu Chuang <ratbert@faraday-tech.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/clk.h> #include <linux/reset.h> #include <linux/dma-mapping.h> #include...
Linux kernel'inin 'drivers/net/ethernet/faraday/ftmac100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Faraday FTMAC100 10/100 Ethernet * * (C) Copyright 2009-2011 Faraday Technology * Po-Yu Chuang <ratbert@faraday-tech.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/dma-mapping.h> #include <linux/etherdevice.h> #include <linux/ethtool.h> ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/faraday/ftmac100' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Faraday FTMAC100 10/100 Ethernet * * (C) Copyright 2009-2011 Faraday Technology * Po-Yu Chuang <ratbert@faraday-tech.com> */ #ifndef __FTMAC100_H #define __FTMAC100_H #define FTMAC100_OFFSET_ISR 0x00 #define FTMAC100_OFFSET_IMR 0x04 #define FTMAC100_OFF...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* Copyright (c) Amazon.com, Inc. or its affiliates. * All rights reserved. */ #ifdef CONFIG_DEBUG_FS #include <linux/seq_file.h> #include <linux/pci.h> #include "ena_debugfs.h" #include "ena_phc.h" static int phc_stats_show(struct seq_file *file, void *priv...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_com' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_COM #define ENA_COM #include <linux/compiler.h> #include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/gfp.h> #include <linux/io.h> #include <...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_xdp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2021 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_XDP_H #define ENA_XDP_H #include "ena_netdev.h" #include <linux/bpf_trace.h> /* The max MTU size is configured to be the ethernet frame size without * the ov...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_admin_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef _ENA_ADMIN_H_ #define _ENA_ADMIN_H_ #define ENA_ADMIN_RSS_KEY_PARTS 10 #define ENA_ADMIN_CUSTOMER_METRICS_SUPPORT_MASK 0x3F #define ENA_ADMIN_CUSTOMER...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_devlink' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* Copyright (c) Amazon.com, Inc. or its affiliates. * All rights reserved. */ #ifndef DEVLINK_H #define DEVLINK_H #include "ena_netdev.h" #include <net/devlink.h> #define ENA_DEVLINK_PRIV(devlink) \ (*(struct ena_adapter **)devlink_priv(devlink)) struct...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_netdev' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/ethtool.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/numa.h> #include <linux/pci.h> #inc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_netdev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_H #define ENA_H #include <linux/bitops.h> #include <linux/dim.h> #include <linux/etherdevice.h> #include <linux/if_vlan.h> #include <linux/inetdevice.h> #inclu...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_xdp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2021 Amazon.com, Inc. or its affiliates. All rights reserved. */ #include "ena_xdp.h" static int validate_xdp_req_id(struct ena_ring *tx_ring, u16 req_id) { struct ena_tx_buffer *tx_info; tx_info = &tx_ring->tx_buffer_info[req_id]; if ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_eth_io_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef _ENA_ETH_IO_H_ #define _ENA_ETH_IO_H_ enum ena_eth_io_l3_proto_index { ENA_ETH_IO_L3_PROTO_UNKNOWN = 0, ENA_ETH_IO_L3_PROTO_IPV4 ...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_com' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #include "ena_com.h" /*****************************************************************************/ /************************************************************************...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #include <linux/ethtool.h> #include <linux/pci.h> #include <linux/net_tstamp.h> #include "ena_netdev.h" #include "ena_xdp.h" #include "ena_phc.h" struct ena_stats { char na...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_phc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2022 Amazon.com, Inc. or its affiliates. All rights reserved. */ #include <linux/pci.h> #include "ena_netdev.h" #include "ena_phc.h" #include "ena_devlink.h" static int ena_phc_adjtime(struct ptp_clock_info *clock_info, s64 delta) { retur...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_regs_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef _ENA_REGS_H_ #define _ENA_REGS_H_ enum ena_regs_reset_reason_types { ENA_REGS_RESET_NORMAL = 0, ENA_REGS_RESET_KEEP_ALIVE_TO ...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_devlink' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* Copyright (c) Amazon.com, Inc. or its affiliates. * All rights reserved. */ #include "linux/pci.h" #include "ena_devlink.h" #include "ena_phc.h" static int ena_devlink_enable_phc_validate(struct devlink *devlink, u32 id, union devlink_param_value v...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_debugfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* Copyright (c) Amazon.com, Inc. or its affiliates. * All rights reserved. */ #ifndef __ENA_DEBUGFS_H__ #define __ENA_DEBUGFS_H__ #include <linux/debugfs.h> #include <linux/netdevice.h> #include "ena_netdev.h" #ifdef CONFIG_DEBUG_FS void ena_debugfs_ini...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_phc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2022 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_PHC_H #define ENA_PHC_H #include <linux/ptp_clock_kernel.h> struct ena_phc_info { /* PTP hardware capabilities */ struct ptp_clock_info clock_info; /* Reg...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_eth_com' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_ETH_COM_H_ #define ENA_ETH_COM_H_ #include "ena_com.h" /* we allow 2 DMA descriptors per LLQ entry */ #define ENA_LLQ_ENTRY_DESC_CHUNK_SIZE (2 * sizeof(struct...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_common_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef _ENA_COMMON_H_ #define _ENA_COMMON_H_ #define ENA_COMMON_SPEC_VERSION_MAJOR 2 #define ENA_COMMON_SPEC_VERSION_MINOR 0 /* ENA operates with 48-bit mem...
Linux kernel'inin 'drivers/net/ethernet/amazon/ena/ena_eth_com' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #include "ena_eth_com.h" static struct ena_eth_io_rx_cdesc_base *ena_com_get_next_rx_cdesc( struct ena_com_io_cq *io_cq) { struct ena_eth_io_rx_cdesc_base *cdesc; u16 expe...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/amazon/ena/ena_pci_id_tbl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. */ #ifndef ENA_PCI_ID_TBL_H_ #define ENA_PCI_ID_TBL_H_ #ifndef PCI_VENDOR_ID_AMAZON #define PCI_VENDOR_ID_AMAZON 0x1d0f #endif #ifndef PCI_DEV_ID_ENA_PF #define PCI_DEV_ID_E...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-net' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-desc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-hw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/synopsys/dwc-xlgmac-pci' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/synopsys/dwc-xlgmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/synopsys/dwc-xlgmac-reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and ass...
Linux kernel'inin 'drivers/net/ethernet/nxp/lpc_eth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/ethernet/nxp/lpc_eth.c * * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors * Copyright (C) 2012 Roland Stigge <stigge@antcom.de> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/clk.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/rocker/rocker_hw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * drivers/net/ethernet/rocker/rocker_hw.h - Rocker switch device driver * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> */ #ifndef _ROCKER_HW_H #define _ROCKER_HW_H #include <linux/types.h> /* ...
Linux kernel'inin 'drivers/net/ethernet/rocker/rocker_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/ethernet/rocker/rocker.c - Rocker switch device driver * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #in...
Linux kernel'inin 'drivers/net/ethernet/rocker/rocker_tlv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/ethernet/rocker/rocker_tlv.c - Rocker switch device driver * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> */ #include <linux/types.h> #include <linux/string.h> #include <linux/errno.h...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/rocker/rocker_tlv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * drivers/net/ethernet/rocker/rocker_tlv.h - Rocker switch device driver * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> */ #ifndef _ROCKER_TLV_H #define _ROCKER_TLV_H #include <linux/types.h> ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/rocker/rocker' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * drivers/net/ethernet/rocker/rocker.h - Rocker switch device driver * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> */ #ifndef _ROCKER_H #define _ROCKER_H #include <linux/kernel.h> #include <li...
Linux kernel'inin 'drivers/net/ethernet/rocker/rocker_ofdpa' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/ethernet/rocker/rocker_ofdpa.c - Rocker switch OF-DPA-like * implementation * Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com> * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com> */ #include <linux/kernel.h> #include <linux/ty...
Linux kernel'inin 'drivers/net/ethernet/ni/nixge' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2016-2017, National Instruments Corp. * * Author: Moritz Fischer <mdf@kernel.org> */ #include <linux/etherdevice.h> #include <linux/module.h> #include <linux/netdevice.h> #include <linux/of.h> #include <linux/of_mdio.h> #include <linux/of_net.h> #include <li...
Linux kernel'inin 'drivers/net/ethernet/cavium/thunder/nic_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Cavium, Inc. */ #include <linux/module.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/etherdevice.h> #include <linux/of.h> #include <linux/if_vlan.h> #include "nic_reg.h" #include "nic.h" #include "q_struct.h" #include "th...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/cavium/thunder/nic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Cavium, Inc. */ #ifndef NIC_H #define NIC_H #include <linux/netdevice.h> #include <linux/interrupt.h> #include <linux/pci.h> #include "thunder_bgx.h" /* PCI device IDs */ #define PCI_DEVICE_ID_THUNDER_NIC_PF 0xA01E #define PCI_DEVICE_ID_THUN...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/cavium/thunder/nic_reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Cavium, Inc. */ #ifndef NIC_REG_H #define NIC_REG_H #define NIC_PF_REG_COUNT 29573 #define NIC_VF_REG_COUNT 249 /* Physical function register offsets */ #define NIC_PF_CFG (0x0000) #define NIC_PF_STATUS (0x0010) #define NI...
Linux kernel'inin 'drivers/net/ethernet/cavium/thunder/nicvf_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Cavium, Inc. */ #include <linux/module.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/netdevice.h> #include <linux/if_vlan.h> #include <linux/etherdevice.h> #include <linux/ethtool.h> #include <linux/log2.h> #include <linux...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/cavium/thunder/nicvf_queues' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Cavium, Inc. */ #ifndef NICVF_QUEUES_H #define NICVF_QUEUES_H #include <linux/netdevice.h> #include <linux/iommu.h> #include <net/xdp.h> #include "q_struct.h" #define MAX_QUEUE_SET 128 #define MAX_RCV_QUEUES_PER_QS 8 #define MAX_RCV_BUF_DE...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/cavium/thunder/thunder_bgx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Cavium, Inc. */ #ifndef THUNDER_BGX_H #define THUNDER_BGX_H /* PCI device ID */ #define PCI_DEVICE_ID_THUNDER_BGX 0xA026 #define PCI_DEVICE_ID_THUNDER_RGX 0xA054 /* Subsystem device IDs */ #define PCI_SUBSYS_DEVID_88XX_BGX 0xA126 #define P...
Linux kernel'inin 'drivers/net/ethernet/cavium/thunder/nicvf_queues' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2015 Cavium, Inc. */ #include <linux/pci.h> #include <linux/netdevice.h> #include <linux/ip.h> #include <linux/etherdevice.h> #include <linux/iommu.h> #include <net/ip.h> #include <net/tso.h> #include <uapi/linux/bpf.h> #include "nic_reg.h" #include "...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/cavium/thunder/q_struct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * This file contains HW queue descriptor formats, config register * structures etc * * Copyright (C) 2015 Cavium, Inc. */ #ifndef Q_STRUCT_H #define Q_STRUCT_H /* Load transaction types for reading segment bytes specified by * NIC_SEND_GATHER_S[LD_TYPE]. */ e...