Home
last modified time | relevance | path

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

/linux/include/linux/
A Dphylink.h349 struct phylink_pcs { struct
363 void (*pcs_get_state)(struct phylink_pcs *pcs, argument
365 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode,
369 void (*pcs_an_restart)(struct phylink_pcs *pcs);
370 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode,
390 void pcs_get_state(struct phylink_pcs *pcs,
415 int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
426 void pcs_an_restart(struct phylink_pcs *pcs);
441 void pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
448 void phylink_set_pcs(struct phylink *, struct phylink_pcs *pcs);
A Dpcs-lynx.h13 struct phylink_pcs pcs;
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_phylink.c139 static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs) in sparx5_pcs_to_port()
141 return container_of(pcs, struct sparx5_port, phylink_pcs); in sparx5_pcs_to_port()
144 static void sparx5_pcs_get_state(struct phylink_pcs *pcs, in sparx5_pcs_get_state()
158 static int sparx5_pcs_config(struct phylink_pcs *pcs, in sparx5_pcs_config()
193 static void sparx5_pcs_aneg_restart(struct phylink_pcs *pcs) in sparx5_pcs_aneg_restart()
A Dsparx5_main.c277 spx5_port->phylink_pcs.poll = true; in sparx5_create_port()
278 spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops; in sparx5_create_port()
304 phylink_set_pcs(phylink, &spx5_port->phylink_pcs); in sparx5_create_port()
A Dsparx5_main.h155 struct phylink_pcs phylink_pcs; member
/linux/include/linux/pcs/
A Dpcs-xpcs.h26 struct phylink_pcs pcs;
30 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
/linux/drivers/net/pcs/
A 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()
A 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/drivers/net/ethernet/cadence/
A Dmacb_main.c581 struct macb *bp = container_of(pcs, struct macb, phylink_pcs); in macb_usx_pcs_link_up()
592 static void macb_usx_pcs_get_state(struct phylink_pcs *pcs, in macb_usx_pcs_get_state()
609 static int macb_usx_pcs_config(struct phylink_pcs *pcs, in macb_usx_pcs_config()
623 static void macb_pcs_get_state(struct phylink_pcs *pcs, in macb_pcs_get_state()
629 static void macb_pcs_an_restart(struct phylink_pcs *pcs) in macb_pcs_an_restart()
634 static int macb_pcs_config(struct phylink_pcs *pcs, in macb_pcs_config()
805 bp->phylink_pcs.ops = &macb_phylink_usx_pcs_ops; in macb_mac_prepare()
807 bp->phylink_pcs.ops = &macb_phylink_pcs_ops; in macb_mac_prepare()
809 bp->phylink_pcs.ops = NULL; in macb_mac_prepare()
811 if (bp->phylink_pcs.ops) in macb_mac_prepare()
[all …]
A Dmacb.h1274 struct phylink_pcs phylink_pcs; member
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2.h1242 struct phylink_pcs phylink_pcs; member
A Dmvpp2_main.c6112 static struct mvpp2_port *mvpp2_pcs_to_port(struct phylink_pcs *pcs) in mvpp2_pcs_to_port()
6114 return container_of(pcs, struct mvpp2_port, phylink_pcs); in mvpp2_pcs_to_port()
6117 static void mvpp2_xlg_pcs_get_state(struct phylink_pcs *pcs, in mvpp2_xlg_pcs_get_state()
6138 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, in mvpp2_xlg_pcs_config()
6152 static void mvpp2_gmac_pcs_get_state(struct phylink_pcs *pcs, in mvpp2_gmac_pcs_get_state()
6187 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in mvpp2_gmac_pcs_config()
6244 static void mvpp2_gmac_pcs_an_restart(struct phylink_pcs *pcs) in mvpp2_gmac_pcs_an_restart()
6462 port->phylink_pcs.ops = &mvpp2_phylink_xlg_pcs_ops; in mvpp2__mac_prepare()
6464 port->phylink_pcs.ops = &mvpp2_phylink_gmac_pcs_ops; in mvpp2__mac_prepare()
6477 phylink_set_pcs(port->phylink, &port->phylink_pcs); in mvpp2_mac_prepare()
[all …]
/linux/drivers/net/phy/
A Dphylink.c48 struct phylink_pcs *pcs;
975 void phylink_set_pcs(struct phylink *pl, struct phylink_pcs *pcs) in phylink_set_pcs()

Completed in 57 milliseconds