instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/net/phy/ste10Xp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/ste10Xp.c * * Driver for STMicroelectronics STe10Xp PHYs * * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> * * Copyright (c) 2008 STMicroelectronics Limited */ #include <linux/module.h> #include <linux/init.h> #include <linux/sched.h> #includ...
Linux kernel'inin 'drivers/net/phy/phy-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Core PHY library, taken from phy.c */ #include <linux/export.h> #include <linux/phy.h> #include <linux/phy_port.h> #include <linux/of.h> #include "phylib.h" #include "phylib-internal.h" #include "phy-caps.h" /** * phy_speed_to_str - Return a string representing the PH...
Linux kernel'inin 'drivers/net/phy/broadcom' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/broadcom.c * * Broadcom BCM5411, BCM5421 and BCM5461 Gigabit Ethernet * transceivers. * * Broadcom BCM54810, BCM54811 BroadR-Reach transceivers. * * Copyright (c) 2006 Maciej W. Rozycki * * Inspired by code written by Amy Fong. */ #include "bcm...
Linux kernel'inin 'drivers/net/phy/amd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for AMD am79c PHYs * * Author: Heiko Schocher <hs@denx.de> * * Copyright (c) 2011 DENX Software Engineering GmbH */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/module.h> #include <linux/mii.h> #include <linux/phy....
Linux kernel'inin 'drivers/net/phy/phy_package' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * PHY package support */ #include <linux/of.h> #include <linux/phy.h> #include "phylib.h" #include "phylib-internal.h" /** * struct phy_package_shared - Shared information in PHY packages * @base_addr: Base PHY address of PHY package used to combine PHYs * ...
Linux kernel'inin 'drivers/net/phy/bcm63xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for Broadcom 63xx SOCs integrated PHYs */ #include "bcm-phy-lib.h" #include <linux/module.h> #include <linux/phy.h> #define MII_BCM63XX_IR 0x1a /* interrupt register */ #define MII_BCM63XX_IR_EN 0x4000 /* global interrupt enable */ #define MII_BCM63XX_IR_DUPLEX ...
Linux kernel'inin 'drivers/net/phy/phy_port' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Framework to drive Ethernet ports * * Copyright (c) 2024 Maxime Chevallier <maxime.chevallier@bootlin.com> */ #include <linux/linkmode.h> #include <linux/of.h> #include <linux/phy_port.h> #include "phy-caps.h" /** * phy_port_alloc() - Allocate a new phy_port * * Ret...
Linux kernel'inin 'drivers/net/phy/teranetics' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for Teranetics PHY * * Author: Shaohui Xie <Shaohui.Xie@freescale.com> * * Copyright 2015 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/mii.h> #include <linux/ethtool.h> #include <linux/mdio.h> #include <l...
Linux kernel'inin 'drivers/net/phy/marvell-88q2xxx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Marvell 88Q2XXX automotive 100BASE-T1/1000BASE-T1 PHY driver * * Derived from Marvell Q222x API * * Copyright (C) 2024 Liebherr-Electronics and Drives GmbH */ #include <linux/ethtool_netlink.h> #include <linux/hwmon.h> #include <linux/marvell_phy.h> #include <linux/of...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mdio-open-alliance' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * mdio-open-alliance.h - definition of OPEN Alliance SIG standard registers */ #ifndef __MDIO_OPEN_ALLIANCE__ #define __MDIO_OPEN_ALLIANCE__ #include <linux/mdio.h> /* NOTE: all OATC14 registers are located in MDIO_MMD_VEND2 */ /* Open Alliance TC14 (10BASE-T1S) regi...
Linux kernel'inin 'drivers/net/phy/marvell-88x2222' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Marvell 88x2222 dual-port multi-speed ethernet transceiver. * * Supports: * XAUI on the host side. * 1000Base-X or 10GBase-R on the line side. * SGMII over 1000Base-X. */ #include <linux/module.h> #include <linux/phy.h> #include <linux/delay.h> #include <linux/mdio....
Linux işletim sistemi çekirdeği için 'drivers/net/phy/dp83640_reg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* dp83640_reg.h * Generated by regen.tcl on Thu Feb 17 10:02:48 AM CET 2011 */ #ifndef HAVE_DP83640_REGISTERS #define HAVE_DP83640_REGISTERS /* #define PAGE0 0x0000 */ #define PHYCR2 0x001c /* PHY Control Register 2 */ #define PAGE4 ...
Linux kernel'inin 'drivers/net/phy/bcm-phy-lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015-2017 Broadcom */ #include "bcm-phy-lib.h" #include <linux/bitfield.h> #include <linux/brcmphy.h> #include <linux/etherdevice.h> #include <linux/export.h> #include <linux/mdio.h> #include <linux/module.h> #include <linux/phy.h> #include <linux/ethtool.h...
Linux kernel'inin 'drivers/net/phy/linkmode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/linkmode.h> /** * linkmode_resolve_pause - resolve the allowable pause modes * @local_adv: local advertisement in ethtool format * @partner_adv: partner advertisement in ethtool format * @tx_pause: pointer to bool to indicate whether transmit pause should b...
Linux kernel'inin 'drivers/net/phy/dp83td510' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for the Texas Instruments DP83TD510 PHY * Copyright (c) 2022 Pengutronix, Oleksij Rempel <kernel@pengutronix.de> */ #include <linux/bitfield.h> #include <linux/ethtool_netlink.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/phy.h> #define DP8...
Linux kernel'inin 'drivers/net/phy/bcm7xxx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Broadcom BCM7xxx internal transceivers support. * * Copyright (C) 2014-2017 Broadcom */ #include <linux/module.h> #include <linux/phy.h> #include <linux/delay.h> #include "bcm-phy-lib.h" #include <linux/bitops.h> #include <linux/brcmphy.h> #include <linux/clk.h> #incl...
Linux kernel'inin 'drivers/net/phy/cicada' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/cicada.c * * Driver for Cicada PHYs * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h> ...
Linux kernel'inin 'drivers/net/phy/bcm-phy-ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2022 Meta Platforms Inc. * Copyright (C) 2022 Jonathan Lemon <jonathan.lemon@gmail.com> */ #include <linux/unaligned.h> #include <linux/mii.h> #include <linux/phy.h> #include <linux/ptp_classify.h> #include <linux/ptp_clock_kernel.h> #include <linux/net_ts...
Linux kernel'inin 'drivers/net/phy/icplus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for ICPlus PHYs * * Copyright (c) 2007 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/delay.h> #include ...
Linux kernel'inin 'drivers/net/phy/phy-c45' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Clause 45 PHY support */ #include <linux/ethtool.h> #include <linux/export.h> #include <linux/mdio.h> #include <linux/mii.h> #include <linux/phy.h> #include <linux/ethtool_netlink.h> #include "mdio-open-alliance.h" #include "phylib-internal.h" /** * genphy_c45_bas...
Linux kernel'inin 'drivers/net/phy/xilinx_gmii2rgmii' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Xilinx GMII2RGMII Converter driver * * Copyright (C) 2016 Xilinx, Inc. * Copyright (C) 2016 Andrew Lunn <andrew@lunn.ch> * * Author: Andrew Lunn <andrew@lunn.ch> * Author: Kedareswara rao Appana <appanad@xilinx.com> * * Description: * This driver is developed for Xi...
Linux kernel'inin 'drivers/net/phy/sfp-bus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/kref.h> #include <linux/list.h> #include <linux/mutex.h> #include <linux/phylink.h> #include <linux/property.h> #include <linux/rtnetlink.h> #include <linux/slab.h> #include "sfp.h" /** * struct sfp_bus - internal representation ...
Linux kernel'inin 'drivers/net/phy/phy_link_topology' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Infrastructure to handle all PHY devices connected to a given netdev, * either directly or indirectly attached. * * Copyright (c) 2023 Maxime Chevallier<maxime.chevallier@bootlin.com> */ #include <linux/phy_link_topology.h> #include <linux/phy.h> #include <linux/rtne...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/open_alliance_helpers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef OPEN_ALLIANCE_HELPERS_H #define OPEN_ALLIANCE_HELPERS_H /* * These defines reflect the TDR (Time Delay Reflection) diagnostic feature * for 1000BASE-T1 automotive Ethernet PHYs as specified by the OPEN Alliance. * * The register values are part of the HDD.TDR re...
Linux kernel'inin 'drivers/net/phy/phy_caps' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/ethtool.h> #include <linux/linkmode.h> #include <linux/phy.h> #include "phy-caps.h" static struct link_capabilities link_caps[__LINK_CAPA_MAX] __ro_after_init = { { SPEED_10, DUPLEX_HALF, {0} }, /* LINK_CAPA_10HD */ { SPEED_10, DUPLEX_FULL, {0} }, /...
Linux kernel'inin 'drivers/net/phy/microchip_t1s' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for Microchip 10BASE-T1S PHYs * * Support: Microchip Phys: * lan8670/1/2 Rev.B1/C1/C2/D0 * lan8650/1 Rev.B0/B1 Internal PHYs */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/phy.h> #define PHY_ID_LAN867X_REVB1 0x0007C162 #define PHY_I...
Linux kernel'inin 'drivers/net/phy/dp83869' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for the Texas Instruments DP83869 PHY * Copyright (C) 2019 Texas Instruments Inc. */ #include <linux/ethtool.h> #include <linux/etherdevice.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include <linux/of.h> #include <linux/phy.h> #in...
Linux kernel'inin 'drivers/net/phy/uPD60620' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for the Renesas PHY uPD60620. * * Copyright (C) 2015 Softing Industrial Automation GmbH */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/phy.h> #define UPD60620_PHY_ID 0xb8242824 /* Extended Registers and values */ /* PHY Special Cont...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/bcm-phy-lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2015 Broadcom Corporation */ #ifndef _LINUX_BCM_PHY_LIB_H #define _LINUX_BCM_PHY_LIB_H #include <linux/brcmphy.h> #include <linux/phy.h> #include <linux/interrupt.h> struct ethtool_wolinfo; /* 28nm only register definitions */ #define MISC_ADDR(base, ...
Linux kernel'inin 'drivers/net/phy/phy_led_triggers' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2016 National Instruments Corp. */ #include <linux/leds.h> #include <linux/phy.h> #include <linux/phy_led_triggers.h> #include <linux/netdevice.h> #include "phylib-internal.h" static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, ...
Linux kernel'inin 'drivers/net/phy/nxp-c45-tja11xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* NXP C45 PHY driver * Copyright 2021-2025 NXP * Author: Radu Pirea <radu-nicolae.pirea@oss.nxp.com> */ #include <linux/delay.h> #include <linux/ethtool.h> #include <linux/ethtool_netlink.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include...
Linux kernel'inin 'drivers/net/phy/adin1100' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * Driver for Analog Devices Industrial Ethernet T1L PHYs * * Copyright 2020 Analog Devices Inc. */ #include <linux/kernel.h> #include <linux/bitfield.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/module.h>...
Linux kernel'inin 'drivers/net/phy/qsemi' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/qsemi.c * * Driver for Quality Semiconductor PHYs * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux...
Linux kernel'inin 'drivers/net/phy/micrel' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/micrel.c * * Driver for Micrel PHYs * * Author: David J. Choi * * Copyright (c) 2010-2013 Micrel, Inc. * Copyright (c) 2014 Johan Hovold <johan@kernel.org> * * Support : Micrel Phys: * Giga phys: ksz9021, ksz9031, ksz9131, lan8841, lan8814 * 1...
Linux kernel'inin 'drivers/net/phy/rockchip' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/rockchip.c * * Driver for ROCKCHIP Ethernet PHYs * * Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd * * David Wu <david.wu@rock-chips.com> */ #include <linux/ethtool.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/m...
Linux kernel'inin 'drivers/net/phy/dp83867' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for the Texas Instruments DP83867 PHY * * Copyright (C) 2015 Texas Instruments Inc. */ #include <linux/ethtool.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include <linux/of.h> #include <linux/phy.h> #include <linux/delay.h> #inclu...
Linux kernel'inin 'drivers/net/phy/dp83822' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for the Texas Instruments DP83822, DP83825 and DP83826 PHYs. * * Copyright (C) 2017 Texas Instruments Inc. */ #include <linux/ethtool.h> #include <linux/etherdevice.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include <linux/of.h> ...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/phy-caps' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * link caps internal header, for link modes <-> capabilities <-> interfaces * conversions. */ #ifndef __PHY_CAPS_H #define __PHY_CAPS_H #include <linux/ethtool.h> #include <linux/phy.h> enum { LINK_CAPA_10HD = 0, LINK_CAPA_10FD, LINK_CAPA_100HD, LINK_CAP...
Linux kernel'inin 'drivers/net/phy/mdio_device' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Framework for MDIO devices, other than PHYs. * * Copyright (c) 2016 Andrew Lunn <andrew@lunn.ch> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> #include <linux/errno.h> #include <linux/gpio.h> #include <linux/gpio/consumer.h> #include <linux/ini...
Linux kernel'inin 'drivers/net/phy/dp83tc811' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for the Texas Instruments DP83TC811 PHY * * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ * */ #include <linux/ethtool.h> #include <linux/etherdevice.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/phylib-internal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * phylib-internal header */ #ifndef __PHYLIB_INTERNAL_H #define __PHYLIB_INTERNAL_H struct mdio_device; struct phy_device; extern const struct bus_type mdio_bus_type; extern const struct class mdio_bus_class; /* * phy_supported_speeds - return all speeds cu...
Linux kernel'inin 'drivers/net/phy/cortina' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2017 NXP * * CORTINA is a registered trademark of Cortina Systems, Inc. * */ #include <linux/module.h> #include <linux/phy.h> #define PHY_ID_CS4340 0x13e51002 #define VILLA_GLOBAL_CHIP_ID_LSB 0x0 #define VILLA_GLOBAL_CHIP_ID_MSB 0x1 #define VILL...
Linux kernel'inin 'drivers/net/phy/davicom' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/davicom.c * * Driver for Davicom PHYs * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h...
Linux kernel'inin 'drivers/net/phy/meson-gxl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Amlogic Meson GXL Internal PHY Driver * * Copyright (C) 2015 Amlogic, Inc. All rights reserved. * Copyright (C) 2016 BayLibre, SAS. All rights reserved. * Author: Neil Armstrong <narmstrong@baylibre.com> */ #include <linux/kernel.h> #include <linux/module.h> #include...
Linux kernel'inin 'drivers/net/phy/swphy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Software PHY emulation * * Code taken from fixed_phy.c by Russell King. * * Author: Vitaly Bordug <vbordug@ru.mvista.com> * Anton Vorontsov <avorontsov@ru.mvista.com> * * Copyright (c) 2006-2007 MontaVista Software, Inc. */ #include <linux/export.h> #inclu...
Linux kernel'inin 'drivers/net/phy/microchip_rds_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2024 Microchip Technology #include "microchip_rds_ptp.h" static int mchp_rds_phy_read_mmd(struct mchp_rds_ptp_clock *clock, u32 offset, enum mchp_rds_ptp_base base) { struct phy_device *phydev = clock->phydev; u32 addr; addr = (offset + ((base == MCHP...
Linux kernel'inin 'drivers/net/phy/sfp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/debugfs.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> #include <linux/hwmon.h> #include <linux/i2c.h> #include <linux/interrupt.h> #include <linux/jiffies.h> #include <linux/mdio/mdio-i2c.h> #include <linux/module.h> #include <linux/mutex.h> #inclu...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/phylib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * phylib header */ #ifndef __PHYLIB_H #define __PHYLIB_H struct device_node; struct phy_device; struct mii_bus; struct device_node *phy_package_get_node(struct phy_device *phydev); void *phy_package_get_priv(struct phy_device *phydev); int __phy_package_read(...
Linux kernel'inin 'drivers/net/phy/marvell10g' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Marvell 10G 88x3310 PHY driver * * Based upon the ID registers, this PHY appears to be a mixture of IPs * from two different companies. * * There appears to be several different data paths through the PHY which * are automatically managed by the PHY. The following ...
Linux kernel'inin 'drivers/net/phy/dp83640' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for the National Semiconductor DP83640 PHYTER * * Copyright (C) 2010 OMICRON electronics GmbH */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/crc32.h> #include <linux/ethtool.h> #include <linux/kernel.h> #include <linux/list.h> #include <linux/m...
Linux kernel'inin 'drivers/net/phy/vitesse' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for Vitesse PHYs * * Author: Kriston Carson */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/mii.h> #include <linux/ethtool.h> #include <linux/phy.h> #include <linux/bitfield.h> /* Vitesse Extended Page Magic Register(s) */ #define MII_VS...
Linux kernel'inin 'drivers/net/phy/nxp-cbtx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for 100BASE-TX PHY embedded into NXP SJA1110 switch * * Copyright 2022-2023 NXP */ #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include <linux/phy.h> #define PHY_ID_CBTX_SJA1110 0x001bb020 /* Registers */ #define CBTX_MODE_CTRL_S...
Linux kernel'inin 'drivers/net/phy/national' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/national.c * * Driver for National Semiconductor PHYs * * Author: Stuart Menefy <stuart.menefy@st.com> * Maintainer: Giuseppe Cavallaro <peppe.cavallaro@st.com> * * Copyright (c) 2008 STMicroelectronics Limited */ #define pr_fmt(fmt) KBUILD_MODNAM...
Linux kernel'inin 'drivers/net/phy/adin' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Driver for Analog Devices Industrial Ethernet PHYs * * Copyright 2019 Analog Devices Inc. */ #include <linux/kernel.h> #include <linux/bitfield.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/ethtool_netlink.h> #include <linux/init.h> #include <li...
Linux kernel'inin 'drivers/net/phy/dp83tg720' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Driver for the Texas Instruments DP83TG720 PHY * Copyright (c) 2023 Pengutronix, Oleksij Rempel <kernel@pengutronix.de> */ #include <linux/bitfield.h> #include <linux/ethtool_netlink.h> #include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/module.h> #include ...
Linux kernel'inin 'drivers/net/phy/dp83848' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for the Texas Instruments DP83848 PHY * * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ */ #include <linux/module.h> #include <linux/phy.h> #define TI_DP83848C_PHY_ID 0x20005ca0 #define TI_DP83620_PHY_ID 0x20005ce0 #define NS_DP8...
Linux kernel'inin 'drivers/net/phy/bcm84881' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Broadcom BCM84881 NBASE-T PHY driver, as found on a SFP+ module. // Copyright (C) 2019 Russell King, Deep Blue Solutions Ltd. // // Like the Marvell 88x3310, the Broadcom 84881 changes its host-side // interface according to the operating speed between 10GBASE-R, // 2500BASE-...
Linux kernel'inin 'drivers/net/phy/smsc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/smsc.c * * Driver for SMSC PHYs * * Author: Herbert Valerio Riedel * * Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org> * * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@shawell.net * */ #include <linux/clk.h> #include <...
Linux kernel'inin 'drivers/net/phy/mdio_devres' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/device.h> #include <linux/of_mdio.h> #include <linux/phy.h> #include <linux/stddef.h> struct mdiobus_devres { struct mii_bus *mii; }; static void devm_mdiobus_free(struct device *dev, void *this) { struct mdiobus_devres *dr = this; mdiobus_free(dr...
Linux kernel'inin 'drivers/net/phy/et1011c' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/et1011c.c * * Driver for LSI ET1011C PHYs * * Author: Chaithrika U S * * Copyright (c) 2008 Texas Instruments */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h> #inc...
Linux kernel'inin 'drivers/net/phy/mdio_bus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* MDIO Bus interface * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/device.h> #include <linux/errno.h> #include <linux/ethtool.h> #include <linux/init.h> #include <linux/io.h> ...
Linux kernel'inin 'drivers/net/phy/lxt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/lxt.c * * Driver for Intel LXT PHYs * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/unistd.h> #include <linux/interrupt.h> ...
Linux kernel'inin 'drivers/net/phy/stubs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * Stubs for PHY library functionality called by the core network stack. * These are necessary because CONFIG_PHYLIB can be a module, and built-in * code cannot directly call symbols exported by modules. */ #include <linux/phylib_stubs.h> const struct phylib_stubs *phyli...
Linux kernel'inin 'drivers/net/phy/microchip_t1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2018 Microchip Technology #include <linux/kernel.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/mii.h> #include <linux/phy.h> #include <linux/sort.h> #include <linux/ethtool.h> #include <linux/ethtool_netlink.h> #include <linux/bitfield.h...
Linux kernel'inin 'drivers/net/phy/mii_timestamper' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // // Support for generic time stamping devices on MII buses. // Copyright (C) 2018 Richard Cochran <richardcochran@gmail.com> // #include <linux/mii_timestamper.h> static LIST_HEAD(mii_timestamping_devices); static DEFINE_MUTEX(tstamping_devices_lock); struct mii_timestampin...
Linux kernel'inin 'drivers/net/phy/nxp-tja11xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* NXP TJA1100 BroadRReach PHY driver * * Copyright (C) 2018 Marek Vasut <marex@denx.de> */ #include <linux/delay.h> #include <linux/ethtool.h> #include <linux/ethtool_netlink.h> #include <linux/kernel.h> #include <linux/mdio.h> #include <linux/mii.h> #include <linux/module.h...
Linux kernel'inin 'drivers/net/phy/phy' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Framework for configuring and reading PHY devices * Based on code in sungem_phy.c and gianfar_phy.c * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2006, 2007 Maciej W. Rozycki */ #include <linux/kernel.h> #include <linu...
Linux kernel'inin 'drivers/net/phy/nxp-c45-tja11xx-macsec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* NXP C45 PTP PHY driver interface * Copyright 2023 NXP * Author: Radu Pirea <radu-nicolae.pirea@oss.nxp.com> */ #include <linux/delay.h> #include <linux/ethtool_netlink.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h> #include <linux/phy.h> #in...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/swphy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef SWPHY_H #define SWPHY_H struct fixed_phy_status; int swphy_validate_state(const struct fixed_phy_status *state); int swphy_read_reg(int reg, const struct fixed_phy_status *state); #endif ```
Linux kernel'inin 'drivers/net/phy/bcm-cygnus' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015 Broadcom Corporation */ /* Broadcom Cygnus SoC internal transceivers support. */ #include "bcm-phy-lib.h" #include <linux/brcmphy.h> #include <linux/module.h> #include <linux/netdevice.h> #include <linux/phy.h> struct bcm_omega_phy_priv { u64 *stats;...
Linux kernel'inin 'drivers/net/phy/phy_device' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* Framework for finding and configuring PHYs. * Also contains generic PHY driver * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/acpi.h> #include <linux/bitmap.h> #include <lin...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mediatek/mtk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 * * Common definition for Mediatek Ethernet PHYs * Author: SkyLake Huang <SkyLake.Huang@mediatek.com> * Copyright (c) 2024 MediaTek Inc. */ #ifndef _MTK_EPHY_H_ #define _MTK_EPHY_H_ #define MTK_PHY_AUX_CTRL_AND_STATUS 0x14 #define MTK_PHY_ENABLE_DOWNSHIFT BIT(4) #def...
Linux kernel'inin 'drivers/net/phy/mediatek/mtk-ge-soc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/bitfield.h> #include <linux/bitmap.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/nvmem-consumer.h> #include <linux/pinctrl/consumer.h> #include <linux/phy.h> #include <linux/regmap.h> #include <linux/of.h> #include "../phylib.h" #in...
Linux kernel'inin 'drivers/net/phy/mediatek/mtk-phy-lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/phy.h> #include <linux/module.h> #include <linux/netdevice.h> #include "mtk.h" /* Difference between functions with mtk_tr* and __mtk_tr* prefixes is * mtk_tr* functions: wrapped by page switching operations * __mtk_tr* functions: no page switching operation...
Linux kernel'inin 'drivers/net/phy/mediatek/mtk-ge' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/bitfield.h> #include <linux/module.h> #include <linux/phy.h> #include "mtk.h" #define MTK_GPHY_ID_MT7530 0x03a29412 #define MTK_GPHY_ID_MT7531 0x03a29441 #define MTK_PHY_PAGE_EXTENDED_2 0x0002 #define MTK_PHY_PAGE_EXTENDED_3 0x0003 #define MTK_PHY_RG_LP...
Linux kernel'inin 'drivers/net/phy/mediatek/mtk-2p5ge' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/bitfield.h> #include <linux/firmware.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/pinctrl/consumer.h> #include <linux/phy.h> #include "mtk.h" #define MTK_2P5GPHY_ID_MT7988 0x00339c11 #define MT7988...
Linux kernel'inin 'drivers/net/phy/aquantia/aquantia_hwmon' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* HWMON driver for Aquantia PHY * * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com> * Author: Andrew Lunn <andrew@lunn.ch> * Author: Heiner Kallweit <hkallweit1@gmail.com> */ #include <linux/phy.h> #include <linux/device.h> #include <linux/ctype.h> #include <l...
Linux kernel'inin 'drivers/net/phy/aquantia/aquantia_leds' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* LED driver for Aquantia PHY * * Author: Daniel Golle <daniel@makrotopia.org> */ #include <linux/phy.h> #include "aquantia.h" int aqr_phy_led_brightness_set(struct phy_device *phydev, u8 index, enum led_brightness value) { if (index >= AQR_MAX_LEDS) return -...
Linux kernel'inin 'drivers/net/phy/aquantia/aquantia_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for Aquantia PHY * * Author: Shaohui Xie <Shaohui.Xie@freescale.com> * * Copyright 2015 Freescale Semiconductor, Inc. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/bitfield.h> #include <linux/of.h> #include <li...
Linux kernel'inin 'drivers/net/phy/aquantia/aquantia_firmware' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/bitfield.h> #include <linux/of.h> #include <linux/firmware.h> #include <linux/crc-itu-t.h> #include <linux/nvmem-consumer.h> #include <linux/unaligned.h> #include "aquantia.h" #define UP_RESET_SLEEP 100 /* addresses of memory segments in the phy */ #define ...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/aquantia/aquantia' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* HWMON driver for Aquantia PHY * * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com> * Author: Andrew Lunn <andrew@lunn.ch> * Author: Heiner Kallweit <hkallweit1@gmail.com> */ #ifndef AQUANTIA_H #define AQUANTIA_H #include <linux/device.h> #include <linux/p...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/realtek/realtek' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef REALTEK_H #define REALTEK_H #include <linux/phy.h> int rtl822x_hwmon_init(struct phy_device *phydev); #endif /* REALTEK_H */ ```
Linux kernel'inin 'drivers/net/phy/realtek/realtek_hwmon' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * HWMON support for Realtek PHY's * * Author: Heiner Kallweit <hkallweit1@gmail.com> */ #include <linux/hwmon.h> #include <linux/phy.h> #include "realtek.h" #define RTL822X_VND2_TSALRM 0xa662 #define RTL822X_VND2_TSRR 0xbd84 #define RTL822X_VND2_TSSR 0xb54c ...
Linux kernel'inin 'drivers/net/phy/realtek/realtek_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* drivers/net/phy/realtek.c * * Driver for Realtek PHYs * * Author: Johnson Leung <r58129@freescale.com> * * Copyright (c) 2004 Freescale Semiconductor, Inc. */ #include <linux/bitops.h> #include <linux/ethtool_netlink.h> #include <linux/of.h> #include <linux/phy.h> #in...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (c) 2016 Microsemi Corporation */ #ifndef _MSCC_PHY_H_ #define _MSCC_PHY_H_ #if IS_ENABLED(CONFIG_MACSEC) #include "mscc_macsec.h" #endif enum rgmii_clock_delay { RGMII_CLK_DELAY_0_2_NS = 0, RGMII_CLK_DELA...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc_serdes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (c) 2021 Microsemi Corporation */ #ifndef _MSCC_SERDES_PHY_H_ #define _MSCC_SERDES_PHY_H_ #define PHY_S6G_PLL5G_CFG2_GAIN_MASK GENMASK(9, 5) #define PHY_S6G_PLL5G_CFG2_ENA_GAIN 1 #define PHY_S6G_D...
Linux kernel'inin 'drivers/net/phy/mscc/mscc_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Driver for Microsemi VSC85xx PHYs - timestamping and PHC support * * Authors: Quentin Schulz & Antoine Tenart * License: Dual MIT/GPL * Copyright (c) 2020 Microsemi Corporation */ #include <linux/gpio/consumer.h> #include <linux/ip.h> #include <linux/net_tst...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc_ptp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (c) 2020 Microsemi Corporation */ #ifndef _MSCC_PHY_PTP_H_ #define _MSCC_PHY_PTP_H_ /* 1588 page Registers */ #define MSCC_PHY_TS_BIU_ADDR_CNTL 16 #define BIU_ADDR_EXE 0x8000 #define BIU_ADDR_READ 0...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc_macsec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (c) 2020 Microsemi Corporation */ #ifndef _MSCC_PHY_MACSEC_H_ #define _MSCC_PHY_MACSEC_H_ #include <net/macsec.h> #define MSCC_MS_MAX_FLOWS 16 #define CONTROL_TYPE_EGRESS 0x6 #define CONTROL_TYPE_INGRESS ...
Linux kernel'inin 'drivers/net/phy/mscc/mscc_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Driver for Microsemi VSC85xx PHYs * * Author: Nagaraju Lakkaraju * License: Dual MIT/GPL * Copyright (c) 2016 Microsemi Corporation */ #include <linux/firmware.h> #include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc_fc_buffer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (C) 2020 Microsemi Corporation */ #ifndef _MSCC_PHY_FC_BUFFER_H_ #define _MSCC_PHY_FC_BUFFER_H_ #define MSCC_FCBUF_ENA_CFG 0x00 #define MSCC_FCBUF_MODE_CFG 0x01 #define MSCC_FCBUF_PPM_RATE_ADAPT_THRES...
Linux kernel'inin 'drivers/net/phy/mscc/mscc_macsec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Driver for Microsemi VSC85xx PHYs - MACsec support * * Author: Antoine Tenart * License: Dual MIT/GPL * Copyright (c) 2020 Microsemi Corporation */ #include <linux/phy.h> #include <dt-bindings/net/mscc-phy-vsc8531.h> #include <crypto/aes.h> #include <net/m...
Linux kernel'inin 'drivers/net/phy/mscc/mscc_serdes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Driver for Microsemi VSC85xx PHYs * * Author: Bjarni Jonasson <bjarni.jonassoni@microchip.com> * License: Dual MIT/GPL * Copyright (c) 2021 Microsemi Corporation */ #include <linux/phy.h> #include "mscc_serdes.h" #include "mscc.h" static int pll5g_detune(st...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/mscc/mscc_mac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /* * Driver for Microsemi VSC85xx PHYs * * Copyright (c) 2020 Microsemi Corporation */ #ifndef _MSCC_PHY_LINE_MAC_H_ #define _MSCC_PHY_LINE_MAC_H_ #define MSCC_MAC_CFG_ENA_CFG 0x00 #define MSCC_MAC_CFG_MODE_CFG 0x01 #define MSCC_MAC_CFG_MAXLEN_CFG 0...
Linux kernel'inin 'drivers/net/phy/qcom/qcom-phy-lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/phy.h> #include <linux/module.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/ethtool_netlink.h> #include "qcom.h" MODULE_DESCRIPTION("Qualcomm PHY driver Common Functions"); MODULE_AUTHOR("Matus Ujhelyi"); MODULE_AUTHOR("Christ...
Linux işletim sistemi çekirdeği için 'drivers/net/phy/qcom/qcom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define AT803X_SPECIFIC_FUNCTION_CONTROL 0x10 #define AT803X_SFC_ASSERT_CRS BIT(11) #define AT803X_SFC_FORCE_LINK BIT(10) #define AT803X_SFC_MDI_CROSSOVER_MODE_M GENMASK(6, 5) #define AT803X_SFC_AUTOMATIC_CROSSOVER 0x3 #define AT803X_SFC_MANUAL_MDIX 0x1 #define AT803...
Linux kernel'inin 'drivers/net/phy/qcom/qca808x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/phy.h> #include <linux/module.h> #include "qcom.h" /* ADC threshold */ #define QCA808X_PHY_DEBUG_ADC_THRESHOLD 0x2c80 #define QCA808X_ADC_THRESHOLD_MASK GENMASK(7, 0) #define QCA808X_ADC_THRESHOLD_80MV 0 #define QCA808X_ADC_THRESHOLD_100MV 0xf0 #define QC...
Linux kernel'inin 'drivers/net/phy/qcom/at803x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ /* * drivers/net/phy/at803x.c * * Driver for Qualcomm Atheros AR803x PHY * * Author: Matus Ujhelyi <ujhelyi.m@gmail.com> */ #include <linux/phy.h> #include <linux/module.h> #include <linux/string.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <li...
Linux kernel'inin 'drivers/net/phy/qcom/qca807x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2023 Sartura Ltd. * * Author: Robert Marko <robert.marko@sartura.hr> * Christian Marangi <ansuelsmth@gmail.com> * * Qualcomm QCA8072 and QCA8075 PHY driver */ #include <linux/module.h> #include <linux/of.h> #include <linux/phy.h> #incl...
Linux kernel'inin 'drivers/net/phy/qcom/qca83xx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0+ #include <linux/phy.h> #include <linux/module.h> #include "qcom.h" #define AT803X_DEBUG_REG_3C 0x3C #define AT803X_DEBUG_REG_GREEN 0x3D #define AT803X_DEBUG_GATE_CLK_IN1000 BIT(6) #define MDIO_AZ_DEBUG 0x800D #define QCA8327_A_PHY_ID 0x004dd033 #define QCA8327...