Lines Matching defs:link
321 u32 link; /* 1=link on, 0=link off */
518 * based upon link status
536 /* We get called only if link has changed (speed/duplex/status) */
537 if ((priv->link) && (new_duplex != cur_duplex)) {
563 if (priv->link) {
564 /* link ON */
571 /* link OFF */
958 /* If no link, return */
959 if (unlikely(!priv->link)) {
961 dev_err(emac_dev, "DaVinci EMAC: No link to transmit");
1338 if (phydev->link) {
1348 if (!priv->link) {
1350 priv->link = 1;
1353 } else if (priv->link) {
1355 priv->link = 0;
1536 priv->link = 0;
1544 /* No PHY , fix the link, speed and duplex settings */
1546 priv->link = 1;