/linux/include/linux/ |
H A D | pcs-lynx.h | 12 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 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/include/linux/pcs/ |
H A D | pcs-mtk-lynxi.h | 9 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 D | dwmac-socfpga.c | 392 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 D | sfp-phylink.rst | 254 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 D | pcs-xpcs.c | 135 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 D | phylink.c | 51 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 D | prestera.h | 159 struct phylink_pcs phylink_pcs; member
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix.h | 91 struct phylink_pcs **pcs;
|
H A D | felix_vsc9959.c | 971 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 D | b53_serdes.h | 112 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
|
/linux/drivers/net/dsa/ |
H A D | rzn1_a5psw.h | 256 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1];
|
H A D | mt7530-mdio.c | 87 struct phylink_pcs *pcs; in mt7531_create_sgmii()
|
H A D | mt7530.h | 749 struct phylink_pcs *sgmii_pcs; 762 struct phylink_pcs pcs;
|
H A D | mt7530.c | 28 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 D | sparx5_main.c | 339 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 D | txgbe_phy.c | 125 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 D | mvneta.c | 540 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 D | enetc_pf.c | 34 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 D | enetc4_pf.c | 288 static struct phylink_pcs *
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 829 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 D | altera_tse.h | 479 struct phylink_pcs *pcs;
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb.h | 1294 struct phylink_pcs phylink_usx_pcs; 1295 struct phylink_pcs phylink_sgmii_pcs;
|
H A D | macb_main.c | 555 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 D | xilinx_axienet_main.c | 2342 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()
|