Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_vf.c588 u32 links_reg; in ixgbe_check_mac_link_vf() local
600 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbe_check_mac_link_vf()
601 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbe_check_mac_link_vf()
612 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbe_check_mac_link_vf()
614 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbe_check_mac_link_vf()
619 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbe_check_mac_link_vf()
623 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_vf()
633 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_vf()
H A Dixgbe_82598.c562 u32 links_reg; in ixgbe_start_mac_link_82598() local
579 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82598()
581 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
582 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82598()
586 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82598()
647 u32 links_reg; in ixgbe_check_mac_link_82598() local
692 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
695 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_82598()
702 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
705 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_82598()
[all …]
H A Dixgbe_82599.c616 u32 links_reg; in ixgbe_start_mac_link_82599() local
651 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82599()
653 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599()
654 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82599()
658 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82599()
902 u32 links_reg; in ixgbe_setup_mac_link_82599() local
976 links_reg = 0; /*Just in case Autoneg time=0*/ in ixgbe_setup_mac_link_82599()
978 links_reg = in ixgbe_setup_mac_link_82599()
980 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_setup_mac_link_82599()
984 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_setup_mac_link_82599()
H A Dixgbe_common.c4180 u32 links_reg, links_orig; in ixgbe_check_mac_link_generic() local
4217 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
4219 if (links_orig != links_reg) { in ixgbe_check_mac_link_generic()
4221 links_orig, links_reg); in ixgbe_check_mac_link_generic()
4226 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
4233 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
4236 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_generic()
4242 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbe_check_mac_link_generic()
4246 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_generic()
4256 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_generic()