Lines Matching defs:link

702  *  e1000_check_for_copper_link_generic - Check for link (Copper)
705 * Checks to see of the link status of the hardware has changed. If a
706 * change in link status has been detected, then we read the PHY registers
707 * to get the current speed/duplex if link exists.
713 bool link;
718 * has completed and/or if our link status has changed. The
726 * link. If so, then we want to get the current speed/duplex
729 ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link);
733 if (!link)
734 return E1000_SUCCESS; /* No link detected */
739 * immediately after link-up
744 * we have already determined whether we have link or not.
758 * different link partner.
768 * e1000_check_for_fiber_link_generic - Check for link (Fiber)
771 * Checks for link up on the hardware. If link is not up and we have
772 * a signal, then we need to force link up.
788 /* If we don't have link (auto-negotiation failed or link partner
790 * and our link partner is not trying to auto-negotiate with us (we
791 * are receiving idles or data), we need to force link up. We also
802 DEBUGOUT("NOT Rx'ing /C/, disable AutoNeg and force link.\n");
807 /* Force link-up and also force full-duplex. */
812 /* Configure Flow Control after forcing link up. */
819 /* If we are forcing link and we are receiving /C/ ordered
821 * and disable forced link in the Device Control register
822 * in an attempt to auto-negotiate with our link partner.
824 DEBUGOUT("Rx'ing /C/, enable AutoNeg and stop forcing link.\n");
835 * e1000_check_for_serdes_link_generic - Check for link (Serdes)
838 * Checks for link up on the hardware. If link is not up and we have
839 * a signal, then we need to force link up.
855 /* If we don't have link (auto-negotiation failed or link partner
856 * cannot auto-negotiate), and our link partner is not trying to
858 * we need to force link up. We also need to give auto-negotiation
867 DEBUGOUT("NOT Rx'ing /C/, disable AutoNeg and force link.\n");
872 /* Force link-up and also force full-duplex. */
877 /* Configure Flow Control after forcing link up. */
884 /* If we are forcing link and we are receiving /C/ ordered
886 * and disable forced link in the Device Control register
887 * in an attempt to auto-negotiate with our link partner.
889 DEBUGOUT("Rx'ing /C/, enable AutoNeg and stop forcing link.\n");
895 /* If we force link for non-auto-negotiation switch, check
896 * link status based on MAC synchronization for internal
993 * e1000_setup_link_generic - Setup flow control and link settings
997 * control. Calls the appropriate media-specific link configuration
998 * function. Assuming the adapter has a valid link partner, a valid link
1008 /* In the case of the phy reset being blocked, we already have a link.
1024 * on the link partner's capabilities, we may or may not use this mode.
1031 /* Call the necessary media_type subroutine to configure the link. */
1121 * e1000_poll_fiber_serdes_link_generic - Poll for link up
1124 * Polls for link up by reading the status register, if link fails to come
1125 * up with auto-negotiation, then the link is forced if a signal is detected.
1137 * Status Register. Time-out if a link isn't seen in 500 milliseconds
1148 DEBUGOUT("Never got a valid link from auto-neg!!!\n");
1150 /* AutoNeg failed to achieve a link, so we'll call
1152 * link up if we detect a signal. This will allow us to
1153 * communicate with non-autonegotiating link partners.
1157 DEBUGOUT("Error while checking for link\n");
1170 * e1000_setup_fiber_serdes_link_generic - Setup link for fiber/serdes
1174 * links. Upon successful setup, poll for link.
1185 /* Take the link out of reset */
1194 /* Since auto-negotiation is enabled, take the link out of reset (the
1195 * link will be in reset, because we previously reset the chip). This
1197 * then the link-up status bit will be set and the flow control enable
1225 * during link setup.
1287 * also configure these bits when link is forced on a fiber connection.
1297 /* Because we didn't get link via the internal auto-negotiation
1298 * mechanism (we either forced link or we got link via PHY
1342 * e1000_config_fc_after_link_up_generic - Configures flow control after link
1345 * Checks the status of auto-negotiation after link up to ensure that the
1346 * speed and duplex were not forced. If the link needed to be forced, then
1348 * and did not fail, then we configure flow control based on our link
1362 * so we had to force link. In this case, we need to force the
1381 * has completed, and if so, how the PHY and link partner has
1419 * for both the PHY and the link partner. The following
1506 DEBUGOUT("Error getting link speed and duplex\n");
1525 * has completed, and if so, how the PHY and link partner has
1552 * for both the PHY and the link partner. The following