| /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/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-lx2160a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; 21 stdout-path = "serial0:115200n8"; 24 sb_3v3: regulator-sb3v3 { 25 compatible = "regulator-fixed"; 26 regulator-name = "MC34717-3.3VSB"; 27 regulator-min-microvolt = <3300000>; 28 regulator-max-microvolt = <3300000>; [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 …]
|
| D | imx8mp-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 12 compatible = "fsl,imx8mp-evk", "fsl,imx8mp"; 15 stdout-path = &uart2; 18 gpio-leds { 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_gpio_led>; 26 default-state = "on"; 36 reg_usdhc2_vmmc: regulator-usdhc2 { [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/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 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. */ 164 PHY_SETTING( 1000, FULL, 1000baseKX_Full ), 165 PHY_SETTING( 1000, FULL, 1000baseT_Full ), 166 PHY_SETTING( 1000, HALF, 1000baseT_Half ), 167 PHY_SETTING( 1000, FULL, 1000baseT1_Full ), [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 …]
|
| /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() 101 * Don't suspend PHY if the attached netdev parent may wake up. in mdio_bus_phy_may_suspend() 104 if (netdev->dev.parent && device_may_wakeup(netdev->dev.parent)) in mdio_bus_phy_may_suspend() 107 /* Also don't suspend PHY if the netdev itself may wakeup. This 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/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 …]
|
| D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 17 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 29 label = "wetek-play:system-status"; 31 default-state = "on"; 32 panic-indicator; 36 usb_pwr: regulator-usb-pwrs { 37 compatible = "regulator-fixed"; 39 regulator-name = "USB_PWR"; [all …]
|
| D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
| D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [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-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> 51 /* The default timer value as per the sxgbe specification 1 sec(1000 ms) */ 52 #define SXGBE_DEFAULT_LPI_TIMER 1000 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/samsung/sxgbe/ |
| D | sxgbe_main.c | 17 #include <linux/dma-mapping.h> 54 /* The default timer value as per the sxgbe specification 1 sec(1000 ms) */ 55 #define SXGBE_DEFAULT_LPI_TIMER 1000 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() [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; 101 #define STMMAC_DEFAULT_LPI_TIMER 1000 124 * stmmac_verify_args - verify the driver parameters. 145 * stmmac_disable_all_queues - Disable all queues [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
| D | mvneta.c | 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 138 * 0 and a write won't do anything 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) 293 #define MVNETA_TX_DISABLE_TIMEOUT_MSEC 1000 294 #define MVNETA_RX_DISABLE_TIMEOUT_MSEC 1000 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 …]
|