| /linux-6.15/include/linux/ |
| H A D | phylink.h | 14 struct phylink; 469 struct phylink *phylink; member 698 void phylink_destroy(struct phylink *); 699 bool phylink_expects_phy(struct phylink *pl); 706 void phylink_disconnect_phy(struct phylink *); 707 int phylink_set_fixed_link(struct phylink *, 715 void phylink_start(struct phylink *); 716 void phylink_stop(struct phylink *); 723 void phylink_resume(struct phylink *pl); 737 int phylink_get_eee_err(struct phylink *); [all …]
|
| /linux-6.15/drivers/net/ethernet/tehuti/ |
| H A D | tn40_phy.c | 49 struct phylink *phylink; in tn40_phy_register() local 63 phylink = phylink_create(config, NULL, PHY_INTERFACE_MODE_XAUI, in tn40_phy_register() 65 if (IS_ERR(phylink)) in tn40_phy_register() 66 return PTR_ERR(phylink); in tn40_phy_register() 69 priv->phylink = phylink; in tn40_phy_register() 75 phylink_destroy(priv->phylink); in tn40_phy_unregister()
|
| /linux-6.15/Documentation/networking/ |
| H A D | sfp-phylink.rst | 4 phylink title 98 #include <linux/phylink.h> 104 struct phylink *phylink; 173 internally by phylink. 286 phylink, via: 362 struct phylink *phylink; 365 if (IS_ERR(phylink)) { 366 err = PTR_ERR(phylink); 370 priv->phylink = phylink; 377 phylink_destroy(priv->phylink); [all …]
|
| /linux-6.15/drivers/net/phy/ |
| H A D | phylink.c | 47 struct phylink { struct 1264 pl->pcs->phylink = NULL; in phylink_major_config() 1266 pcs->phylink = pl; in phylink_major_config() 1574 struct phylink *pl = container_of(w, struct phylink, resolve); in phylink_resolve() 1708 struct phylink *pl = container_of(t, struct phylink, link_poll); in phylink_fixed_poll() 1802 struct phylink *pl; in phylink_create() 1926 struct phylink *pl = phydev->phylink; in phylink_phy_change() 2067 phy->phylink = pl; in phylink_bringup_phy() 2350 struct phylink *pl = pcs->phylink; in phylink_pcs_change() 2359 struct phylink *pl = data; in phylink_link_handler() [all …]
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_phylink.c | 134 struct phylink *phylink; in fbnic_phylink_init() local 151 phylink = phylink_create(&fbn->phylink_config, NULL, in fbnic_phylink_init() 154 if (IS_ERR(phylink)) in fbnic_phylink_init() 155 return PTR_ERR(phylink); in fbnic_phylink_init() 157 fbn->phylink = phylink; in fbnic_phylink_init()
|
| H A D | fbnic_netdev.h | 41 struct phylink *phylink; member
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_netdev.c | 111 err = phylink_of_phy_connect(port->phylink, port->of_node, 0); in sparx5_port_open() 117 phylink_start(port->phylink); in sparx5_port_open() 135 phylink_stop(port->phylink); in sparx5_port_open() 136 phylink_disconnect_phy(port->phylink); in sparx5_port_open() 149 phylink_stop(port->phylink); in sparx5_port_stop() 150 phylink_disconnect_phy(port->phylink); in sparx5_port_stop() 322 if (port && port->phylink) { in sparx5_destroy_netdevs() 326 phylink_disconnect_phy(port->phylink); in sparx5_destroy_netdevs() 328 phylink_destroy(port->phylink); in sparx5_destroy_netdevs() 329 port->phylink = NULL; in sparx5_destroy_netdevs()
|
| /linux-6.15/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_mdio.c | 129 struct phylink *phylink; in ngbe_phylink_init() local 145 phylink = phylink_create(config, NULL, phy_mode, &ngbe_mac_ops); in ngbe_phylink_init() 146 if (IS_ERR(phylink)) in ngbe_phylink_init() 147 return PTR_ERR(phylink); in ngbe_phylink_init() 149 wx->phylink = phylink; in ngbe_phylink_init()
|
| H A D | ngbe_main.c | 329 phylink_stop(wx->phylink); in ngbe_down() 354 phylink_start(wx->phylink); in ngbe_up() 383 err = phylink_connect_phy(wx->phylink, wx->phydev); in ngbe_open() 401 phylink_disconnect_phy(wx->phylink); in ngbe_open() 430 phylink_disconnect_phy(wx->phylink); in ngbe_close() 717 phylink_destroy(wx->phylink); in ngbe_probe() 748 phylink_destroy(wx->phylink); in ngbe_remove()
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-mac.c | 349 phylink_start(mac->phylink); in dpaa2_mac_start() 356 phylink_stop(mac->phylink); in dpaa2_mac_stop() 367 struct phylink *phylink; in dpaa2_mac_connect() local 427 phylink = phylink_create(&mac->phylink_config, in dpaa2_mac_connect() 430 if (IS_ERR(phylink)) { in dpaa2_mac_connect() 431 err = PTR_ERR(phylink); in dpaa2_mac_connect() 434 mac->phylink = phylink; in dpaa2_mac_connect() 437 err = phylink_fwnode_phy_connect(mac->phylink, dpmac_node, 0); in dpaa2_mac_connect() 447 phylink_destroy(mac->phylink); in dpaa2_mac_connect() 457 phylink_disconnect_phy(mac->phylink); in dpaa2_mac_disconnect() [all …]
|
| H A D | dpaa2-mac.h | 24 struct phylink *phylink; member
|
| /linux-6.15/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet-main.c | 603 phylink_stop(fep->phylink); in fs_timeout_work() 604 phylink_start(fep->phylink); in fs_timeout_work() 684 phylink_start(fep->phylink); in fs_enet_open() 699 phylink_stop(fep->phylink); in fs_enet_close() 706 phylink_disconnect_phy(fep->phylink); in fs_enet_close() 861 struct phylink *phylink; in fs_enet_probe() local 935 if (IS_ERR(phylink)) { in fs_enet_probe() 936 ret = PTR_ERR(phylink); in fs_enet_probe() 940 fep->phylink = phylink; in fs_enet_probe() 989 phylink_destroy(fep->phylink); in fs_enet_probe() [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf_common.c | 305 struct phylink *phylink; in enetc_phylink_create() local 325 phylink = phylink_create(&pf->phylink_config, of_fwnode_handle(node), in enetc_phylink_create() 327 if (IS_ERR(phylink)) { in enetc_phylink_create() 328 err = PTR_ERR(phylink); in enetc_phylink_create() 332 priv->phylink = phylink; in enetc_phylink_create() 340 phylink_destroy(priv->phylink); in enetc_phylink_destroy()
|
| /linux-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_phy.c | 267 struct phylink *phylink; in txgbe_phylink_init() local 286 phylink = phylink_create(config, fwnode, phy_mode, &txgbe_mac_ops); in txgbe_phylink_init() 287 if (IS_ERR(phylink)) in txgbe_phylink_init() 288 return PTR_ERR(phylink); in txgbe_phylink_init() 293 ret = phylink_connect_phy(phylink, wx->phydev); in txgbe_phylink_init() 295 phylink_destroy(phylink); in txgbe_phylink_init() 300 wx->phylink = phylink; in txgbe_phylink_init() 626 phylink_destroy(wx->phylink); in txgbe_init_phy() 641 phylink_disconnect_phy(txgbe->wx->phylink); in txgbe_remove_phy() 642 phylink_destroy(txgbe->wx->phylink); in txgbe_remove_phy() [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/ |
| H A D | ucc_geth_ethtool.c | 108 return phylink_ethtool_ksettings_get(ugeth->phylink, cmd); in uec_get_ksettings() 117 return phylink_ethtool_ksettings_set(ugeth->phylink, cmd); in uec_set_ksettings() 126 return phylink_ethtool_get_pauseparam(ugeth->phylink, pause); in uec_get_pauseparam() 138 return phylink_ethtool_set_pauseparam(ugeth->phylink, pause); in uec_set_pauseparam() 313 phylink_ethtool_get_wol(ugeth->phylink, wol); in uec_get_wol() 326 ret = phylink_ethtool_set_wol(ugeth->phylink, wol); in uec_set_wol()
|
| /linux-6.15/drivers/net/usb/ |
| H A D | asix_devices.c | 366 phylink_start(priv->phylink); in ax88772_reset() 615 phylink_suspend(priv->phylink, false); in ax88772_suspend() 650 phylink_resume(priv->phylink); in ax88772_resume() 799 struct phylink *phylink; in ax88772_phylink_setup() local 818 if (IS_ERR(phylink)) in ax88772_phylink_setup() 819 return PTR_ERR(phylink); in ax88772_phylink_setup() 821 priv->phylink = phylink; in ax88772_phylink_setup() 926 phylink_destroy(priv->phylink); in ax88772_bind() 937 phylink_stop(priv->phylink); in ax88772_stop() 947 phylink_disconnect_phy(priv->phylink); in ax88772_unbind() [all …]
|
| /linux-6.15/drivers/net/ethernet/ |
| H A D | jme.c | 388 u32 phylink, bmsr; in jme_linkstat_from_phy() local 395 return phylink; in jme_linkstat_from_phy() 431 phylink = PHY_LINK_UP; in jme_check_link() 468 if (jme->phylink == phylink) { in jme_check_link() 475 jme->phylink = phylink; in jme_check_link() 548 jme->phylink = 0; in jme_check_link() 1169 u32 phylink; in jme_shutdown_nic() local 1924 jme->phylink = 0; in jme_close() 2316 jme->phylink = 0; in jme_tx_timeout() 2987 jme->phylink = 0; in jme_init_one() [all …]
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | mac-phy-support.rst | 22 the help of phylink. 26 directly by the dpaa2-eth driver or by phylink. 34 | net_device | | phylink |--| +-----+ +-----+ +-----+ +-----+ | 66 phylink instance, the dpaa2-eth driver will not bind to the connected dpmac 71 phylink) and its attached net_device driver (dpaa2-eth, dpaa2-ethsw), 184 A phylink integration is necessary only when the partner DPMAC is not of
|
| /linux-6.15/drivers/net/ethernet/freescale/fman/ |
| H A D | mac.h | 29 struct phylink *phylink; member
|
| /linux-6.15/drivers/net/ethernet/atheros/ |
| H A D | ag71xx.c | 371 struct phylink *phylink; member 1076 struct phylink *phylink; in ag71xx_phylink_setup() local 1111 if (IS_ERR(phylink)) in ag71xx_phylink_setup() 1112 return PTR_ERR(phylink); in ag71xx_phylink_setup() 1114 ag->phylink = phylink; in ag71xx_phylink_setup() 1424 phylink_start(ag->phylink); in ag71xx_open() 1430 phylink_disconnect_phy(ag->phylink); in ag71xx_open() 1438 phylink_stop(ag->phylink); in ag71xx_stop() 1439 phylink_disconnect_phy(ag->phylink); in ag71xx_stop() 1589 phylink_stop(ag->phylink); in ag71xx_restart_work_func() [all …]
|
| /linux-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.c | 192 phylink_start(port->phylink); in lan966x_port_open() 202 phylink_stop(port->phylink); in lan966x_port_stop() 203 phylink_disconnect_phy(port->phylink); in lan966x_port_stop() 756 if (port->phylink) { in lan966x_cleanup_ports() 760 phylink_destroy(port->phylink); in lan966x_cleanup_ports() 761 port->phylink = NULL; in lan966x_cleanup_ports() 791 struct phylink *phylink; in lan966x_probe_port() local 851 phylink = phylink_create(&port->phylink_config, in lan966x_probe_port() 855 if (IS_ERR(phylink)) { in lan966x_probe_port() 857 return PTR_ERR(phylink); in lan966x_probe_port() [all …]
|
| /linux-6.15/drivers/net/pcs/ |
| H A D | Kconfig | 18 This module provides helpers to phylink for managing the Lynx PCS 25 This module provides helpers to phylink for managing the LynxI PCS
|
| /linux-6.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot.h | 49 struct phylink *phylink; member
|
| H A D | ocelot_net.c | 540 phylink_start(priv->phylink); in ocelot_port_open() 549 phylink_stop(priv->phylink); in ocelot_port_stop() 1739 struct phylink *phylink; in ocelot_port_phylink_create() local 1776 if (IS_ERR(phylink)) { in ocelot_port_phylink_create() 1777 err = PTR_ERR(phylink); in ocelot_port_phylink_create() 1782 priv->phylink = phylink; in ocelot_port_phylink_create() 1787 phylink_destroy(phylink); in ocelot_port_phylink_create() 1788 priv->phylink = NULL; in ocelot_port_phylink_create() 1871 if (priv->phylink) { in ocelot_release_port() 1873 phylink_disconnect_phy(priv->phylink); in ocelot_release_port() [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 62 return phylink_ethtool_ksettings_get(mac_dev->phylink, cmd); in dpaa_get_link_ksettings() 71 return phylink_ethtool_ksettings_set(mac_dev->phylink, cmd); in dpaa_set_link_ksettings() 99 return phylink_ethtool_nway_reset(mac_dev->phylink); in dpaa_nway_reset() 108 phylink_ethtool_get_pauseparam(mac_dev->phylink, epause); in dpaa_get_pauseparam() 117 return phylink_ethtool_set_pauseparam(mac_dev->phylink, epause); in dpaa_set_pauseparam()
|