Home
last modified time | relevance | path

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

/linux/drivers/net/pcs/
H A Dpcs-xpcs.c158 int (*pma_config)(struct dw_xpcs *xpcs);
168 xpcs_find_compat(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_find_compat() argument
172 for (compat = xpcs->desc->compat; compat->supported; compat++) in xpcs_find_compat()
179 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs) in xpcs_to_phylink_pcs() argument
181 return &xpcs->pcs; in xpcs_to_phylink_pcs()
185 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_get_an_mode() argument
189 compat = xpcs_find_compat(xpcs, interface); in xpcs_get_an_mode()
212 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg) in xpcs_read() argument
214 return mdiodev_c45_read(xpcs->mdiodev, dev, reg); in xpcs_read()
217 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val) in xpcs_write() argument
[all …]
H A Dpcs-xpcs.h119 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg);
120 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val);
121 int xpcs_modify(struct dw_xpcs *xpcs, int dev, u32 reg, u16 mask, u16 set);
122 int xpcs_read_vpcs(struct dw_xpcs *xpcs, int reg);
123 int xpcs_write_vpcs(struct dw_xpcs *xpcs, int reg, u16 val);
124 int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs);
125 int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs);
126 int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs);
127 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
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/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 …]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1257 if (priv->hw->xpcs && in stmmac_init_phy()
1258 xpcs_get_an_mode(priv->hw->xpcs, mode) == DW_AN_C73) in stmmac_init_phy()
1366 if (priv->hw->xpcs) in stmmac_phylink_setup()
1367 pcs = xpcs_to_phylink_pcs(priv->hw->xpcs); in stmmac_phylink_setup()
/linux/
H A DMAINTAINERS19152 F: drivers/net/pcs/pcs-xpcs-nxp.c
25629 F: drivers/net/pcs/pcs-xpcs.c
25630 F: drivers/net/pcs/pcs-xpcs.h
25631 F: include/linux/pcs/pcs-xpcs.h
28369 F: drivers/net/pcs/pcs-xpcs-wx.c