Home
last modified time | relevance | path

Searched refs:phylink_pcs (Results 1 – 25 of 30) sorted by relevance

12

/linux/include/linux/
H A Dpcs-lynx.h12 struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr);
13 struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
15 void lynx_pcs_destroy(struct phylink_pcs *pcs);
H A Dpcs-rzn1-miic.h14 struct phylink_pcs *miic_create(struct device *dev, struct device_node *np);
16 void miic_destroy(struct phylink_pcs *pcs);
/linux/include/linux/pcs/
H A Dpcs-mtk-lynxi.h9 struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev,
12 void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs);
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c392 struct phylink_pcs *pcs; in socfpga_dwmac_pcs_init()
422 priv->hw->phylink_pcs = pcs; in socfpga_dwmac_pcs_init()
428 if (priv->hw->phylink_pcs) in socfpga_dwmac_pcs_exit()
429 lynx_pcs_destroy(priv->hw->phylink_pcs); in socfpga_dwmac_pcs_exit()
432 static struct phylink_pcs *socfpga_dwmac_select_pcs(struct stmmac_priv *priv, in socfpga_dwmac_select_pcs()
435 return priv->hw->phylink_pcs; in socfpga_dwmac_select_pcs()
/linux/Documentation/networking/
H A Dsfp-phylink.rst254 provides a PCS abstraction through :c:type:`struct phylink_pcs <phylink_pcs>`.
263 one :c:type:`struct phylink_pcs <phylink_pcs>` instance per PCS block within
268 struct phylink_pcs pcs;
297 controlled through its own driver, add a pointer to a phylink_pcs instance
302 struct phylink_pcs *pcs;
322 must return a pointer to the relevant :c:type:`struct phylink_pcs <phylink_pcs>`
327 static struct phylink_pcs *foo_select_pcs(struct phylink_config *config,
/linux/drivers/net/pcs/
H A Dpcs-xpcs.c135 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs) in xpcs_to_phylink_pcs()
545 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported, in xpcs_validate()
570 static unsigned int xpcs_inband_caps(struct phylink_pcs *pcs, in xpcs_inband_caps()
635 static void xpcs_pre_config(struct phylink_pcs *pcs, phy_interface_t interface) in xpcs_pre_config()
884 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_config()
1092 static void xpcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_get_state()
1167 static void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_link_up()
1188 static void xpcs_an_restart(struct phylink_pcs *pcs) in xpcs_an_restart()
1501 struct phylink_pcs *xpcs_create_pcs_mdiodev(struct mii_bus *bus, int addr) in xpcs_create_pcs_mdiodev()
1560 void xpcs_destroy_pcs(struct phylink_pcs *pcs) in xpcs_destroy_pcs()
/linux/drivers/net/phy/
H A Dphylink.c51 struct phylink_pcs *pcs;
680 struct phylink_pcs *pcs = NULL; in phylink_validate_mac_and_pcs()
1014 static unsigned int phylink_pcs_inband_caps(struct phylink_pcs *pcs, in phylink_pcs_inband_caps()
1023 static void phylink_pcs_pre_config(struct phylink_pcs *pcs, in phylink_pcs_pre_config()
1030 static int phylink_pcs_post_config(struct phylink_pcs *pcs, in phylink_pcs_post_config()
1041 static void phylink_pcs_disable(struct phylink_pcs *pcs) in phylink_pcs_disable()
1047 static int phylink_pcs_enable(struct phylink_pcs *pcs) in phylink_pcs_enable()
1057 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_config()
1068 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_link_up()
1082 struct phylink_pcs *pcs; in phylink_inband_caps()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera.h159 struct phylink_pcs phylink_pcs; member
/linux/drivers/net/dsa/ocelot/
H A Dfelix.h91 struct phylink_pcs **pcs;
H A Dfelix_vsc9959.c971 sizeof(struct phylink_pcs *), in vsc9959_mdio_bus_alloc()
1024 struct phylink_pcs *phylink_pcs; in vsc9959_mdio_bus_alloc() local
1032 phylink_pcs = lynx_pcs_create_mdiodev(felix->imdio, port); in vsc9959_mdio_bus_alloc()
1033 if (IS_ERR(phylink_pcs)) in vsc9959_mdio_bus_alloc()
1036 felix->pcs[port] = phylink_pcs; in vsc9959_mdio_bus_alloc()
1050 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9959_mdio_bus_free() local
1052 if (phylink_pcs) in vsc9959_mdio_bus_free()
1053 lynx_pcs_destroy(phylink_pcs); in vsc9959_mdio_bus_free()
/linux/drivers/net/dsa/b53/
H A Db53_serdes.h112 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
/linux/drivers/net/dsa/
H A Drzn1_a5psw.h256 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1];
H A Dmt7530-mdio.c87 struct phylink_pcs *pcs; in mt7531_create_sgmii()
H A Dmt7530.h749 struct phylink_pcs *sgmii_pcs;
762 struct phylink_pcs pcs;
H A Dmt7530.c28 static struct mt753x_pcs *pcs_to_mt753x_pcs(struct phylink_pcs *pcs) in pcs_to_mt753x_pcs()
2877 static struct phylink_pcs *
2981 static int mt753x_pcs_validate(struct phylink_pcs *pcs, in mt753x_pcs_validate()
2993 static void mt7530_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mt7530_pcs_get_state()
3028 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mt753x_pcs_config()
3036 static void mt7530_pcs_an_restart(struct phylink_pcs *pcs) in mt7530_pcs_an_restart()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.c339 spx5_port->phylink_pcs.poll = true; in sparx5_create_port()
340 spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops; in sparx5_create_port()
341 spx5_port->phylink_pcs.neg_mode = true; in sparx5_create_port()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c125 struct phylink_pcs *pcs; in txgbe_mdio_pcs_init()
159 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config, in txgbe_phylink_mac_select()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c540 struct phylink_pcs phylink_pcs; member
3262 phylink_pcs_change(&pp->phylink_pcs, in mvneta_link_change()
3958 static struct mvneta_port *mvneta_pcs_to_port(struct phylink_pcs *pcs) in mvneta_pcs_to_port()
3960 return container_of(pcs, struct mvneta_port, phylink_pcs); in mvneta_pcs_to_port()
3963 static unsigned int mvneta_pcs_inband_caps(struct phylink_pcs *pcs, in mvneta_pcs_inband_caps()
3986 static void mvneta_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_get_state()
4013 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_config()
4069 static void mvneta_pcs_an_restart(struct phylink_pcs *pcs) in mvneta_pcs_an_restart()
4087 static struct phylink_pcs *mvneta_mac_select_pcs(struct phylink_config *config, in mvneta_mac_select_pcs()
4093 return &pp->phylink_pcs; in mvneta_mac_select_pcs()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c34 static struct phylink_pcs *enetc_pf_create_pcs(struct enetc_pf *pf, in enetc_pf_create_pcs()
40 static void enetc_pf_destroy_pcs(struct phylink_pcs *pcs) in enetc_pf_destroy_pcs()
733 static struct phylink_pcs *
H A Denetc4_pf.c288 static struct phylink_pcs *
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c829 port->phylink_pcs.poll = true; in lan966x_probe_port()
830 port->phylink_pcs.ops = &lan966x_phylink_pcs_ops; in lan966x_probe_port()
831 port->phylink_pcs.neg_mode = true; in lan966x_probe_port()
/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h479 struct phylink_pcs *pcs;
/linux/drivers/net/ethernet/cadence/
H A Dmacb.h1294 struct phylink_pcs phylink_usx_pcs;
1295 struct phylink_pcs phylink_sgmii_pcs;
H A Dmacb_main.c555 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_usx_pcs_link_up()
570 static void macb_usx_pcs_get_state(struct phylink_pcs *pcs, in macb_usx_pcs_get_state()
588 static int macb_usx_pcs_config(struct phylink_pcs *pcs, in macb_usx_pcs_config()
602 static void macb_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_pcs_get_state()
608 static void macb_pcs_an_restart(struct phylink_pcs *pcs) in macb_pcs_an_restart()
613 static int macb_pcs_config(struct phylink_pcs *pcs, in macb_pcs_config()
782 static struct phylink_pcs *macb_mac_select_pcs(struct phylink_config *config, in macb_mac_select_pcs()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c2342 static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) in pcs_to_axienet_local()
2347 static void axienet_pcs_get_state(struct phylink_pcs *pcs, in axienet_pcs_get_state()
2356 static void axienet_pcs_an_restart(struct phylink_pcs *pcs) in axienet_pcs_an_restart()
2363 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in axienet_pcs_config()
2399 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs()

12