• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/e1000e/

Lines Matching defs:link

241 static s32  e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link);
598 * the LPI Control register will remain set only if/when link is up.
623 * e1000_check_for_copper_link_ich8lan - Check for link (Copper)
626 * Checks to see of the link status of the hardware has changed. If a
627 * change in link status has been detected, then we read the PHY registers
628 * to get the current speed/duplex if link exists.
634 bool link;
638 * has completed and/or if our link status has changed. The
649 * link. If so, then we want to get the current speed/duplex
652 ret_val = e1000e_phy_has_link_generic(hw, 1, 0, &link);
657 ret_val = e1000_k1_gig_workaround_hv(hw, link);
662 if (!link)
663 goto out; /* No link detected */
681 * immediately after link-up
685 /* Enable/Disable EEE after link up */
692 * we have already determined whether we have link or not.
710 * different link partner.
1065 static s32 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link)
1079 /* Disable K1 when link is 1Gbps, otherwise use the NVM setting */
1080 if (link) {
1113 /* Link stall fix for link up */
1120 /* Link stall fix for link down */
1644 * leave the PHY in a bad state possibly resulting in no link.
2823 * link based on logic in e1000_led_[on|off]_pchlan().
3068 /* Setup link and flow control */
3101 * important that we do this after we have tried to establish link
3103 * is no link.
3167 * e1000_setup_link_ich8lan - Setup flow control and link settings
3171 * control. Calls the appropriate media-specific link configuration
3172 * function. Assuming the adapter has a valid link partner, a valid link
3197 * on the link partner's capabilities, we may or may not use this mode.
3204 /* Continue to configure the copper link. */
3231 * configuring the copper link.
3335 bool link;
3341 * Make sure link is up before proceeding. If not just return.
3342 * Attempting this while link is negotiating fouled up link
3345 ret_val = e1000e_phy_has_link_generic(hw, 1, 0, &link);
3346 if (!link)
3367 /* Disable GigE link negotiation */
3402 /* Disable link */
3433 * Steps to take when dropping from 1Gb/s (eg. link cable removal (LSC),
3466 * During S0 to Sx transition, it is possible the link remains at gig
3468 * 'LPLU Enabled' and 'Gig Disable' to force link speed negotiation
3575 * If no link, then turn LED on by setting the invert bit
3606 * If no link, then turn LED off by clearing the invert bit
3635 * or change link.
3654 * where there is no eeprom and prevents getting link.
3686 * e1000_power_down_phy_copper_ich8lan - Remove link during PHY power down
3689 * In the case of a PHY power down to save power, or to turn off link during a
3690 * driver unload, or wake on lan is not enabled, remove the link.