Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Dvf.c708 u32 links_reg; in ixgbevf_check_mac_link_vf() local
719 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_check_mac_link_vf()
720 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbevf_check_mac_link_vf()
731 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_check_mac_link_vf()
733 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbevf_check_mac_link_vf()
738 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbevf_check_mac_link_vf()
798 u32 links_reg; in ixgbevf_hv_check_mac_link_vf() local
808 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf()
809 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbevf_hv_check_mac_link_vf()
820 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c419 u32 links_reg; in ixgbe_start_mac_link_82598() local
433 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82598()
435 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
436 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82598()
440 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82598()
500 u32 links_reg; in ixgbe_check_mac_link_82598() local
543 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
546 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_82598()
553 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
556 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_82598()
[all …]
Dixgbe_82599.c511 u32 links_reg; in ixgbe_start_mac_link_82599() local
538 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82599()
540 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599()
541 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82599()
545 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82599()
777 u32 pma_pmd_10g_serial, pma_pmd_1g, link_mode, links_reg, i; in ixgbe_setup_mac_link_82599() local
858 links_reg = 0; /*Just in case Autoneg time=0*/ in ixgbe_setup_mac_link_82599()
860 links_reg = in ixgbe_setup_mac_link_82599()
862 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_setup_mac_link_82599()
866 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_setup_mac_link_82599()
Dixgbe_common.c3283 u32 links_reg, links_orig; in ixgbe_check_mac_link_generic() local
3318 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3320 if (links_orig != links_reg) { in ixgbe_check_mac_link_generic()
3322 links_orig, links_reg); in ixgbe_check_mac_link_generic()
3327 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
3334 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3337 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
3344 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3345 if (!(links_reg & IXGBE_LINKS_UP)) { in ixgbe_check_mac_link_generic()
3357 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbe_check_mac_link_generic()
[all …]