Home
last modified time | relevance | path

Searched +full:mac +full:- +full:clk +full:- +full:tx (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dstm32-dwmac.yaml1 # 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 …]
Dimx-dwmac.txt1 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 …]
Dti,dp83869.yaml1 # 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 …]
Dti,dp83867.yaml1 # 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 …]
Dmediatek-dwmac.txt9 - 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 …]
Dsti-dwmac.txt10 - 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-4.19/Documentation/devicetree/bindings/net/
Dstm32-dwmac.txt9 - compatible: For MCU family should be "st,stm32-dwmac" to select glue, and
10 "snps,dwmac-3.50a" to select IP version.
11 For MPU family should be "st,stm32mp1-dwmac" to select
12 glue, and "snps,dwmac-4.20a" to select IP version.
13 - clocks: Must contain a phandle for each entry in clock-names.
14 - clock-names: Should be "stmmaceth" for the host clock.
15 Should be "mac-clk-tx" for the MAC TX clock.
16 Should be "mac-clk-rx" for the MAC RX clock.
18 "syscfg-clk" for SYSCFG clock.
19 - interrupt-names: Should contain a list of interrupt names corresponding to
[all …]
Dsti-dwmac.txt10 - 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-5.10/drivers/net/ethernet/faraday/
Dftgmac100.c1 // 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-4.19/drivers/net/ethernet/nxp/
Dlpc_eth.c35 #include <linux/clk.h>
41 #include <linux/dma-mapping.h>
51 #define MODNAME "lpc-eth"
61 * Ethernet MAC controller Register offsets
343 if (dev && dev->of_node) { in lpc_phy_interface_mode()
344 const char *mode = of_get_property(dev->of_node, in lpc_phy_interface_mode()
345 "phy-mode", NULL); in lpc_phy_interface_mode()
354 if (dev && dev->of_node) in use_iram_for_net()
355 return of_property_read_bool(dev->of_node, "use-iram"); in use_iram_for_net()
404 * Structure of a TX/RX descriptors and RX status
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/
Dethoc.c1 // 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/
Dlpc_eth.c1 // 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-4.19/drivers/net/ethernet/
Dethoc.c4 * Copyright (C) 2007-2008 Avionic Design Development GmbH
5 * Copyright (C) 2008-2009 Avionic Design GmbH
11 * Written by Thierry Reding <thierry.reding@avionic-design.de>
14 #include <linux/dma-mapping.h>
16 #include <linux/clk.h>
67 #define MODER_NBO (1 << 8) /* no back-off */
136 /* TX buffer descriptor */
144 #define TX_BD_CRC (1 << 11) /* TX CRC enable */
148 #define TX_BD_READY (1 << 15) /* TX buffer ready */
180 * struct ethoc - driver-private device structure
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/allwinner/
Dsun4i-emac.c4 * 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"
41 static int debug = -1; /* defaults above */;
73 struct clk *clk; member
99 reg_val = readl(db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed()
101 if (db->speed == SPEED_100) in emac_update_speed()
103 writel(reg_val, db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/allwinner/
Dsun4i-emac.c4 * 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-5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst1 .. 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-4.19/drivers/net/ethernet/socionext/
Dsni_ave.c1 // SPDX-License-Identifier: GPL-2.0
3 * sni_ave.c - Socionext UniPhier AVE ethernet driver
5 * Copyright 2015-2017 Socionext Inc.
9 #include <linux/clk.h>
37 /* MAC Register Group */
38 #define AVE_TXCR 0x200 /* TX Setup */
40 #define AVE_RXMAC1R 0x208 /* MAC address (lower) */
41 #define AVE_RXMAC2R 0x20c /* MAC address (upper) */
50 #define AVE_TXDC 0x304 /* TX Descriptor Configuration */
68 #define AVE_TXDM_64 0x1000 /* Tx Descriptor Memory */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dsni_ave.c1 // SPDX-License-Identifier: GPL-2.0
3 * sni_ave.c - Socionext UniPhier AVE ethernet driver
5 * Copyright 2015-2017 Socionext Inc.
9 #include <linux/clk.h>
37 /* MAC Register Group */
38 #define AVE_TXCR 0x200 /* TX Setup */
40 #define AVE_RXMAC1R 0x208 /* MAC address (lower) */
41 #define AVE_RXMAC2R 0x20c /* MAC address (upper) */
50 #define AVE_TXDC 0x304 /* TX Descriptor Configuration */
68 #define AVE_TXDM_64 0x1000 /* Tx Descriptor Memory */
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-stm32.c2 * dwmac-stm32.c - DWMAC Specific Glue layer for STM32 MCU
10 #include <linux/clk.h>
39 struct clk *clk_tx;
40 struct clk *clk_rx;
41 struct clk *clk_eth_ck;
42 struct clk *clk_ethstp;
43 struct clk *syscfg_clk;
45 u32 mode_reg; /* MAC glue-logic mode register */
64 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32_dwmac_init()
67 if (dwmac->ops->set_mode) { in stm32_dwmac_init()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qualcomm/emac/
Demac.c1 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
27 #include "emac-mac.h"
28 #include "emac-phy.h"
29 #include "emac-sgmii.h"
93 mutex_lock(&adpt->reset_lock); in emac_reinit_locked()
99 mutex_unlock(&adpt->reset_lock); in emac_reinit_locked()
109 struct emac_adapter *adpt = netdev_priv(rx_q->netdev); in emac_napi_rtx()
110 struct emac_irq *irq = rx_q->irq; in emac_napi_rtx()
118 irq->mask |= rx_q->intr; in emac_napi_rtx()
119 writel(irq->mask, adpt->base + EMAC_INT_MASK); in emac_napi_rtx()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
19 #include "emac-mac.h"
20 #include "emac-phy.h"
21 #include "emac-sgmii.h"
85 mutex_lock(&adpt->reset_lock); in emac_reinit_locked()
91 mutex_unlock(&adpt->reset_lock); in emac_reinit_locked()
101 struct emac_adapter *adpt = netdev_priv(rx_q->netdev); in emac_napi_rtx()
102 struct emac_irq *irq = rx_q->irq; in emac_napi_rtx()
110 irq->mask |= rx_q->intr; in emac_napi_rtx()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/faraday/
Dftgmac100.c4 * (C) Copyright 2009-2011 Faraday Technology
5 * Po-Yu Chuang <ratbert@faraday-tech.com>
24 #include <linux/clk.h>
25 #include <linux/dma-mapping.h>
60 /* Min number of tx ring entries before stopping queue */
79 /* Tx ring */
103 struct clk *clk; member
126 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac()
130 iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac()
132 priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac()
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.h35 #define NTXRATE 64 /* # tx MPDUs rate is reported for */
37 /* Maximum wait time for a MAC suspend */
48 * Usage example, e.g. a three-bit field (bits 4-6):
52 * regval = R_REG(osh, &regs->regfoo);
55 * W_REG(osh, &regs->regfoo, regval);
58 (((unsigned)1 << (width)) - 1)
65 #define SW_TIMER_MAC_STAT_UPD 30 /* periodic MAC stats update */
67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */
76 #define BRCMS_SHORTSLOT_AUTO -1 /* Driver will manage Shortslot setting */
91 #define TXFID_QUEUE_MASK 0x0007 /* Bits 0-2 */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.h35 #define NTXRATE 64 /* # tx MPDUs rate is reported for */
37 /* Maximum wait time for a MAC suspend */
48 * Usage example, e.g. a three-bit field (bits 4-6):
52 * regval = R_REG(osh, &regs->regfoo);
55 * W_REG(osh, &regs->regfoo, regval);
58 (((unsigned)1 << (width)) - 1)
65 #define SW_TIMER_MAC_STAT_UPD 30 /* periodic MAC stats update */
67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */
76 #define BRCMS_SHORTSLOT_AUTO -1 /* Driver will manage Shortslot setting */
91 #define TXFID_QUEUE_MASK 0x0007 /* Bits 0-2 */
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dsocfpga_arria10.dtsi17 #include <dt-bindings/interrupt-controller/arm-gic.h>
18 #include <dt-bindings/reset/altr,rst-mgr-a10.h>
21 #address-cells = <1>;
22 #size-cells = <1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
27 enable-method = "altr,socfpga-a10-smp";
30 compatible = "arm,cortex-a9";
33 next-level-cache = <&L2>;
36 compatible = "arm,cortex-a9";
[all …]

12345678910>>...13