Home
last modified time | relevance | path

Searched refs:adjust_link (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/net/dsa/
Dport.c568 if (ds->ops->adjust_link && phydev) in dsa_port_phylink_mac_link_down()
569 ds->ops->adjust_link(ds, dp->index, phydev); in dsa_port_phylink_mac_link_down()
587 if (ds->ops->adjust_link && phydev) in dsa_port_phylink_mac_link_up()
588 ds->ops->adjust_link(ds, dp->index, phydev); in dsa_port_phylink_mac_link_up()
633 if (ds->ops->adjust_link) in dsa_port_setup_phy_of()
634 ds->ops->adjust_link(ds, port, phydev); in dsa_port_setup_phy_of()
669 if (ds->ops->adjust_link) in dsa_port_fixed_link_register_of()
670 ds->ops->adjust_link(ds, port, phydev); in dsa_port_fixed_link_register_of()
718 if (!ds->ops->adjust_link) { in dsa_port_link_register_of()
744 if (!ds->ops->adjust_link && dp->pl) { in dsa_port_link_unregister_of()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
Dmac.h67 void (*adjust_link)(struct mac_device *mac_dev); member
Dmac.c485 mac_dev->adjust_link = adjust_link_dtsec; in setup_dtsec()
505 mac_dev->adjust_link = adjust_link_void; in setup_tgec()
525 mac_dev->adjust_link = adjust_link_memac; in setup_memac()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h82 void (*adjust_link)(struct net_device *dev); member
Dfs_enet-main.c700 if(fep->ops->adjust_link) in fs_adjust_link()
701 fep->ops->adjust_link(dev); in fs_adjust_link()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_device.c281 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_suspend()
310 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_resume()
947 phydev->adjust_link(netdev); in phy_link_change()
967 phydev->adjust_link = handler; in phy_prepare_link()
1053 phydev->adjust_link = NULL; in phy_disconnect()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c1339 goto adjust_link; in xgbe_phy_status()
1348 goto adjust_link; in xgbe_phy_status()
1376 adjust_link: in xgbe_phy_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c241 if (h->dev->ops->adjust_link) { in hns_nic_set_link_ksettings()
243 h->dev->ops->adjust_link(h, (int)speed, cmd->base.duplex); in hns_nic_set_link_ksettings()
363 h->dev->ops->adjust_link(h, speed, duplex); in __lb_up()
Dhnae.c412 !hdev->ops->get_status || !hdev->ops->adjust_link) in hnae_ae_register()
Dhns_dsaf_mac.h353 int (*adjust_link)(void *mac_drv, enum mac_speed speed, member
Dhns_dsaf_mac.c143 if (mac_ctrl_drv->adjust_link) { in hns_mac_adjust_link()
144 ret = mac_ctrl_drv->adjust_link(mac_ctrl_drv, in hns_mac_adjust_link()
Dhnae.h481 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex); member
Dhns_dsaf_gmac.c728 mac_drv->adjust_link = hns_gmac_adjust_link; in hns_gmac_config()
Dhns_ae_adapt.c963 .adjust_link = hns_ae_adjust_link,
Dhns_dsaf_xgmac.c821 mac_drv->adjust_link = NULL; in hns_xgmac_config()
Dhns_enet.c1109 h->dev->ops->adjust_link(h, ndev->phydev->speed, in hns_nic_adjust_link()
1569 ops->adjust_link(h, speed, duplex); in hns_enable_serdes_lb()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h484 void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex); member
/kernel/linux/linux-5.10/include/net/
Ddsa.h449 void (*adjust_link)(struct dsa_switch *ds, int port, member
/kernel/linux/linux-5.10/drivers/net/dsa/
Dvitesse-vsc73xx-core.c1046 .adjust_link = vsc73xx_adjust_link,
Dlan9303-core.c1271 .adjust_link = lan9303_adjust_link,
/kernel/linux/linux-5.10/Documentation/networking/
Dphy.rst178 static void adjust_link(struct net_device *dev);
187 phydev = phy_connect(dev, phy_name, &adjust_link, interface);
/kernel/linux/linux-5.10/include/linux/
Dphy.h642 void (*adjust_link)(struct net_device *dev); member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar.c1616 static void adjust_link(struct net_device *dev) in adjust_link() function
1699 phydev = of_phy_connect(dev, priv->phy_node, &adjust_link, 0, in init_phy()
Ducc_geth.c1578 static void adjust_link(struct net_device *dev) in adjust_link() function
1732 phydev = of_phy_connect(dev, ug_info->phy_node, &adjust_link, 0, in init_phy()
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Ddsa.rst396 - ``adjust_link``: Function invoked by the PHY library when a slave network device

12