Lines Matching refs:link

226 	/* link setup */
232 /* check for link */
237 /* link info */
764 * When forcing link to 10 Full or 10 Half, the PHY can reverse the polarity
766 * the PHY until we have established the link partner's link parameters.
773 bool link;
794 * This loop will early-out if the NO link condition has been met.
816 /* Recommended delay time after link has been lost */
845 ret_val = e1000_phy_has_link_generic(hw, PHY_FORCE_TIME, 100000, &link);
993 /* Setup link and flow control */
998 * important that we do this after we have tried to establish link
1000 * is no link.
1008 * e1000_setup_link_82543 - Setup flow control and link settings
1013 * the generic setup link function, which does the following:
1015 * control. Calls the appropriate media-specific link configuration
1016 * function. Assuming the adapter has a valid link partner, a valid link
1054 * e1000_setup_copper_link_82543 - Configure copper link settings
1057 * Configures the link for auto-neg or forced speed and duplex. Then we check
1058 * for link, once link is established calls to configure collision distance
1065 bool link = true;
1114 * Check link status. Wait up to 100 microseconds for link to become
1118 &link);
1123 if (link) {
1124 DEBUGOUT("Valid link established!!!\n");
1125 /* Config the MAC and PHY after link is up */
1135 DEBUGOUT("Unable to establish link!!!\n");
1143 * e1000_setup_fiber_link_82543 - Setup link for fiber
1147 * successful setup, poll for link.
1158 /* Take the link out of reset */
1188 * e1000_check_for_copper_link_82543 - Check for link (Copper)
1191 * Checks the phy for link, if link exists, do the following:
1195 * - configure flow control after link up
1204 bool link;
1213 ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link);
1217 if (!link)
1218 goto out; /* No link detected */
1226 * we have already determined whether we have link or not.
1233 * interrupt state to its previous value except for the link
1272 * different link partner.
1280 * auto-negotiated link. These are conditions for checking the link
1281 * partner capability register. We use the link speed to determine if
1282 * TBI compatibility needs to be turned on or off. If the link is not
1289 DEBUGOUT("Error getting link speed and duplex\n");
1294 * If link speed is not set to gigabit speed,
1310 * turn it on. For compatibility with a TBI link
1328 * e1000_check_for_fiber_link_82543 - Check for link (Fiber)
1331 * Checks for link up on the hardware. If link is not up and we have
1332 * a signal, then we need to force link up.
1347 * If we don't have link (auto-negotiation failed or link partner
1349 * and our link partner is not trying to auto-negotiate with us (we
1350 * are receiving idles or data), we need to force link up. We also
1363 DEBUGOUT("NOT RXing /C/, disable AutoNeg and force link.\n");
1368 /* Force link-up and also force full-duplex. */
1373 /* Configure Flow Control after forcing link up. */
1381 * If we are forcing link and we are receiving /C/ ordered
1383 * and disable forced link in the Device Control register
1384 * in an attempt to auto-negotiate with our link partner.
1386 DEBUGOUT("RXing /C/, enable AutoNeg and stop forcing link.\n");