Home
last modified time | relevance | path

Searched refs:xpcs (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/pcs/
H A Dpcs-xpcs.c114 int (*pma_config)(struct dw_xpcs *xpcs);
124 xpcs_find_compat(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_find_compat() argument
128 for (compat = xpcs->desc->compat; compat->supported; compat++) in xpcs_find_compat()
135 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs) in xpcs_to_phylink_pcs() argument
137 return &xpcs->pcs; in xpcs_to_phylink_pcs()
141 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_get_an_mode() argument
145 compat = xpcs_find_compat(xpcs, interface); in xpcs_get_an_mode()
168 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg) in xpcs_read() argument
170 return mdiodev_c45_read(xpcs->mdiodev, dev, reg); in xpcs_read()
173 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val) in xpcs_write() argument
[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
/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 Dstmmac_main.c499 if (priv->hw->xpcs) in stmmac_eee_init()
500 xpcs_config_eee(priv->hw->xpcs, in stmmac_eee_init()
512 if (priv->hw->xpcs) in stmmac_eee_init()
513 xpcs_config_eee(priv->hw->xpcs, in stmmac_eee_init()
1268 if (priv->hw->xpcs) in stmmac_phy_setup()
1269 pcs = xpcs_to_phylink_pcs(priv->hw->xpcs); in stmmac_phy_setup()
3989 if ((!priv->hw->xpcs || in __stmmac_open()
3990 xpcs_get_an_mode(priv->hw->xpcs, mode) != DW_AN_C73)) { in __stmmac_open()
/linux/
H A DMAINTAINERS17149 F: drivers/net/pcs/pcs-xpcs-nxp.c
23022 F: drivers/net/pcs/pcs-xpcs.c
23023 F: drivers/net/pcs/pcs-xpcs.h
23024 F: include/linux/pcs/pcs-xpcs.h
25521 F: drivers/net/pcs/pcs-xpcs-wx.c