Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dphylink.h340 struct phylink_pcs { struct
354 void (*pcs_get_state)(struct phylink_pcs *pcs, argument
356 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode,
360 void (*pcs_an_restart)(struct phylink_pcs *pcs);
361 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode,
381 void pcs_get_state(struct phylink_pcs *pcs,
406 int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
417 void pcs_an_restart(struct phylink_pcs *pcs);
432 void pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
439 void phylink_set_pcs(struct phylink *, struct phylink_pcs *pcs);
Dpcs-lynx.h13 struct phylink_pcs pcs;
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c140 static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs) in sparx5_pcs_to_port()
142 return container_of(pcs, struct sparx5_port, phylink_pcs); in sparx5_pcs_to_port()
145 static void sparx5_pcs_get_state(struct phylink_pcs *pcs, in sparx5_pcs_get_state()
159 static int sparx5_pcs_config(struct phylink_pcs *pcs, in sparx5_pcs_config()
194 static void sparx5_pcs_aneg_restart(struct phylink_pcs *pcs) in sparx5_pcs_aneg_restart()
Dsparx5_main.c278 spx5_port->phylink_pcs.poll = true; in sparx5_create_port()
279 spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops; in sparx5_create_port()
305 phylink_set_pcs(phylink, &spx5_port->phylink_pcs); in sparx5_create_port()
Dsparx5_main.h155 struct phylink_pcs phylink_pcs; member
/Linux-v5.15/include/linux/pcs/
Dpcs-xpcs.h26 struct phylink_pcs pcs;
30 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
/Linux-v5.15/drivers/net/pcs/
Dpcs-lynx.c81 static void lynx_pcs_get_state(struct phylink_pcs *pcs, in lynx_pcs_get_state()
184 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_config()
216 static void lynx_pcs_an_restart(struct phylink_pcs *pcs) in lynx_pcs_an_restart()
301 static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_link_up()
Dpcs-xpcs.c833 static int xpcs_config(struct phylink_pcs *pcs, unsigned int mode, in xpcs_config()
918 static void xpcs_get_state(struct phylink_pcs *pcs, in xpcs_get_state()
980 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in xpcs_link_up()
/Linux-v5.15/drivers/net/ethernet/cadence/
Dmacb_main.c583 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in macb_usx_pcs_link_up()
587 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_link_up()
598 static void macb_usx_pcs_get_state(struct phylink_pcs *pcs, in macb_usx_pcs_get_state()
601 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_get_state()
615 static int macb_usx_pcs_config(struct phylink_pcs *pcs, in macb_usx_pcs_config()
621 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_config()
629 static void macb_pcs_get_state(struct phylink_pcs *pcs, in macb_pcs_get_state()
635 static void macb_pcs_an_restart(struct phylink_pcs *pcs) in macb_pcs_an_restart()
640 static int macb_pcs_config(struct phylink_pcs *pcs, in macb_pcs_config()
808 bp->phylink_pcs.ops = &macb_phylink_usx_pcs_ops; in macb_mac_prepare()
[all …]
Dmacb.h1271 struct phylink_pcs phylink_pcs; member
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1242 struct phylink_pcs phylink_pcs; member
Dmvpp2_main.c6108 static struct mvpp2_port *mvpp2_pcs_to_port(struct phylink_pcs *pcs) in mvpp2_pcs_to_port()
6110 return container_of(pcs, struct mvpp2_port, phylink_pcs); in mvpp2_pcs_to_port()
6113 static void mvpp2_xlg_pcs_get_state(struct phylink_pcs *pcs, in mvpp2_xlg_pcs_get_state()
6134 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, in mvpp2_xlg_pcs_config()
6148 static void mvpp2_gmac_pcs_get_state(struct phylink_pcs *pcs, in mvpp2_gmac_pcs_get_state()
6183 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in mvpp2_gmac_pcs_config()
6240 static void mvpp2_gmac_pcs_an_restart(struct phylink_pcs *pcs) in mvpp2_gmac_pcs_an_restart()
6488 port->phylink_pcs.ops = &mvpp2_phylink_xlg_pcs_ops; in mvpp2__mac_prepare()
6490 port->phylink_pcs.ops = &mvpp2_phylink_gmac_pcs_ops; in mvpp2__mac_prepare()
6503 phylink_set_pcs(port->phylink, &port->phylink_pcs); in mvpp2_mac_prepare()
[all …]
/Linux-v5.15/drivers/net/phy/
Dphylink.c48 struct phylink_pcs *pcs;
898 void phylink_set_pcs(struct phylink *pl, struct phylink_pcs *pcs) in phylink_set_pcs()