Home
last modified time | relevance | path

Searched refs:old_link (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c39 if (priv->old_link != phydev->link) { in bcmgenet_mii_setup()
41 priv->old_link = phydev->link; in bcmgenet_mii_setup()
297 priv->old_link = -1; in bcmgenet_mii_probe()
Dbcmgenet.h609 int old_link; member
Dbcmgenet.c3428 priv->old_link = -1; in bcmgenet_netif_stop()
/drivers/net/ethernet/amd/
Dau1000_eth.h88 int old_link; /* used by au1000_adjust_link */ member
Dau1000_eth.c447 if (phydev->link != aup->old_link) { in au1000_adjust_link()
456 aup->old_link = phydev->link; in au1000_adjust_link()
549 aup->old_link = 0; in au1000_mii_probe()
/drivers/net/ethernet/
Dethoc.c223 int old_link; member
676 if (priv->old_link != phydev->link) { in ethoc_mdio_poll()
678 priv->old_link = phydev->link; in ethoc_mdio_poll()
716 priv->old_link = -1; in ethoc_mdio_probe()
753 priv->old_link = -1; in ethoc_open()
/drivers/net/ethernet/rdc/
Dr6040.c191 int old_link; member
980 if (lp->old_link != phydev->link) { in r6040_adjust_link()
982 lp->old_link = phydev->link; in r6040_adjust_link()
1019 lp->old_link = 0; in r6040_mii_probe()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h296 int old_link; member
Db44.h409 int old_link; member
Dbcmsysport.h732 int old_link; member
Db44.c2219 if (bp->old_link != phydev->link) { in b44_adjust_link()
2221 bp->old_link = phydev->link; in b44_adjust_link()
2313 bp->old_link = 0; in b44_register_phy_one()
Dbcmsysport.c1412 if (priv->old_link != phydev->link) { in bcm_sysport_adj_link()
1414 priv->old_link = phydev->link; in bcm_sysport_adj_link()
1999 priv->old_link = -1; in bcm_sysport_open()
Dbcm63xx_enet.c801 if (priv->old_link != phydev->link) { in bcm_enet_adjust_phy_link()
803 priv->old_link = phydev->link; in bcm_enet_adjust_phy_link()
926 priv->old_link = 0; in bcm_enet_open()
Dtg3.h3275 int old_link; member
Dtg3.c2067 if (phydev->link != tp->old_link || in tg3_adjust_link()
2073 tp->old_link = phydev->link; in tg3_adjust_link()
15477 tp->old_link = -1; in tg3_phy_init_link_config()
/drivers/net/phy/
Dphy_device.c2421 int err, old_link = phydev->link; in genphy_read_status() local
2429 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_read_status()
2467 int lpa, err, old_link = phydev->link; in genphy_c37_read_status() local
2475 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_c37_read_status()
Dat803x.c918 int ss, err, old_link = phydev->link; in at803x_read_status() local
926 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in at803x_read_status()
/drivers/net/ethernet/intel/ice/
Dice_main.c935 bool old_link; in ice_link_event() local
940 old_link = !!(phy_info->link_info_old.link_info & ICE_AQ_LINK_UP); in ice_link_event()
972 if (link_up == old_link && link_speed == old_link_speed) in ice_link_event()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c9885 bool new_link, old_link; in i40e_link_event() local
9893 old_link = (pf->hw.phy.link_info_old.link_info & I40E_AQ_LINK_UP); in i40e_link_event()
9912 if (new_link == old_link && in i40e_link_event()
9934 if (new_link == old_link) in i40e_link_event()