Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/dsa/
Dport.c484 if (ds->ops->adjust_link && phydev) in dsa_port_phylink_mac_link_down()
485 ds->ops->adjust_link(ds, dp->index, phydev); in dsa_port_phylink_mac_link_down()
502 if (ds->ops->adjust_link && phydev) in dsa_port_phylink_mac_link_up()
503 ds->ops->adjust_link(ds, dp->index, phydev); in dsa_port_phylink_mac_link_up()
548 if (ds->ops->adjust_link) in dsa_port_setup_phy_of()
549 ds->ops->adjust_link(ds, port, phydev); in dsa_port_setup_phy_of()
584 if (ds->ops->adjust_link) in dsa_port_fixed_link_register_of()
585 ds->ops->adjust_link(ds, port, phydev); in dsa_port_fixed_link_register_of()
633 if (!ds->ops->adjust_link) in dsa_port_link_register_of()
649 if (!ds->ops->adjust_link) { in dsa_port_link_unregister_of()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dmac.h67 void (*adjust_link)(struct mac_device *mac_dev); member
Dmac.c474 mac_dev->adjust_link = adjust_link_dtsec; in setup_dtsec()
494 mac_dev->adjust_link = adjust_link_void; in setup_tgec()
514 mac_dev->adjust_link = adjust_link_memac; in setup_memac()
/Linux-v5.4/drivers/net/phy/
Dphy_device.c281 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_suspend()
303 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_resume()
322 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_restore()
917 phydev->adjust_link(netdev); in phy_link_change()
935 phydev->adjust_link = handler; in phy_prepare_link()
1021 phydev->adjust_link = NULL; in phy_disconnect()
/Linux-v5.4/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h82 void (*adjust_link)(struct net_device *dev); member
Dfs_enet-main.c698 if(fep->ops->adjust_link) in fs_adjust_link()
699 fep->ops->adjust_link(dev); in fs_adjust_link()
/Linux-v5.4/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.c965 .adjust_link = hns_ae_adjust_link,
Dhns_dsaf_xgmac.c821 mac_drv->adjust_link = NULL; in hns_xgmac_config()
Dhns_enet.c1111 h->dev->ops->adjust_link(h, ndev->phydev->speed, in hns_nic_adjust_link()
1585 ops->adjust_link(h, speed, duplex); in hns_enable_serdes_lb()
/Linux-v5.4/include/net/
Ddsa.h372 void (*adjust_link)(struct dsa_switch *ds, int port, member
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h396 void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex); member
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c1339 goto adjust_link; in xgbe_phy_status()
1376 adjust_link: in xgbe_phy_status()
/Linux-v5.4/drivers/net/dsa/
Dvitesse-vsc73xx-core.c1037 .adjust_link = vsc73xx_adjust_link,
Dqca8k.c1027 .adjust_link = qca8k_adjust_link,
Drtl8366rb.c1422 .adjust_link = rtl8366rb_adjust_link,
Dlan9303-core.c1265 .adjust_link = lan9303_adjust_link,
/Linux-v5.4/include/linux/
Dphy.h442 void (*adjust_link)(struct net_device *dev); member
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.c1315 static void adjust_link(struct net_device *ndev) in adjust_link() function
1330 phydev = of_phy_connect(ndev, priv->phy_node, &adjust_link, in enetc_phy_connect()
/Linux-v5.4/Documentation/networking/
Dphy.rst178 static void adjust_link(struct net_device *dev);
187 phydev = phy_connect(dev, phy_name, &adjust_link, interface);

12