/linux-6.12.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-6.12.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-6.12.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-6.12.1/arch/arm64/boot/dts/marvell/ |
D | cn9130-cf-pro.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com> 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 #include "cn9130-sr-som.dtsi" 16 #include "cn9130-cf.dtsi" 20 compatible = "solidrun,cn9130-clearfog-pro", 21 "solidrun,cn9130-sr-som", "marvell,cn9130"; 23 gpio-keys { [all …]
|
/linux-6.12.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-6.12.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-6.12.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-6.12.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 20 #include <linux/dma-mapping.h> 83 /* "Auto Switch Debug" aka phy debug */ 111 tlp->tstamp = (unsigned int)jiffies; 112 tlp->tx_new = hp->tx_new; 113 tlp->tx_old = hp->tx_old; 114 tlp->action = a; [all …]
|
/linux-6.12.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> 80 HOST_RESET = BIT(0), /* reset controller; self-clear */ 86 HOST_CAP_SXS = BIT(5), /* Supports External SATA */ 92 HOST_CAP_FBS = BIT(16), /* FIS-based switching support */ 98 HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/bus/ |
D | qcom,ebi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm External Bus Interface 2 (EBI2) 11 external memory (such as NAND or other memory-mapped peripherals) whereas 14 As it says it connects devices to an external bus interface, meaning address 15 lines (up to 9 address lines so can only address 1KiB external memory space), 25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 32 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) [all …]
|
/linux-6.12.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-6.12.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-6.12.1/drivers/phy/mediatek/ |
D | phy-mtk-xfi-tphy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MediaTek 10GE SerDes XFI T-PHY driver 6 * Bc-bocun Chen <bc-bocun.chen@mediatek.com> 7 * based on mtk_usxgmii.c and mtk_sgmii.c found in MediaTek's SDK (GPL-2.0) 19 #include <linux/phy.h> 20 #include <linux/phy/phy.h> 22 #include "phy-mtk-io.h" 60 * struct mtk_xfi_tphy - run-time data of the XFI phy instance 61 * @base: IO memory area to access phy registers. 63 * @reset: Reset control corresponding to the phy instance. [all …]
|
/linux-6.12.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-6.12.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-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | global2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc. 21 return mv88e6xxx_read(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_read() 26 return mv88e6xxx_write(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_write() 32 return mv88e6xxx_wait_bit(chip, chip->info->global2_addr, reg, in mv88e6xxx_g2_wait_bit() 146 const u16 port_mask = BIT(mv88e6xxx_num_ports(chip)) - 1; in mv88e6xxx_g2_trunk_mapping_write() 155 const u16 port_mask = BIT(mv88e6xxx_num_ports(chip)) - 1; in mv88e6xxx_g2_trunk_clear() 212 /* Offset 0x0B: Cross-chip Port VLAN (Addr) Register 213 * Offset 0x0C: Cross-chip Port VLAN Data Register 228 /* 9-bit Cross-chip PVT pointer: with MV88E6XXX_G2_MISC_5_BIT_PORT in mv88e6xxx_g2_pvt_op() [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_top.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 31 * struct split_pipe_cfg - pipe configuration for dual display panels 56 * struct dpu_vsync_source_cfg - configure vsync source and configure the 78 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 102 * setup_clk_force_ctrl - set clock force control 105 * @enable: force on enable 106 * @return: if the clock is forced-on by this function 112 * get_danger_status - get danger status 120 * setup_vsync_source - setup vsync source configuration details [all …]
|
/linux-6.12.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-6.12.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> 27 #include <linux/phy/phy.h> 28 #include <linux/phy/phy-sun4i-usb.h> 58 /* sunxi has the phy id/vbus pins not connected, so we use the force bits */ 70 /* Private Control Bits for Each PHY */ 120 struct phy *phy; member 145 #define to_sun4i_usb_phy_data(phy) \ argument [all …]
|
/linux-6.12.1/Documentation/networking/ |
D | sfp-phylink.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 phylink is a mechanism to support hot-pluggable networking modules 11 directly connected to a MAC without needing to re-initialise the 12 adapter on hot-plug events. 14 phylink supports conventional phylib-based setups, fixed link setups 23 1. PHY mode 25 In PHY mode, we use phylib to read the current link settings from 26 the PHY, and pass them to the MAC driver. We expect the MAC driver 32 Fixed mode is the same as PHY mode as far as the MAC driver is 35 3. In-band mode [all …]
|
/linux-6.12.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-6.12.1/arch/arm/boot/dts/st/ |
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 …]
|
/linux-6.12.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> 56 #define SMSC_MDIONAME "smsc911x-mdio" 57 #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-6.12.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 …]
|