| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | stm32-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/net/stm32-dwmac.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Alexandre Torgue <alexandre.torgue@st.com> 12 - Christophe Roullier <christophe.roullier@st.com> 23 - st,stm32-dwmac 24 - st,stm32mp1-dwmac 26 - compatible 29 - $ref: "snps,dwmac.yaml#" [all …]
|
| D | imx-dwmac.txt | 1 IMX8 glue layer controller, NXP imx8 families support Synopsys MAC 5.10a IP. 9 - compatible: Should be "nxp,imx8mp-dwmac-eqos" to select glue layer 10 and "snps,dwmac-5.10a" to select IP version. 11 - clocks: Must contain a phandle for each entry in clock-names. 12 - clock-names: Should be "stmmaceth" for the host clock. 13 Should be "pclk" for the MAC apb clock. 14 Should be "ptp_ref" for the MAC timer clock. 15 Should be "tx" for the MAC RGMII TX clock: 17 - "mem" clock is required for imx8dxl platform. 18 - "mem" clock is not required for imx8mp platform. [all …]
|
| D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - $ref: "ethernet-phy.yaml#" 14 - Dan Murphy <dmurphy@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 21 This device interfaces to the MAC layer through Reduced GMII (RGMII) and [all …]
|
| D | ti,dp83867.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - $ref: "ethernet-controller.yaml#" 14 - Dan Murphy <dmurphy@ti.com> 18 transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX 19 and 1000BASE-T Ethernet protocols. 23 transformer. This device interfaces directly to the MAC layer through the 34 ti,min-output-impedance: 37 MAC Interface Impedance control to set the programmable output impedance [all …]
|
| D | mediatek-dwmac.txt | 9 - compatible: Should be "mediatek,mt2712-gmac" for MT2712 SoC 10 - reg: Address and length of the register set for the device 11 - interrupts: Should contain the MAC interrupts 12 - interrupt-names: Should contain a list of interrupt names corresponding to 14 Should be "macirq" for the main MAC IRQ 15 - clocks: Must contain a phandle for each entry in clock-names. 16 - clock-names: The name of the clock listed in the clocks property. These are 18 - mac-address: See ethernet.txt in the same directory 19 - phy-mode: See ethernet.txt in the same directory 20 - mediatek,pericfg: A phandle to the syscon node that control ethernet [all …]
|
| D | sti-dwmac.txt | 10 - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac", 11 "st,stih407-dwmac", "st,stid127-dwmac". 12 - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which 14 - st,gmac_en: this is to enable the gmac into a dedicated sysctl control 16 - pinctrl-0: pin-control for all the MII mode supported. 19 - resets : phandle pointing to the system reset controller with correct 21 - st,ext-phyclk: valid only for RMII where PHY can generate 50MHz clock or 22 MAC can generate it. 23 - st,tx-retime-src: This specifies which clk is wired up to the mac for 24 retimeing tx lines. This is totally board dependent and can take one of the [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | stm32-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/stm32-dwmac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Alexandre Torgue <alexandre.torgue@foss.st.com> 12 - Christophe Roullier <christophe.roullier@foss.st.com> 23 - st,stm32-dwmac 24 - st,stm32mp1-dwmac 26 - compatible 29 - $ref: snps,dwmac.yaml# [all …]
|
| D | nxp,dwmac-imx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Clark Wang <xiaoning.wang@nxp.com> 11 - Shawn Guo <shawnguo@kernel.org> 12 - NXP Linux Team <linux-imx@nxp.com> 20 - nxp,imx8mp-dwmac-eqos 21 - nxp,imx8dxl-dwmac-eqos 22 - nxp,imx93-dwmac-eqos [all …]
|
| D | mediatek-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/mediatek-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biao Huang <biao.huang@mediatek.com> 21 - mediatek,mt2712-gmac 22 - mediatek,mt8188-gmac 23 - mediatek,mt8195-gmac 25 - compatible 28 - $ref: snps,dwmac.yaml# [all …]
|
| D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 21 This device interfaces to the MAC layer through Reduced GMII (RGMII) and [all …]
|
| D | ingenic,mac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/ingenic,mac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAC in Ingenic SoCs 10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> 18 - ingenic,jz4775-mac 19 - ingenic,x1000-mac 20 - ingenic,x1600-mac 21 - ingenic,x1830-mac [all …]
|
| D | ti,dp83867.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-controller.yaml# 14 - Andrew Davis <afd@ti.com> 18 transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX 19 and 1000BASE-T Ethernet protocols. 23 transformer. This device interfaces directly to the MAC layer through the 34 nvmem-cells: 40 nvmem-cell-names: [all …]
|
| D | starfive,jh7110-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/starfive,jh7110-dwmac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Emil Renner Berthing <kernel@esmil.dk> 12 - Samin Guo <samin.guo@starfivetech.com> 19 - starfive,jh7110-dwmac 21 - compatible 26 - enum: 27 - starfive,jh7110-dwmac [all …]
|
| D | sti-dwmac.txt | 10 - compatible : "st,stih407-dwmac" 11 - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which 13 - st,gmac_en: this is to enable the gmac into a dedicated sysctl control 15 - pinctrl-0: pin-control for all the MII mode supported. 18 - resets : phandle pointing to the system reset controller with correct 20 - st,ext-phyclk: valid only for RMII where PHY can generate 50MHz clock or 21 MAC can generate it. 22 - st,tx-retime-src: This specifies which clk is wired up to the mac for 23 retimeing tx lines. This is totally board dependent and can take one of the 26 - sti-ethclk: this is the phy clock. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sunplus/ |
| D | spl2sw_driver.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/nvmem-consumer.h> 13 #include <linux/clk.h> 27 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_open() local 28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open() 31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open() 33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open() 37 /* Enable TX and RX interrupts */ in spl2sw_ethernet_open() 38 mask = readl(comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open() 40 writel(mask, comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/faraday/ |
| D | ftgmac100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2009-2011 Faraday Technology 6 * Po-Yu Chuang <ratbert@faraday-tech.com> 11 #include <linux/clk.h> 12 #include <linux/dma-mapping.h> 47 /* Min number of tx ring entries before stopping queue */ 66 /* Tx ring */ 90 struct clk *clk; member 93 struct clk *rclk; 116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/faraday/ |
| D | ftgmac100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2009-2011 Faraday Technology 6 * Po-Yu Chuang <ratbert@faraday-tech.com> 11 #include <linux/clk.h> 12 #include <linux/dma-mapping.h> 47 /* Min number of tx ring entries before stopping queue */ 66 /* Tx ring */ 90 struct clk *clk; member 93 struct clk *rclk; 116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ |
| D | ethoc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2008 Avionic Design Development GmbH 6 * Copyright (C) 2008-2009 Avionic Design GmbH 8 * Written by Thierry Reding <thierry.reding@avionic-design.de> 11 #include <linux/dma-mapping.h> 13 #include <linux/clk.h> 64 #define MODER_NBO (1 << 8) /* no back-off */ 133 /* TX buffer descriptor */ 141 #define TX_BD_CRC (1 << 11) /* TX CRC enable */ 145 #define TX_BD_READY (1 << 15) /* TX buffer ready */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/nxp/ |
| D | lpc_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/clk.h> 23 #include <linux/soc/nxp/lpc32xx-misc.h> 25 #define MODNAME "lpc-eth" 35 * Ethernet MAC controller Register offsets 317 if (dev && dev->of_node) { in lpc_phy_interface_mode() 318 const char *mode = of_get_property(dev->of_node, in lpc_phy_interface_mode() 319 "phy-mode", NULL); in lpc_phy_interface_mode() 328 if (dev && dev->of_node) in use_iram_for_net() 329 return of_property_read_bool(dev->of_node, "use-iram"); in use_iram_for_net() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/nxp/ |
| D | lpc_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/clk.h> 23 #include <linux/soc/nxp/lpc32xx-misc.h> 25 #define MODNAME "lpc-eth" 35 * Ethernet MAC controller Register offsets 317 if (dev && dev->of_node) { in lpc_phy_interface_mode() 318 const char *mode = of_get_property(dev->of_node, in lpc_phy_interface_mode() 319 "phy-mode", NULL); in lpc_phy_interface_mode() 328 if (dev && dev->of_node) in use_iram_for_net() 329 return of_property_read_bool(dev->of_node, "use-iram"); in use_iram_for_net() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/allwinner/ |
| D | sun4i-emac.c | 4 * Copyright 2012-2013 Stefan Roese <sr@denx.de> 5 * Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com> 15 #include <linux/clk.h> 33 #include "sun4i-emac.h" 35 #define DRV_NAME "sun4i-emac" 40 static int debug = -1; /* defaults above */; 72 struct clk *clk; member 98 reg_val = readl(db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed() 100 if (db->speed == SPEED_100) in emac_update_speed() 102 writel(reg_val, db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/stmicro/ |
| D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 27 Currently, this network device driver is for all STi embedded MAC/GMAC 32 DesignWare(R) Cores Ethernet MAC 10/100/1000 Universal version 3.70a [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/ |
| D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 27 Currently, this network device driver is for all STi embedded MAC/GMAC 32 DesignWare(R) Cores Ethernet MAC 10/100/1000 Universal version 3.70a [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-ingenic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwmac-ingenic.c - Ingenic SoCs DWMAC specific glue layer 9 #include <linux/clk.h> 75 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init() local 78 if (mac->soc_info->set_mode) { in ingenic_mac_init() 79 ret = mac->soc_info->set_mode(plat_dat); in ingenic_mac_init() 89 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode() local 92 switch (plat_dat->mac_interface) { in jz4775_mac_set_mode() 96 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_MII\n"); in jz4775_mac_set_mode() 102 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_GMII\n"); in jz4775_mac_set_mode() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ |
| D | ethoc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2008 Avionic Design Development GmbH 6 * Copyright (C) 2008-2009 Avionic Design GmbH 8 * Written by Thierry Reding <thierry.reding@avionic-design.de> 11 #include <linux/dma-mapping.h> 13 #include <linux/clk.h> 64 #define MODER_NBO (1 << 8) /* no back-off */ 133 /* TX buffer descriptor */ 141 #define TX_BD_CRC (1 << 11) /* TX CRC enable */ 145 #define TX_BD_READY (1 << 15) /* TX buffer ready */ [all …]
|