Home
last modified time | relevance | path

Searched full:xpcs (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-tegra.c27 void __iomem *xpcs; member
91 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_STATUS); in tegra_mgbe_resume()
93 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume()
95 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume()
98 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume()
120 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
122 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
124 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
126 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
128 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up()
[all …]
H A Dcommon.h18 #include <linux/pcs/pcs-xpcs.h>
599 struct dw_xpcs *xpcs; member
H A Dstmmac_main.c488 if (priv->hw->xpcs) in stmmac_eee_init()
489 xpcs_config_eee(priv->hw->xpcs, in stmmac_eee_init()
501 if (priv->hw->xpcs) in stmmac_eee_init()
502 xpcs_config_eee(priv->hw->xpcs, in stmmac_eee_init()
1224 /* If we have an xpcs, it defines which PHY interfaces are supported. */ in stmmac_phy_setup()
1225 if (priv->hw->xpcs) in stmmac_phy_setup()
1226 xpcs_get_interfaces(priv->hw->xpcs, in stmmac_phy_setup()
3915 if ((!priv->hw->xpcs || in __stmmac_open()
3916 xpcs_get_an_mode(priv->hw->xpcs, mode) != DW_AN_C73)) { in __stmmac_open()
/linux/Documentation/devicetree/bindings/net/pcs/
H A Dsnps,dw-xpcs.yaml4 $id: http://devicetree.org/schemas/net/pcs/snps,dw-xpcs.yaml#
22 by means of the APB3/MCI interfaces. In the later case the XPCS can be mapped
28 - description: Synopsys DesignWare XPCS with none or unknown PMA
29 const: snps,dw-xpcs
30 - description: Synopsys DesignWare XPCS with Consumer Gen1 3G PMA
31 const: snps,dw-xpcs-gen1-3g
32 - description: Synopsys DesignWare XPCS with Consumer Gen2 3G PMA
33 const: snps,dw-xpcs-gen2-3g
34 - description: Synopsys DesignWare XPCS with Consumer Gen2 6G PMA
35 const: snps,dw-xpcs-gen2-6g
[all …]
/linux/drivers/net/pcs/
H A Dpcs-xpcs-plat.c3 * Synopsys DesignWare XPCS platform device driver
15 #include <linux/pcs/pcs-xpcs.h>
22 #include "pcs-xpcs.h"
308 pxpcs->bus->name = "DW XPCS MCI/APB3"; in xpcs_plat_init_bus()
321 * the MDIO and MCI/APB3 IO interfaces utilized for the DW XPCS CSRs in xpcs_plat_init_bus()
343 /* There is a single memory-mapped DW XPCS device */ in xpcs_plat_init_dev()
354 /* Pass the data further so the DW XPCS driver core could use it */ in xpcs_plat_init_dev()
436 { .compatible = "snps,dw-xpcs", .data = &xpcs_generic },
437 { .compatible = "snps,dw-xpcs-gen1-3g", .data = &xpcs_pma_gen1_3g },
438 { .compatible = "snps,dw-xpcs-gen2-3g", .data = &xpcs_pma_gen2_3g },
[all …]
H A DMakefile4 pcs_xpcs-$(CONFIG_PCS_XPCS) := pcs-xpcs.o pcs-xpcs-plat.o \
5 pcs-xpcs-nxp.o pcs-xpcs-wx.o
H A DKconfig9 tristate "Synopsys DesignWare Ethernet XPCS"
13 DesignWare XPCS controllers.
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-pci.c268 dev_err(dev, "xpcs ioremap failed\n"); in xgbe_pci_probe()
305 dev_dbg(dev, "xpcs window def = %#010x\n", in xgbe_pci_probe()
307 dev_dbg(dev, "xpcs window sel = %#010x\n", in xgbe_pci_probe()
309 dev_dbg(dev, "xpcs window = %#010x\n", in xgbe_pci_probe()
311 dev_dbg(dev, "xpcs window size = %#010x\n", in xgbe_pci_probe()
313 dev_dbg(dev, "xpcs window mask = %#010x\n", in xgbe_pci_probe()
H A Dxgbe.h1066 /* XGMAC/XPCS related mmio registers */
1068 void __iomem *xpcs_regs; /* XPCS MMD registers */
1085 /* XPCS indirect addressing lock */
H A Dxgbe-common.h1573 * within the register values of XPCS registers.
/linux/Documentation/devicetree/bindings/net/
H A Dnvidia,tegra234-mgbe.yaml24 - const: xpcs
121 reg-names = "hypervisor", "mac", "xpcs";
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1583 void __iomem *xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_gop_init_10gkr() local
1586 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_gop_init_10gkr()
1590 writel(val, xpcs + MVPP22_XPCS_CFG0); in mvpp22_gop_init_10gkr()
2183 void __iomem *mpcs, *xpcs; in mvpp22_pcs_reset_assert() local
2190 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_assert()
2197 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_assert()
2198 writel(val & ~MVPP22_XPCS_CFG0_RESET_DIS, xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_assert()
2205 void __iomem *mpcs, *xpcs; in mvpp22_pcs_reset_deassert() local
2212 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_deassert()
2225 val = readl(xpcs + MVPP22_XPCS_CFG0); in mvpp22_pcs_reset_deassert()
[all …]
H A Dmvpp2.h598 /* XPCS registers.PPv2.2 and PPv2.3 */
618 /* XPCS registers. PPv2.2 and PPv2.3 */
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c13 #include <linux/pcs/pcs-xpcs.h>
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234.dtsi3517 reg-names = "hypervisor", "mac", "xpcs";
3559 reg-names = "hypervisor", "mac", "xpcs";
3601 reg-names = "hypervisor", "mac", "xpcs";
3643 reg-names = "hypervisor", "mac", "xpcs";
/linux/drivers/net/ethernet/sun/
H A Dniu.h591 /* XPCS registers, offset from np->regs + np->xpcs_off */
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c1407 * sense, because that is done through the XPCS. We allow in sja1105_phylink_get_caps()
/linux/
H A DCREDITS25 D: Synopsys DesignWare XPCS MDIO/PCS driver.
H A DMAINTAINERS16918 F: drivers/net/pcs/pcs-xpcs-nxp.c
22733 SYNOPSYS DESIGNWARE ETHERNET XPCS DRIVER
22736 F: drivers/net/pcs/pcs-xpcs.c
22737 F: drivers/net/pcs/pcs-xpcs.h
22738 F: include/linux/pcs/pcs-xpcs.h
25237 F: drivers/net/pcs/pcs-xpcs-wx.c