Home
last modified time | relevance | path

Searched refs:oldlink (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c690 if (!fep->oldlink) { in generic_adjust_link()
692 fep->oldlink = 1; in generic_adjust_link()
697 } else if (fep->oldlink) { in generic_adjust_link()
699 fep->oldlink = 0; in generic_adjust_link()
730 fep->oldlink = 0; in fs_init_phy()
Dfs_enet.h153 int oldduplex, oldspeed, oldlink; /* current settings */ member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h90 int oldlink; member
Dstmmac_main.c761 if (!priv->oldlink) { in stmmac_adjust_link()
763 priv->oldlink = 1; in stmmac_adjust_link()
765 } else if (priv->oldlink) { in stmmac_adjust_link()
767 priv->oldlink = 0; in stmmac_adjust_link()
824 priv->oldlink = 0; in stmmac_init_phy()
3095 priv->oldlink = 0; in stmmac_suspend()
/drivers/net/ethernet/altera/
Daltera_tse_main.c689 if (!priv->oldlink) { in altera_tse_adjust_link()
691 priv->oldlink = 1; in altera_tse_adjust_link()
693 } else if (priv->oldlink) { in altera_tse_adjust_link()
695 priv->oldlink = 0; in altera_tse_adjust_link()
794 priv->oldlink = 0; in init_phy()
Daltera_tse.h479 int oldlink; member
/drivers/net/ethernet/ti/
Dcpmac.c210 int oldlink, oldspeed, oldduplex; member
932 if (!priv->oldlink) { in cpmac_adjust_link()
934 priv->oldlink = 1; in cpmac_adjust_link()
936 } else if (priv->oldlink) { in cpmac_adjust_link()
938 priv->oldlink = 0; in cpmac_adjust_link()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c240 if (!priv->oldlink) { in sxgbe_adjust_link()
242 priv->oldlink = 1; in sxgbe_adjust_link()
244 } else if (priv->oldlink) { in sxgbe_adjust_link()
246 priv->oldlink = 0; in sxgbe_adjust_link()
274 priv->oldlink = 0; in sxgbe_init_phy()
Dsxgbe_common.h479 int oldlink; member
/drivers/net/ethernet/freescale/
Dgianfar.c1706 priv->oldlink = 0; in gfar_restore()
1791 priv->oldlink = 0; in init_phy()
2212 priv->oldlink = 0; in startup_gfar()
3392 if (unlikely(phydev->link != priv->oldlink || in adjust_link()
3747 if (!priv->oldlink) in gfar_update_link_state()
3748 priv->oldlink = 1; in gfar_update_link_state()
3750 } else if (priv->oldlink) { in gfar_update_link_state()
3751 priv->oldlink = 0; in gfar_update_link_state()
Ducc_geth.c1643 if (!ugeth->oldlink) { in adjust_link()
1645 ugeth->oldlink = 1; in adjust_link()
1665 } else if (ugeth->oldlink) { in adjust_link()
1667 ugeth->oldlink = 0; in adjust_link()
1732 priv->oldlink = 0; in init_phy()
3624 ugeth->oldlink = 0; in ucc_geth_resume()
Ducc_geth.h1231 int oldlink; member
Dgianfar.h1160 int oldlink; member