/Linux-v6.1/include/uapi/linux/ |
D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 22 #define MDIO_MMD_PHYXS 4 /* PHY Extender Sublayer */ 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 49 #define MDIO_PMA_NG_EXTABLE 21 /* 2.5G/5G PMA/PMD extended ability */ 51 #define MDIO_PHYXS_LNSTAT 24 /* PHY XGXS lane state */ 58 /* Media-dependent registers. */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | xilinx_axienet.txt | 2 -------------------------------------------------------- 5 provides connectivity to an external ethernet PHY supporting different 15 For more details about mdio please refer phy.txt file in the same directory. 18 - compatible : Must be one of "xlnx,axi-ethernet-1.00.a", 19 "xlnx,axi-ethernet-1.01.a", "xlnx,axi-ethernet-2.01.a" 20 - reg : Address and length of the IO space, as well as the address 22 axistream-connected is specified, in which case the reg 24 - interrupts : Should be a list of 2 or 3 interrupts: TX DMA, RX DMA, 25 and optionally Ethernet core. If axistream-connected is 29 - phy-handle : Should point to the external phy device if exists. Pointing [all …]
|
/Linux-v6.1/drivers/net/phy/ |
D | phy-c45.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Clause 45 PHY support 9 #include <linux/phy.h> 12 * genphy_c45_baset1_able - checks if the PMA has BASE-T1 extended abilities 19 if (phydev->pma_extable == -ENODATA) { in genphy_c45_baset1_able() 24 phydev->pma_extable = val; in genphy_c45_baset1_able() 27 return !!(phydev->pma_extable & MDIO_PMA_EXTABLE_BT1); in genphy_c45_baset1_able() 31 * genphy_c45_pma_can_sleep - checks if the PMA have sleep support 46 * genphy_c45_pma_resume - wakes up the PMA module 52 return -EOPNOTSUPP; in genphy_c45_pma_resume() [all …]
|
D | marvell10g.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Marvell 10G 88x3310 PHY driver 5 * Based upon the ID registers, this PHY appears to be a mixture of IPs 8 * There appears to be several different data paths through the PHY which 9 * are automatically managed by the PHY. The following has been determined 10 * via observation and experimentation for a setup using single-lane Serdes: 12 * SGMII PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for <= 1G) 13 * 10GBASE-KR PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for 10G) 14 * 10GBASE-KR PHYXS -- BASE-R PCS -- Fiber 18 * XAUI PHYXS -- <appropriate PCS as above> [all …]
|
D | marvell-88x2222.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Marvell 88x2222 dual-port multi-speed ethernet transceiver. 7 * 1000Base-X or 10GBase-R on the line side. 8 * SGMII over 1000Base-X. 11 #include <linux/phy.h> 39 /* 1000Base-X/SGMII Control Register */ 42 /* 1000BASE-X/SGMII Status Register */ 45 /* 1000Base-X Auto-Negotiation Advertisement Register */ 48 /* 1000Base-X PHY Specific Status Register */ 63 /* SFI PMA transmit enable */ [all …]
|
D | aquantia_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for Aquantia PHY 14 #include <linux/phy.h> 147 /* Sleep and timeout for checking if the Processor-Intensive 195 int len_l = min(stat->size, 16); in aqr107_get_stat() 196 int len_h = stat->size - len_l; in aqr107_get_stat() 200 val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg); in aqr107_get_stat() 204 ret = val & GENMASK(len_l - 1, 0); in aqr107_get_stat() 206 val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg + 1); in aqr107_get_stat() 210 ret += (val & GENMASK(len_h - 1, 0)) << 16; in aqr107_get_stat() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | samsung,ufs-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung SoC series UFS PHY 10 - Alim Akhtar <alim.akhtar@samsung.com> 13 "#phy-cells": 18 - samsung,exynos7-ufs-phy 19 - samsung,exynosautov9-ufs-phy 20 - tesla,fsd-ufs-phy [all …]
|
D | ti,phy-j721e-wiz.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: "http://devicetree.org/schemas/phy/ti,phy-j721e-wiz.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Kishon Vijay Abraham I <kishon@ti.com> 16 - ti,j721e-wiz-16g 17 - ti,j721e-wiz-10g 18 - ti,am64-wiz-10g 19 - ti,j7200-wiz-10g [all …]
|
D | cdns,dphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/cdns,dphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Pratyush Yadav <pratyush@kernel.org> 15 - cdns,dphy 16 - ti,j721e-dphy 23 - description: PMA state machine clock 24 - description: PLL reference clock 26 clock-names: [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/ |
D | qt202x_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2006-2012 Solarflare Communications Inc. 15 #include "phy.h" 27 /* Quake-specific MDIO registers */ 85 ((1 << PCS_FW_HEARTB_WIDTH) - 1)); in qt2025c_wait_heartbeat() 92 * PHY's on-board EEPROM so it cannot load firmware */ in qt2025c_wait_heartbeat() 93 netif_err(efx, hw, efx->net_dev, in qt2025c_wait_heartbeat() 97 return -ETIMEDOUT; in qt2025c_wait_heartbeat() 116 ((1 << PCS_UC_STATUS_WIDTH) - 1) << PCS_UC_STATUS_LBN) >= in qt2025c_wait_fw_status_good() 120 return -ETIMEDOUT; in qt2025c_wait_fw_status_good() [all …]
|
D | txc43128_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2006-2011 Solarflare Communications Inc. 9 * see www.transwitch.com, part is TXC-43128 16 #include "phy.h" 30 * Compile-time config 35 /* Total length of time we'll wait for the PHY to come out of reset (ms) */ 52 /* Lane power-down */ 56 * initiates a logic reset. Self-clearing */ 69 /* Lane power-down */ 108 /* Lane power-down */ [all …]
|
/Linux-v6.1/drivers/phy/rockchip/ |
D | phy-rockchip-snps-pcie3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Rockchip PCIE3.0 phy driver 16 #include <linux/phy/pcie.h> 17 #include <linux/phy/phy.h> 55 struct phy *phy; member 66 static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in rockchip_p3phy_set_mode() argument 68 struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); in rockchip_p3phy_set_mode() 73 priv->mode = PHY_MODE_PCIE_RC; in rockchip_p3phy_set_mode() 76 priv->mode = PHY_MODE_PCIE_EP; in rockchip_p3phy_set_mode() 79 dev_err(&phy->dev, "%s, invalid mode\n", __func__); in rockchip_p3phy_set_mode() [all …]
|
/Linux-v6.1/drivers/phy/cadence/ |
D | phy-cadence-sierra.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Cadence Sierra PHY Driver 10 #include <linux/clk-provider.h> 15 #include <linux/phy/phy.h> 23 #include <dt-bindings/phy/phy.h> 24 #include <dt-bindings/phy/phy-cadence.h> 29 /* PHY register offsets */ 179 /* PHY PCS common registers */ 185 /* PHY PCS lane registers */ 192 /* PHY PMA common registers */ [all …]
|
D | phy-cadence-torrent.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Cadence Torrent SD0801 PHY driver. 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/phy/phy-cadence.h> 12 #include <linux/clk-provider.h> 22 #include <linux/phy/phy.h> 64 * register offsets from DPTX PHY register block base (i.e MHDP 84 * register offsets from SD0801 PHY register block base (i.e MHDP 174 /* PMA TX Lane registers */ 195 /* PMA RX Lane registers */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/ |
D | cdns,mhdp8546.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Swapnil Jakhade <sjakhade@cadence.com> 11 - Yuti Amonkar <yamonkar@cadence.com> 16 - cdns,mhdp8546 17 - ti,j721e-mhdp8546 22 - description: 23 Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). 24 The AUX and PMA registers are not part of this range, they are instead [all …]
|
/Linux-v6.1/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (c) 2010 - 2012 Xilinx, Inc. All rights reserved. 147 #define XAE_IFGP_OFFSET 0x00000008 /* Tx Inter-frame gap adjustment*/ 157 #define XAE_PPST_OFFSET 0x00000030 /* PCS PMA Soft Temac Status Reg */ 200 /* Transmit inter-frame gap adjustment value */ 216 #define XAE_INT_PHYRSTCMPLT_MASK 0x00000100 /* Phy Reset complete */ 234 /* In-Band FCS enable (FCS not stripped) */ 250 /* In-Band FCS enable (FCS not generated) */ 254 /* Inter-frame gap adjustment enable */ 276 #define XAE_PHYC_RGMIIHD_MASK 0x00000002 /* RGMII Half-duplex */ [all …]
|
/Linux-v6.1/drivers/phy/samsung/ |
D | phy-samsung-ufs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * UFS PHY driver for Samsung SoC 18 #include <linux/phy/phy.h> 22 #include "phy-samsung-ufs.h" 24 #define for_each_phy_lane(phy, i) \ argument 25 for (i = 0; i < (phy)->lane_cnt; i++) 27 for (; (cfg)->id; (cfg)++) 31 static void samsung_ufs_phy_config(struct samsung_ufs_phy *phy, in samsung_ufs_phy_config() argument 39 writel(cfg->val, (phy)->reg_pma + cfg->off_0); in samsung_ufs_phy_config() 42 if (cfg->id == PHY_TRSV_BLK) in samsung_ufs_phy_config() [all …]
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 2 * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 62 /* PHY module I2C device address */ 68 /* PHY transceiver type */ 84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs() argument 88 for (err = 0; rv->mmd_addr && !err; rv++) { in set_phy_regs() 89 if (rv->clear_bits == 0xffff) in set_phy_regs() 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 91 rv->set_bits); in set_phy_regs() [all …]
|
/Linux-v6.1/drivers/phy/ti/ |
D | phy-am654-serdes.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018 - 2019 Texas Instruments Incorporated - http://www.ti.com/ 9 #include <dt-bindings/phy/phy.h> 11 #include <linux/clk-provider.h> 17 #include <linux/phy/phy.h> 119 /* AHB PMA Lane Configuration */ 142 /* Mid-speed initial calibration control */ 145 /* High-speed initial calibration control */ 148 /* Mid-speed recalibration control */ 151 /* High-speed recalibration control */ [all …]
|
/Linux-v6.1/drivers/net/ |
D | mdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mdio.c: Generic support for MDIO-compatible transceivers 4 * Copyright 2006-2009 Solarflare Communications Inc. 14 MODULE_DESCRIPTION("Generic support for MDIO-compatible transceivers"); 15 MODULE_AUTHOR("Copyright 2006-2009 Solarflare Communications Inc."); 19 * mdio45_probe - probe for an MDIO (clause 45) device 21 * @prtad: Expected PHY address 30 /* Assume PHY must have at least one of PMA/PMD, WIS, PCS, PHY in mdio45_probe() 34 stat2 = mdio->mdio_read(mdio->dev, prtad, mmd, MDIO_STAT2); in mdio45_probe() 40 devs1 = mdio->mdio_read(mdio->dev, prtad, mmd, MDIO_DEVS1); in mdio45_probe() [all …]
|
/Linux-v6.1/drivers/scsi/bfa/ |
D | bfa_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 34 BFA_MFG_TYPE_LIGHTNING_P0 = 902, /* Lightning mezz card - old */ 102 * All numerical fields are in big-endian format. 125 BFA_STATUS_ETIMER = 5, /* Timer expired - Retry, if persists, 129 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */ 132 BFA_STATUS_DEVBUSY = 13, /* Device busy - Retry operation */ 148 BFA_STATUS_IOC_FAILURE = 56, /* IOC failure - Retry, if persists [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/exynos/ |
D | exynos7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/exynos7-clk.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 interrupt-parent = <&gic>; 15 #address-cells = <2>; 16 #size-cells = <2>; 31 arm-pmu { 32 compatible = "arm,cortex-a57-pmu"; 37 interrupt-affinity = <&cpu_atlas0>, <&cpu_atlas1>, 43 compatible = "fixed-clock"; [all …]
|
D | exynosautov9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/samsung,exynosautov9.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/samsung,boot-mode.h> 12 #include <dt-bindings/soc/samsung,exynos-usi.h> 16 #address-cells = <2>; 17 #size-cells = <1>; 19 interrupt-parent = <&gic>; 31 arm-pmu { 32 compatible = "arm,cortex-a76-pmu"; [all …]
|
/Linux-v6.1/drivers/phy/xilinx/ |
D | phy-zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-zynqmp.c - PHY driver for Xilinx ZynqMP GT. 5 * Copyright (C) 2018-2020 Xilinx Inc. 22 #include <linux/phy/phy.h> 26 #include <dt-bindings/phy/phy.h> 32 /* TX De-emphasis parameters */ 41 /* PMA control parameters */ 171 * struct xpsgtr_ssc - structure to hold SSC settings for a lane 185 * struct xpsgtr_phy - representation of a lane 186 * @phy: pointer to the kernel PHY device [all …]
|
/Linux-v6.1/drivers/phy/microchip/ |
D | sparx5_serdes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * https://github.com/microchip-ung/sparx-5_reginfo 9 …* https://ww1.microchip.com/downloads/en/DeviceDoc/SparX-5_Family_L2L3_Enterprise_10G_Ethernet_Swi… 19 #include <linux/phy.h> 20 #include <linux/phy/phy.h> 99 u8 if_width; /* UDL if-width: 10/16/20/32/64 */ 102 bool no_pwrcycle:1; /* Omit initial power-cycle */ 241 bool no_pwrcycle:1; /* Omit initial power-cycle */ 647 switch (macro->serdesmode) { in sparx5_sd10g25_get_mode_preset() 649 if (macro->speed == SPEED_25000) in sparx5_sd10g25_get_mode_preset() [all …]
|