Home
last modified time | relevance | path

Searched refs:links_reg (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82598.c548 u32 links_reg; in ixgbe_start_mac_link_82598() local
565 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82598()
567 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
568 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82598()
572 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82598()
633 u32 links_reg; in ixgbe_check_mac_link_82598() local
678 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
681 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_82598()
688 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
691 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_82598()
[all …]
H A Dixgbe_82599.c457 u32 links_reg; in ixgbe_start_mac_link_82599() local
477 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82599()
479 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599()
480 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82599()
484 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82599()
843 u32 links_reg; in ixgbe_setup_mac_link_82599() local
913 links_reg = 0; /*Just in case Autoneg time=0*/ in ixgbe_setup_mac_link_82599()
915 links_reg = in ixgbe_setup_mac_link_82599()
917 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_setup_mac_link_82599()
921 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_setup_mac_link_82599()
H A Dixgbe_common.c3623 u32 links_reg, links_orig; in ixgbe_check_mac_link_generic() local
3631 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3633 if (links_orig != links_reg) { in ixgbe_check_mac_link_generic()
3635 links_orig, links_reg); in ixgbe_check_mac_link_generic()
3640 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
3647 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3650 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_generic()
3656 if ((links_reg & IXGBE_LINKS_SPEED_82599) == in ixgbe_check_mac_link_generic()
3659 else if ((links_reg & IXGBE_LINKS_SPEED_82599) == in ixgbe_check_mac_link_generic()
3662 else if ((links_reg & IXGBE_LINKS_SPEED_82599) == in ixgbe_check_mac_link_generic()