/Linux-v5.4/net/dsa/ |
D | port.c | 484 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/ |
D | mac.h | 67 void (*adjust_link)(struct mac_device *mac_dev); member
|
D | mac.c | 474 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/ |
D | phy_device.c | 281 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/ |
D | fs_enet.h | 82 void (*adjust_link)(struct net_device *dev); member
|
D | fs_enet-main.c | 698 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/ |
D | hns_ethtool.c | 241 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()
|
D | hnae.c | 412 !hdev->ops->get_status || !hdev->ops->adjust_link) in hnae_ae_register()
|
D | hns_dsaf_mac.h | 353 int (*adjust_link)(void *mac_drv, enum mac_speed speed, member
|
D | hns_dsaf_mac.c | 143 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()
|
D | hnae.h | 481 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex); member
|
D | hns_dsaf_gmac.c | 728 mac_drv->adjust_link = hns_gmac_adjust_link; in hns_gmac_config()
|
D | hns_ae_adapt.c | 965 .adjust_link = hns_ae_adjust_link,
|
D | hns_dsaf_xgmac.c | 821 mac_drv->adjust_link = NULL; in hns_xgmac_config()
|
D | hns_enet.c | 1111 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/ |
D | dsa.h | 372 void (*adjust_link)(struct dsa_switch *ds, int port, member
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 396 void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex); member
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-mdio.c | 1339 goto adjust_link; in xgbe_phy_status() 1376 adjust_link: in xgbe_phy_status()
|
/Linux-v5.4/drivers/net/dsa/ |
D | vitesse-vsc73xx-core.c | 1037 .adjust_link = vsc73xx_adjust_link,
|
D | qca8k.c | 1027 .adjust_link = qca8k_adjust_link,
|
D | rtl8366rb.c | 1422 .adjust_link = rtl8366rb_adjust_link,
|
D | lan9303-core.c | 1265 .adjust_link = lan9303_adjust_link,
|
/Linux-v5.4/include/linux/ |
D | phy.h | 442 void (*adjust_link)(struct net_device *dev); member
|
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1315 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/ |
D | phy.rst | 178 static void adjust_link(struct net_device *dev); 187 phydev = phy_connect(dev, phy_name, &adjust_link, interface);
|