/linux-5.19.10/include/linux/ |
D | phylink.h | 128 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, 190 struct phylink_pcs *mac_select_pcs(struct phylink_config *config, 405 struct phylink_pcs { struct 420 int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, argument 422 void (*pcs_get_state)(struct phylink_pcs *pcs, 424 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode, 428 void (*pcs_an_restart)(struct phylink_pcs *pcs); 429 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode, 448 int pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, 466 void pcs_get_state(struct phylink_pcs *pcs, [all …]
|
D | pcs-lynx.h | 12 struct mdio_device *lynx_get_mdio_device(struct phylink_pcs *pcs); 14 struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio); 16 void lynx_pcs_destroy(struct phylink_pcs *pcs);
|
/linux-5.19.10/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_phylink.c | 12 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, in lan966x_phylink_mac_select() 17 return &port->phylink_pcs; in lan966x_phylink_mac_select() 82 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs) in lan966x_pcs_to_port() 84 return container_of(pcs, struct lan966x_port, phylink_pcs); in lan966x_pcs_to_port() 87 static void lan966x_pcs_get_state(struct phylink_pcs *pcs, in lan966x_pcs_get_state() 95 static int lan966x_pcs_config(struct phylink_pcs *pcs, in lan966x_pcs_config() 118 static void lan966x_pcs_aneg_restart(struct phylink_pcs *pcs) in lan966x_pcs_aneg_restart()
|
D | lan966x_main.h | 286 struct phylink_pcs phylink_pcs; member
|
/linux-5.19.10/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_phylink.c | 29 static struct phylink_pcs * 35 return &port->phylink_pcs; in sparx5_phylink_mac_select_pcs() 75 static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs) in sparx5_pcs_to_port() 77 return container_of(pcs, struct sparx5_port, phylink_pcs); in sparx5_pcs_to_port() 80 static void sparx5_pcs_get_state(struct phylink_pcs *pcs, in sparx5_pcs_get_state() 94 static int sparx5_pcs_config(struct phylink_pcs *pcs, in sparx5_pcs_config() 129 static void sparx5_pcs_aneg_restart(struct phylink_pcs *pcs) in sparx5_pcs_aneg_restart()
|
D | sparx5_main.h | 174 struct phylink_pcs phylink_pcs; member
|
D | sparx5_main.c | 278 spx5_port->phylink_pcs.poll = true; in sparx5_create_port() 279 spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops; in sparx5_create_port()
|
/linux-5.19.10/drivers/net/pcs/ |
D | pcs-lynx.c | 26 struct phylink_pcs pcs; 40 struct mdio_device *lynx_get_mdio_device(struct phylink_pcs *pcs) in lynx_get_mdio_device() 95 static void lynx_pcs_get_state(struct phylink_pcs *pcs, in lynx_pcs_get_state() 198 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_config() 230 static void lynx_pcs_an_restart(struct phylink_pcs *pcs) in lynx_pcs_an_restart() 315 static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_link_up() 346 struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create() 362 void lynx_pcs_destroy(struct phylink_pcs *pcs) in lynx_pcs_destroy()
|
D | pcs-xpcs.c | 633 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported, in xpcs_validate() 839 static int xpcs_config(struct phylink_pcs *pcs, unsigned int mode, in xpcs_config() 924 static void xpcs_get_state(struct phylink_pcs *pcs, in xpcs_get_state() 986 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in xpcs_link_up()
|
/linux-5.19.10/drivers/net/ethernet/mediatek/ |
D | mtk_sgmii.c | 17 static struct mtk_pcs *pcs_to_mtk_pcs(struct phylink_pcs *pcs) in pcs_to_mtk_pcs() 80 static int mtk_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in mtk_pcs_config() 97 static void mtk_pcs_restart_an(struct phylink_pcs *pcs) in mtk_pcs_restart_an() 107 static void mtk_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in mtk_pcs_link_up() 153 struct phylink_pcs *mtk_sgmii_select_pcs(struct mtk_sgmii *ss, int id) in mtk_sgmii_select_pcs()
|
D | mtk_eth_soc.h | 979 struct phylink_pcs pcs; 1119 struct phylink_pcs *mtk_sgmii_select_pcs(struct mtk_sgmii *ss, int id);
|
/linux-5.19.10/drivers/net/dsa/b53/ |
D | b53_serdes.c | 20 static inline struct b53_pcs *pcs_to_b53_pcs(struct phylink_pcs *pcs) in pcs_to_b53_pcs() 68 static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int mode, in b53_serdes_config() 89 static void b53_serdes_an_restart(struct phylink_pcs *pcs) in b53_serdes_an_restart() 102 static void b53_serdes_get_state(struct phylink_pcs *pcs, in b53_serdes_get_state() 194 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev, in b53_serdes_phylink_mac_select_pcs()
|
D | b53_serdes.h | 112 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
|
D | b53_priv.h | 50 struct phylink_pcs *(*phylink_mac_select_pcs)(struct b53_device *dev, 85 struct phylink_pcs pcs;
|
/linux-5.19.10/include/linux/pcs/ |
D | pcs-xpcs.h | 26 struct phylink_pcs pcs; 30 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
|
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 146 static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config, in dpaa2_mac_select_pcs() 282 struct phylink_pcs *phylink_pcs = mac->pcs; in dpaa2_pcs_destroy() local 284 if (phylink_pcs) { in dpaa2_pcs_destroy() 285 struct mdio_device *mdio = lynx_get_mdio_device(phylink_pcs); in dpaa2_pcs_destroy() 288 lynx_pcs_destroy(phylink_pcs); in dpaa2_pcs_destroy()
|
D | dpaa2-mac.h | 27 struct phylink_pcs *pcs;
|
/linux-5.19.10/drivers/net/dsa/ocelot/ |
D | seville_vsc9953.c | 1290 sizeof(struct phylink_pcs *), in vsc9953_mdio_bus_alloc() 1317 struct phylink_pcs *phylink_pcs; in vsc9953_mdio_bus_alloc() local 1331 phylink_pcs = lynx_pcs_create(mdio_device); in vsc9953_mdio_bus_alloc() 1332 if (!phylink_pcs) { in vsc9953_mdio_bus_alloc() 1337 felix->pcs[port] = phylink_pcs; in vsc9953_mdio_bus_alloc() 1351 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9953_mdio_bus_free() local 1354 if (!phylink_pcs) in vsc9953_mdio_bus_free() 1357 mdio_device = lynx_get_mdio_device(phylink_pcs); in vsc9953_mdio_bus_free() 1359 lynx_pcs_destroy(phylink_pcs); in vsc9953_mdio_bus_free()
|
D | felix.h | 84 struct phylink_pcs **pcs;
|
D | felix_vsc9959.c | 1318 sizeof(struct phylink_pcs *), in vsc9959_mdio_bus_alloc() 1368 struct phylink_pcs *phylink_pcs; in vsc9959_mdio_bus_alloc() local 1381 phylink_pcs = lynx_pcs_create(mdio_device); in vsc9959_mdio_bus_alloc() 1382 if (!phylink_pcs) { in vsc9959_mdio_bus_alloc() 1387 felix->pcs[port] = phylink_pcs; in vsc9959_mdio_bus_alloc() 1401 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9959_mdio_bus_free() local 1404 if (!phylink_pcs) in vsc9959_mdio_bus_free() 1407 mdio_device = lynx_get_mdio_device(phylink_pcs); in vsc9959_mdio_bus_free() 1409 lynx_pcs_destroy(phylink_pcs); in vsc9959_mdio_bus_free()
|
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.h | 49 struct phylink_pcs *pcs;
|
D | enetc_pf.c | 829 struct phylink_pcs *phylink_pcs; in enetc_imdio_create() local 861 phylink_pcs = lynx_pcs_create(mdio_device); in enetc_imdio_create() 862 if (!phylink_pcs) { in enetc_imdio_create() 870 pf->pcs = phylink_pcs; in enetc_imdio_create() 934 static struct phylink_pcs *
|
/linux-5.19.10/drivers/net/dsa/ |
D | mt7530.c | 27 static struct mt753x_pcs *pcs_to_mt753x_pcs(struct phylink_pcs *pcs) in pcs_to_mt753x_pcs() 2530 static void mt7531_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in mt7531_pcs_link_up() 2638 static void mt7531_pcs_an_restart(struct phylink_pcs *pcs) in mt7531_pcs_an_restart() 2698 static struct phylink_pcs * 2786 static void mt753x_phylink_pcs_link_up(struct phylink_pcs *pcs, in mt753x_phylink_pcs_link_up() 2910 static int mt753x_pcs_validate(struct phylink_pcs *pcs, in mt753x_pcs_validate() 2922 static void mt7530_pcs_get_state(struct phylink_pcs *pcs, in mt7530_pcs_get_state() 2996 static void mt7531_pcs_get_state(struct phylink_pcs *pcs, in mt7531_pcs_get_state() 3008 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in mt753x_pcs_config() 3016 static void mt7530_pcs_an_restart(struct phylink_pcs *pcs) in mt7530_pcs_an_restart()
|
/linux-5.19.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 441 struct phylink_pcs pcs;
|
D | xilinx_axienet_main.c | 1588 static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) in pcs_to_axienet_local() 1593 static void axienet_pcs_get_state(struct phylink_pcs *pcs, in axienet_pcs_get_state() 1601 static void axienet_pcs_an_restart(struct phylink_pcs *pcs) in axienet_pcs_an_restart() 1608 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in axienet_pcs_config() 1643 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs()
|