Home
last modified time | relevance | path

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

/dragonfly/sys/dev/netif/ix/
H A Dixgbe_82598.c561 u32 links_reg; in ixgbe_start_mac_link_82598() local
578 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82598()
580 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
581 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82598()
585 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82598()
646 u32 links_reg; in ixgbe_check_mac_link_82598() local
691 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
694 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_82598()
701 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
704 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_82598()
[all …]
H A Dixgbe_82599.c615 u32 links_reg; in ixgbe_start_mac_link_82599() local
650 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82599()
652 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599()
653 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82599()
657 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82599()
901 u32 links_reg; in ixgbe_setup_mac_link_82599() local
975 links_reg = 0; /*Just in case Autoneg time=0*/ in ixgbe_setup_mac_link_82599()
977 links_reg = in ixgbe_setup_mac_link_82599()
979 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_setup_mac_link_82599()
983 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_setup_mac_link_82599()
H A Dixgbe_common.c4178 u32 links_reg, links_orig; in ixgbe_check_mac_link_generic() local
4215 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
4217 if (links_orig != links_reg) { in ixgbe_check_mac_link_generic()
4219 links_orig, links_reg); in ixgbe_check_mac_link_generic()
4224 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
4231 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
4234 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_generic()
4240 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbe_check_mac_link_generic()
4244 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_generic()
4254 if (links_reg & IXGBE_LINKS_SPEED_NON_STD) in ixgbe_check_mac_link_generic()