/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | smsc,lan9115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: ethernet-controller.yaml# 18 - const: smsc,lan9115 19 - items: 20 - enum: 21 - smsc,lan89218 [all …]
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/davicom/ |
D | dm9000.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Ben Dooks <ben@simtec.co.uk> <ben-linux@fluff.org> 13 ------------ 15 This file describes how to use the DM9000 platform-device based network driver 25 ---------------------------- 37 An example from arch/arm/mach-s3c/mach-bast.c is:: 91 ------------- 94 device, whether or not an external PHY is attached to the device and 95 the availability of an external configuration EEPROM. 113 The chip is connected to an external PHY. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | phy-miphy28lp.txt | 1 STMicroelectronics STi MIPHY28LP PHY binding 4 This binding describes a miphy device that is used to control PHY hardware 8 - compatible : Should be "st,miphy28lp-phy". 9 - st,syscfg : Should be a phandle of the system configuration register group 12 Required nodes : A sub-node is required for each channel the controller 14 'reg' and 'reg-names' properties are used inside these 19 - #phy-cells : Should be 1 (See second example) 21 - PHY_TYPE_SATA 22 - PHY_TYPE_PCI 23 - PHY_TYPE_USB3 [all …]
|
/Linux-v6.1/drivers/net/ethernet/davicom/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 bool "Force simple NSR based PHY polling" 36 costly MII PHY reads. Note, this will not work if the chip is 37 operating with an external PHY.
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x() 18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x() local 19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x() 24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x() 25 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x() 27 link->addr = IXGBE_CS4227; in ixgbe_get_invariants_X550_x() 34 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x_fw() local 39 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x_fw() [all …]
|
/Linux-v6.1/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_dev_enet.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* or fill phy info to use an external one */ 26 /* if has_phy, use autonegotiated pause parameters or force 68 #define ENETSW_PORTS_6328 5 /* 4 FE PHY + 1 RGMII */ 69 #define ENETSW_PORTS_6368 6 /* 4 FE PHY + 2 RGMII */
|
/Linux-v6.1/drivers/net/ethernet/sun/ |
D | sunhme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */ 39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */ 40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */ 42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */ 46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */ 47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */ 48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */ 49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */ 50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */ [all …]
|
D | sunhme.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * 2000/11/11 Willy Tarreau <willy AT meta-x.org> 11 * - port to non-sparc architectures. Tested only on x86 and 13 * - ability to specify the MAC address at module load time by passing this 38 #include <linux/dma-mapping.h> 86 /* "Auto Switch Debug" aka phy debug */ 114 tlp->tstamp = (unsigned int)jiffies; 115 tlp->tx_new = hp->tx_new; 116 tlp->tx_old = hp->tx_old; 117 tlp->action = a; [all …]
|
/Linux-v6.1/drivers/ata/ |
D | ahci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * ahci.h - Common AHCI SATA definitions and declarations 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2004-2005 Red Hat, Inc. 12 * as Documentation/driver-api/libata.rst 25 #include <linux/phy/phy.h> 79 HOST_RESET = (1 << 0), /* reset controller; self-clear */ 85 HOST_CAP_SXS = (1 << 5), /* Supports External SATA */ 91 HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */ 97 HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */ [all …]
|
/Linux-v6.1/drivers/net/dsa/realtek/ |
D | rtl8365mb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Realtek SMI subdriver for the Realtek RTL8365MB-VC ethernet switch. 4 * Copyright (C) 2021 Alvin Šipraga <alsi@bang-olufsen.dk> 5 * Copyright (C) 2021 Michael Rasmussen <mir@bang-olufsen.dk> 7 * The RTL8365MB-VC is a 4+1 port 10/100/1000M switch controller. It includes 4 9 * can be connected to the CPU - or another PHY - via either MII, RMII, or 15 * .-----------------------------------. 17 * UTP <---------------> Giga PHY <-> PCS <-> P0 GMAC | 18 * UTP <---------------> Giga PHY <-> PCS <-> P1 GMAC | 19 * UTP <---------------> Giga PHY <-> PCS <-> P2 GMAC | [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/igb/ |
D | e1000_defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 62 /* Interrupt acknowledge Auto-mask */ 118 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 119 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 123 #define E1000_MANC_BLK_PHY_RST_ON_IDE 0x00040000 /* Block phy resets */ 184 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 185 #define E1000_CTRL_SLU 0x00000040 /* Set link up (Force Link) */ 186 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */ 188 #define E1000_CTRL_SPD_100 0x00000100 /* Force 100Mb */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/ |
D | exynos-srom.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/exynos-srom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 The SROM controller can be used to attach external peripherals. In this case 19 - const: samsung,exynos4210-srom 24 "#address-cells": 27 "#size-cells": 35 <bank-number> 0 <parent address of bank> <size> [all …]
|
/Linux-v6.1/drivers/phy/ |
D | phy-xgene.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AppliedMicro X-Gene Multi-purpose PHY driver 10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. 12 * PLL clock macro is used to generate the clock for the PHY. This driver 13 * configures the first PLL CMU, the second PLL CMU, and programs the PHY to 19 * ----------------- 20 * | Internal | |------| 21 * | Ref PLL CMU |----| | ------------- --------- 22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes| 23 * | | | | --------- [all …]
|
/Linux-v6.1/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun4i USB phy driver 5 * Copyright (C) 2014-2015 Hans de Goede <hdegoede@redhat.com> 18 #include <linux/extcon-provider.h> 29 #include <linux/phy/phy.h> 30 #include <linux/phy/phy-sun4i-usb.h> 60 /* sunxi has the phy id/vbus pins not connected, so we use the force bits */ 72 /* Private Control Bits for Each PHY */ 132 struct phy *phy; member 157 #define to_sun4i_usb_phy_data(phy) \ argument [all …]
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1 /* Copyright 2008-2013 Broadcom Corporation 8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL"). 32 typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy, 43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 205 (_phy)->def_md_devad, \ 211 (_phy)->def_md_devad, \ 217 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, 239 * bnx2x_check_lfa - This function checks if link reinitialization is required, 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/ |
D | defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 17 #define E1000_WUC_PHY_WAKE 0x00000100 /* if PHY supports wakeup */ 37 #define E1000_CTRL_EXT_FORCE_SMBUS 0x00000800 /* Force SMBus mode */ 46 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */ 100 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 101 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 104 #define E1000_MANC_BLK_PHY_RST_ON_IDE 0x00040000 /* Block phy resets */ 183 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 184 #define E1000_CTRL_SLU 0x00000040 /* Set link up (Force Link) */ [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 /dts-v1/; 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 17 model = "Linux Automation MC-1 board"; 18 compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 28 compatible = "pwm-backlight"; [all …]
|
D | rk3288-evb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/pwm/pwm.h> 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 1>; 16 io-channel-names = "buttons"; 17 keyup-threshold-microvolt = <1800000>; 19 button-up { 22 press-threshold-microvolt = <100000>; [all …]
|
/Linux-v6.1/drivers/usb/dwc2/ |
D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core.c - DesignWare HS OTG Controller common routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 18 #include <linux/dma-mapping.h> 31 * dwc2_backup_global_registers() - Backup global controller registers. 41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers() 44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() 48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers() [all …]
|
D | core.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * core.h - DesignWare HS OTG Controller common declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 12 #include <linux/phy/phy.h> 16 #include <linux/usb/phy.h> 21 * - no_printk: Disable tracing 22 * - pr_info: Print this info to the console 23 * - trace_printk: Print this info to trace buffer (good for verbose logging) 32 dev_name(hsotg->dev), ##__VA_ARGS__) 37 dev_name(hsotg->dev), ##__VA_ARGS__) [all …]
|
/Linux-v6.1/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2004-2008 SMSC 5 * Copyright (C) 2005-2008 ARM 42 #include <linux/phy.h> 57 #define SMSC_MDIONAME "smsc911x-mdio" 58 #define SMSC_DRV_VERSION "2008-10-21" 146 #define __smsc_shift(pdata, reg) ((reg) << ((pdata)->config.shift)) 150 if (pdata->config.flags & SMSC911X_USE_32BIT) in __smsc911x_reg_read() 151 return readl(pdata->ioaddr + reg); in __smsc911x_reg_read() 153 if (pdata->config.flags & SMSC911X_USE_16BIT) in __smsc911x_reg_read() [all …]
|
/Linux-v6.1/drivers/net/fddi/skfp/ |
D | pcmplc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * The following external SMT functions are referenced : 26 * The following external HW dependent functions are referenced : 67 #define GO_STATE(x) (mib->fddiPORTPCMState = (x)|AFLAG) 68 #define ACTIONS_DONE() (mib->fddiPORTPCMState &= ~AFLAG) 109 * PCL-S control register 110 * this register in the PLC-S controls the scrambling parameters 121 * PCL-S control register 122 * this register in the PLC-S controls the scrambling parameters 133 * external vars [all …]
|
/Linux-v6.1/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 DAVICOM Web-Site: www.davicom.com.tw 10 Author: Sten Wang, 886-3-5798797-8517, E-mail: sten_wang@davicom.com.tw 13 (C)Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved. 22 Removed IRQ 0-15 assumption 69 #include <linux/dma-mapping.h> 91 /* Board/System/Debug information/definition ---------------- */ 102 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */ 103 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */ 140 #define DMFE_TX_TIMEOUT ((3*HZ)/2) /* tx packet time-out time 1.5 s" */ [all …]
|
/Linux-v6.1/include/linux/ssb/ |
D | ssb_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define SSB_EXTIF_BASE 0x1f000000U /* External Interface region base address */ 33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE) 97 #define SSB_INTVEC_EXTIF 0x00000020 /* Enable interrupts for external i/f */ 104 #define SSB_TMSLOW_FGC 0x00020000 /* Force Gated Clocks On */ 108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */ 168 * in two-byte quantities. 192 #define SSB_SPROM1_ETHPHY 0x005A /* Ethernet PHY settings */ 202 #define SSB_SPROM1_BINF_ANTBG 0x3000 /* Available B-PHY and G-PHY antennas */ 204 #define SSB_SPROM1_BINF_ANTA 0xC000 /* Available A-PHY antennas */ [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 104 /* PHY status info structure and supporting enums */ 280 /* PHY */ 425 /* MAC decode size is 128K - This is the size of BAR0 */ 446 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) 489 * E1000_RAR_ENTRIES - 1 multicast addresses. 506 /* Receive Descriptor - Extended */ 532 /* Receive Descriptor - Packet Split */ 556 __le16 length[3]; /* length of buffers 1-3 */ [all …]
|