Lines Matching refs:link

225 	/* link setup */
231 /* check for link */
236 /* link info */
763 * When forcing link to 10 Full or 10 Half, the PHY can reverse the polarity
765 * the PHY until we have established the link partner's link parameters.
772 bool link;
793 * This loop will early-out if the NO link condition has been met.
815 /* Recommended delay time after link has been lost */
844 ret_val = e1000_phy_has_link_generic(hw, PHY_FORCE_TIME, 100000, &link);
992 /* Setup link and flow control */
997 * important that we do this after we have tried to establish link
999 * is no link.
1007 * e1000_setup_link_82543 - Setup flow control and link settings
1012 * the generic setup link function, which does the following:
1014 * control. Calls the appropriate media-specific link configuration
1015 * function. Assuming the adapter has a valid link partner, a valid link
1053 * e1000_setup_copper_link_82543 - Configure copper link settings
1056 * Configures the link for auto-neg or forced speed and duplex. Then we check
1057 * for link, once link is established calls to configure collision distance
1064 bool link;
1113 * Check link status. Wait up to 100 microseconds for link to become
1117 &link);
1122 if (link) {
1123 DEBUGOUT("Valid link established!!!\n");
1124 /* Config the MAC and PHY after link is up */
1134 DEBUGOUT("Unable to establish link!!!\n");
1142 * e1000_setup_fiber_link_82543 - Setup link for fiber
1146 * successful setup, poll for link.
1157 /* Take the link out of reset */
1187 * e1000_check_for_copper_link_82543 - Check for link (Copper)
1190 * Checks the phy for link, if link exists, do the following:
1194 * - configure flow control after link up
1203 bool link;
1212 ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link);
1216 if (!link)
1217 goto out; /* No link detected */
1225 * we have already determined whether we have link or not.
1232 * interrupt state to its previous value except for the link
1271 * different link partner.
1279 * auto-negotiated link. These are conditions for checking the link
1280 * partner capability register. We use the link speed to determine if
1281 * TBI compatibility needs to be turned on or off. If the link is not
1288 DEBUGOUT("Error getting link speed and duplex\n");
1293 * If link speed is not set to gigabit speed,
1309 * turn it on. For compatibility with a TBI link
1327 * e1000_check_for_fiber_link_82543 - Check for link (Fiber)
1330 * Checks for link up on the hardware. If link is not up and we have
1331 * a signal, then we need to force link up.
1346 * If we don't have link (auto-negotiation failed or link partner
1348 * and our link partner is not trying to auto-negotiate with us (we
1349 * are receiving idles or data), we need to force link up. We also
1362 DEBUGOUT("NOT RXing /C/, disable AutoNeg and force link.\n");
1367 /* Force link-up and also force full-duplex. */
1372 /* Configure Flow Control after forcing link up. */
1380 * If we are forcing link and we are receiving /C/ ordered
1382 * and disable forced link in the Device Control register
1383 * in an attempt to auto-negotiate with our link partner.
1385 DEBUGOUT("RXing /C/, enable AutoNeg and stop forcing link.\n");