• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/shared/

Lines Matching defs:link

1159     /* Don't reset the switch to avoid unncessary link down/link up */
1376 /* By default all 5 phys are put into power save if there is no link */
2288 /* Over ride IMP port status to make it link by default */
2301 /* Over ride Port0 ~ Port4 status to make it link by default */
2302 /* (Port0 ~ Port4) LINK_STS bit default is 0x1(link up), do it anyway */
2306 val8 |= 0x71; /* Make it link by default. */
2917 * Update the power save configuration for ports that changed link status.
3039 /* read the link status of all ports */
3044 /* Take the phys out of the manual mode first so that link status
3045 * can be checked. Once out of that mode check the link status
3046 * and if any of the link is up do not put that phy into
3062 /* If the link is down put it back to manual else
3066 ET_MSG(("%s: link down, set port %d to man mode\n",
3162 /* For both 5325 and 53115 the link status register is the same */
3352 printf("robo_link_down: applying EEE WAR for 53125 port %d link-down\n", phy);
3366 printf("robo_link_down: applying EEE WAR for 53125 port %d link-up\n", phy);
3395 /* link down state */
3411 /* skip check the port which is in link down state */
3480 /* read the link status of all ports */
3542 /* Add Linux API to read link status */
3543 int robo_read_link_status(int lan_wan, int *link, int *speed, int *duplex)
3554 /* Read link status summary register */
3566 *link = (reg_link & ROBO_LAN_PORTMAP);
3568 /* Check speed of link "up" ports only */
3584 *duplex = reg_duplex & *link;
3588 *link = (reg_link >> ROBO_WAN_PORT) & 0x01;