/linux-6.1.9/include/linux/ |
D | phylink.h | 164 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, 226 struct phylink_pcs *mac_select_pcs(struct phylink_config *config, 441 struct phylink_pcs { struct 456 int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, argument 458 void (*pcs_get_state)(struct phylink_pcs *pcs, 460 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int mode, 464 void (*pcs_an_restart)(struct phylink_pcs *pcs); 465 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int mode, 484 int pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, 502 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);
|
D | pcs-altera-tse.h | 11 struct phylink_pcs; 14 struct phylink_pcs *alt_tse_pcs_create(struct net_device *ndev,
|
D | pcs-rzn1-miic.h | 14 struct phylink_pcs *miic_create(struct device *dev, struct device_node *np); 16 void miic_destroy(struct phylink_pcs *pcs);
|
/linux-6.1.9/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() 86 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs) in lan966x_pcs_to_port() 88 return container_of(pcs, struct lan966x_port, phylink_pcs); in lan966x_pcs_to_port() 91 static void lan966x_pcs_get_state(struct phylink_pcs *pcs, in lan966x_pcs_get_state() 99 static int lan966x_pcs_config(struct phylink_pcs *pcs, in lan966x_pcs_config() 122 static void lan966x_pcs_aneg_restart(struct phylink_pcs *pcs) in lan966x_pcs_aneg_restart()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/pcs/ |
D | pcs-altera-tse.c | 34 struct phylink_pcs pcs; 39 static struct altera_tse_pcs *phylink_pcs_to_tse_pcs(struct phylink_pcs *pcs) in phylink_pcs_to_tse_pcs() 80 static int alt_tse_pcs_validate(struct phylink_pcs *pcs, in alt_tse_pcs_validate() 91 static int alt_tse_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in alt_tse_pcs_config() 121 static void alt_tse_pcs_get_state(struct phylink_pcs *pcs, in alt_tse_pcs_get_state() 133 static void alt_tse_pcs_an_restart(struct phylink_pcs *pcs) in alt_tse_pcs_an_restart() 153 struct phylink_pcs *alt_tse_pcs_create(struct net_device *ndev, in alt_tse_pcs_create()
|
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() 93 static void lynx_pcs_get_state(struct phylink_pcs *pcs, in lynx_pcs_get_state() 178 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_config() 210 static void lynx_pcs_an_restart(struct phylink_pcs *pcs) in lynx_pcs_an_restart() 291 static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in lynx_pcs_link_up() 322 struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create() 338 void lynx_pcs_destroy(struct phylink_pcs *pcs) in lynx_pcs_destroy()
|
D | pcs-rzn1-miic.c | 145 struct phylink_pcs pcs; 150 static struct miic_port *phylink_pcs_to_miic_port(struct phylink_pcs *pcs) in phylink_pcs_to_miic_port() 189 static int miic_config(struct phylink_pcs *pcs, unsigned int mode, in miic_config() 240 static void miic_link_up(struct phylink_pcs *pcs, unsigned int mode, in miic_link_up() 274 static int miic_validate(struct phylink_pcs *pcs, unsigned long *supported, in miic_validate() 291 struct phylink_pcs *miic_create(struct device *dev, struct device_node *np) in miic_create() 338 void miic_destroy(struct phylink_pcs *pcs) in miic_destroy()
|
D | pcs-xpcs.c | 655 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported, in xpcs_validate() 929 static int xpcs_config(struct phylink_pcs *pcs, unsigned int mode, in xpcs_config() 1037 static void xpcs_get_state(struct phylink_pcs *pcs, in xpcs_get_state() 1119 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode, in xpcs_link_up() 1133 static void xpcs_an_restart(struct phylink_pcs *pcs) in xpcs_an_restart()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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-6.1.9/include/linux/pcs/ |
D | pcs-xpcs.h | 27 struct phylink_pcs pcs; 31 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | seville_vsc9953.c | 917 sizeof(struct phylink_pcs *), in vsc9953_mdio_bus_alloc() 944 struct phylink_pcs *phylink_pcs; in vsc9953_mdio_bus_alloc() local 958 phylink_pcs = lynx_pcs_create(mdio_device); in vsc9953_mdio_bus_alloc() 959 if (!phylink_pcs) { in vsc9953_mdio_bus_alloc() 964 felix->pcs[port] = phylink_pcs; in vsc9953_mdio_bus_alloc() 978 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9953_mdio_bus_free() local 981 if (!phylink_pcs) in vsc9953_mdio_bus_free() 984 mdio_device = lynx_get_mdio_device(phylink_pcs); in vsc9953_mdio_bus_free() 986 lynx_pcs_destroy(phylink_pcs); in vsc9953_mdio_bus_free()
|
D | felix.h | 89 struct phylink_pcs **pcs;
|
D | felix_vsc9959.c | 962 sizeof(struct phylink_pcs *), in vsc9959_mdio_bus_alloc() 1013 struct phylink_pcs *phylink_pcs; in vsc9959_mdio_bus_alloc() local 1026 phylink_pcs = lynx_pcs_create(mdio_device); in vsc9959_mdio_bus_alloc() 1027 if (!phylink_pcs) { in vsc9959_mdio_bus_alloc() 1032 felix->pcs[port] = phylink_pcs; in vsc9959_mdio_bus_alloc() 1046 struct phylink_pcs *phylink_pcs = felix->pcs[port]; in vsc9959_mdio_bus_free() local 1049 if (!phylink_pcs) in vsc9959_mdio_bus_free() 1052 mdio_device = lynx_get_mdio_device(phylink_pcs); in vsc9959_mdio_bus_free() 1054 lynx_pcs_destroy(phylink_pcs); in vsc9959_mdio_bus_free()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 240 static struct prestera_port *prestera_pcs_to_port(struct phylink_pcs *pcs) in prestera_pcs_to_port() 242 return container_of(pcs, struct prestera_port, phylink_pcs); in prestera_pcs_to_port() 272 static struct phylink_pcs * 279 return &port->phylink_pcs; in prestera_mac_select_pcs() 282 static void prestera_pcs_get_state(struct phylink_pcs *pcs, in prestera_pcs_get_state() 286 phylink_pcs); in prestera_pcs_get_state() 303 static int prestera_pcs_config(struct phylink_pcs *pcs, in prestera_pcs_config() 354 static void prestera_pcs_an_restart(struct phylink_pcs *pcs) in prestera_pcs_an_restart() 404 port->phylink_pcs.ops = &prestera_pcs_ops; in prestera_port_sfp_bind()
|
D | prestera.h | 159 struct phylink_pcs phylink_pcs; member
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.h | 49 struct phylink_pcs *pcs;
|
D | enetc_pf.c | 878 struct phylink_pcs *phylink_pcs; in enetc_imdio_create() local 910 phylink_pcs = lynx_pcs_create(mdio_device); in enetc_imdio_create() 911 if (!phylink_pcs) { in enetc_imdio_create() 919 pf->pcs = phylink_pcs; in enetc_imdio_create() 983 static struct phylink_pcs *
|
/linux-6.1.9/drivers/net/dsa/ |
D | rzn1_a5psw.h | 253 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1];
|