| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | phy.txt | 5 - interrupts : interrupt specifier for the sole interrupt. 6 - reg : The ID number for the phy, usually a small integer 10 - compatible: Compatible list, may contain 11 "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for 18 form: "ethernet-phy-idAAAA.BBBB" where 19 AAAA - The value of the 16 bit Phy Identifier 1 register as 21 BBBB - The value of the 16 bit Phy Identifier 2 register as 28 - max-speed: Maximum PHY supported speed (10, 100, 1000...) 30 - broken-turn-around: If set, indicates the PHY device does not correctly 33 - enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | ethernet-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 14 # The dt-schema tools will generate a select statement first by using 21 pattern: "^ethernet-phy(@[a-f0-9]+)?$" 24 - $nodename [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | fsl-ls1028a-kontron-sl28-var2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 16 model = "Kontron SMARC-sAL28 (TSN-on-module)"; 17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a"; 21 phy0: ethernet-phy@5 { 23 eee-broken-1000t; 24 eee-broken-100tx; 27 phy1: ethernet-phy@4 { [all …]
|
| D | fsl-ls1028a-kontron-sl28-var4.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 14 #include <dt-bindings/net/qca-ar803x.h> 17 model = "Kontron SMARC-sAL28 (Dual PHY)"; 18 compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a"; 22 phy-handle = <&phy1>; 23 phy-connection-type = "rgmii-id"; 27 #address-cells = <1>; [all …]
|
| D | fsl-ls1028a-kontron-sl28.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 9 /dts-v1/; 10 #include "fsl-ls1028a.dtsi" 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 16 model = "Kontron SMARC-sAL28"; 29 compatible = "gpio-keys"; 31 power-button { [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 25 return "100Mbps"; in phy_speed_to_str() 47 return "100Gbps"; in phy_speed_to_str() 55 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 61 * phy_duplex_to_str - Return string describing the duplex 73 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 79 * - iow, descending speed. */ 107 /* 100G */ 169 /* 100M */ [all …]
|
| D | phylink.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * technologies such as SFP cages where the PHY is hot-pluggable. 38 * struct phylink - internal data type for phylink 55 u8 link_port; /* The current non-phy ethtool port */ 84 if ((pl)->config->type == PHYLINK_NETDEV) \ 85 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ 86 else if ((pl)->config->type == PHYLINK_DEV) \ 87 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ 99 if ((pl)->config->type == PHYLINK_NETDEV) \ 100 netdev_dbg((pl)->netdev, fmt, ##__VA_ARGS__); \ [all …]
|
| D | phy_device.c | 1 // SPDX-License-Identifier: GPL-2.0+ 125 /* 10/100 half/full*/ in features_init() 133 /* 100 full, TP */ in features_init() 138 /* 10/100 half/full + 1000 half/full */ in features_init() 149 /* 10/100 half/full + 1000 half/full + fibre*/ in features_init() 163 /* 10/100 half/full + 1000 half/full + TP/MII/FIBRE/AUI/BNC/Backplane*/ in features_init() 174 /* 10/100 half/full + 1000 half/full + 10G full*/ in features_init() 188 /* 10/100/1000/10G full */ in features_init() 203 put_device(&phydev->mdio.dev); in phy_device_free() 235 struct device_driver *drv = phydev->mdio.dev.driver; in mdio_bus_phy_may_suspend() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxl-s905d-p230.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxl-s905d.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
| D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
| /kernel/linux/linux-4.19/drivers/net/phy/ |
| D | phy_device.c | 47 put_device(&phydev->mdio.dev); in phy_device_free() 81 struct device_driver *drv = phydev->mdio.dev.driver; in mdio_bus_phy_may_suspend() 83 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend() 85 if (!drv || !phydrv->suspend) in mdio_bus_phy_may_suspend() 89 * suspended as part of a prior call to phy_disconnect() -> in mdio_bus_phy_may_suspend() 90 * phy_detach() -> phy_suspend() because the parent netdev might be the in mdio_bus_phy_may_suspend() 96 if (netdev->wol_enabled) in mdio_bus_phy_may_suspend() 104 if (netdev->dev.parent && device_may_wakeup(netdev->dev.parent)) in mdio_bus_phy_may_suspend() 111 if (device_may_wakeup(&netdev->dev)) in mdio_bus_phy_may_suspend() 115 return !phydev->suspended; in mdio_bus_phy_may_suspend() [all …]
|
| D | phylink.c | 3 * technologies such as SFP cages where the PHY is hot-pluggable. 41 * struct phylink - internal data type for phylink 52 u8 link_port; /* The current non-phy ethtool port */ 103 * phylink_set_port_modes() - set the port type modes in the ethtool mask 148 pl->ops->validate(pl->netdev, supported, state); in phylink_validate() 150 return phylink_is_empty_linkmode(supported) ? -EINVAL : 0; in phylink_validate() 162 fixed_node = fwnode_get_named_child_node(fwnode, "fixed-link"); in phylink_parse_fixedlink() 166 pl->link_config.speed = speed; in phylink_parse_fixedlink() 167 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink() 169 if (fwnode_property_read_bool(fixed_node, "full-duplex")) in phylink_parse_fixedlink() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | am335x-baltos.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 20 cpu0-supply = <&vdd1_reg>; 30 compatible = "regulator-fixed"; 31 regulator-name = "vbat"; 32 regulator-min-microvolt = <5000000>; 33 regulator-max-microvolt = <5000000>; 34 regulator-boot-on; [all …]
|
| D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | am335x-baltos.dtsi | 2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 15 #include <dt-bindings/pwm/pwm.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 23 cpu0-supply = <&vdd1_reg>; 33 compatible = "regulator-fixed"; 34 regulator-name = "vbat"; 35 regulator-min-microvolt = <5000000>; 36 regulator-max-microvolt = <5000000>; 37 regulator-boot-on; 41 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_main.c | 2 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 5 Copyright(C) 2007-2011 STMicroelectronics Ltd 39 #include <linux/dma-mapping.h> 58 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 66 static int debug = -1; 68 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 70 static int phyaddr = -1; 104 MODULE_PARM_DESC(eee_timer, "LPI tx expiration time in msec"); 107 /* By default the driver will use the ring mode to manage tx and rx descriptors, 124 * stmmac_verify_args - verify the driver parameters. [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/samsung/sxgbe/ |
| D | sxgbe_main.c | 17 #include <linux/dma-mapping.h> 57 static int debug = -1; 76 * sxgbe_verify_args - verify the driver parameters. 89 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode() 90 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode() 95 /* Exit and disable EEE in case of we are are in LPI state. */ in sxgbe_disable_eee_mode() 96 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode() 97 del_timer_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode() 98 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode() 113 mod_timer(&priv->eee_ctrl_timer, SXGBE_LPI_TIMER(eee_timer)); in sxgbe_eee_ctrl_timer() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
| D | sxgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 54 static int debug = -1; 73 * sxgbe_verify_args - verify the driver parameters. 86 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode() 87 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode() 92 /* Exit and disable EEE in case of we are are in LPI state. */ in sxgbe_disable_eee_mode() 93 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode() 94 del_timer_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode() 95 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
| D | mvneta.c | 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 151 #define MVNETA_TX_INTR_MASK(nr_txqs) (((1 << nr_txqs) - 1) << 0) 153 #define MVNETA_RX_INTR_MASK(nr_rxqs) (((1 << nr_rxqs) - 1) << 8) 264 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 271 #define MVNETA_RX_COAL_USEC 100 307 /* Max number of Tx descriptors */ 311 #define MVNETA_MAX_TSO_SEGS 100 333 #define MVNETA_MAX_RX_BUF_SIZE (PAGE_SIZE - MVNETA_SKB_PAD) 336 ((addr >= txq->tso_hdrs_phys) && \ 337 (addr < txq->tso_hdrs_phys + txq->size * TSO_HEADER_SIZE)) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 50 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 58 static int debug = -1; 60 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 62 static int phyaddr = -1; 66 #define STMMAC_TX_THRESH(x) ((x)->dma_tx_size / 4) 67 #define STMMAC_RX_THRESH(x) ((x)->dma_rx_size / 4) [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/realtek/ |
| D | r8169.c | 5 * Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com> 27 #include <linux/dma-mapping.h> 31 #include <linux/pci-aspm.h> 37 #define FIRMWARE_8168D_1 "rtl_nic/rtl8168d-1.fw" 38 #define FIRMWARE_8168D_2 "rtl_nic/rtl8168d-2.fw" 39 #define FIRMWARE_8168E_1 "rtl_nic/rtl8168e-1.fw" 40 #define FIRMWARE_8168E_2 "rtl_nic/rtl8168e-2.fw" 41 #define FIRMWARE_8168E_3 "rtl_nic/rtl8168e-3.fw" 42 #define FIRMWARE_8168F_1 "rtl_nic/rtl8168f-1.fw" 43 #define FIRMWARE_8168F_2 "rtl_nic/rtl8168f-2.fw" [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/broadcom/ |
| D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 97 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 99 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 101 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 126 #define TG3_GRC_LCLCTL_PWRSW_DELAY 100 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
| D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 119 #define TG3_GRC_LCLCTL_PWRSW_DELAY 100 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/usb/ |
| D | lan78xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 139 "RX 65 - 127 Byte Frames", 140 "RX 128 - 255 Byte Frames", 141 "RX 256 - 511 Bytes Frames", 142 "RX 512 - 1023 Byte Frames", 143 "RX 1024 - 1518 Byte Frames", 145 "EEE RX LPI Transitions", 146 "EEE RX LPI Time", 147 "TX FCS Errors", 148 "TX Excess Deferral Errors", [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2019 Broadcom Limited 25 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 136 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 137 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 138 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 139 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 141 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, [all …]
|