Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ixgbevf/
H A 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()
822 if (!(links_reg & IXGBE_LINKS_UP)) in ixgbevf_hv_check_mac_link_vf()
[all …]
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c420 u32 links_reg; in ixgbe_start_mac_link_82598() local
434 links_reg = 0; /* Just in case Autoneg time = 0 */ in ixgbe_start_mac_link_82598()
436 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
437 if (links_reg & IXGBE_LINKS_KX_AN_COMP) in ixgbe_start_mac_link_82598()
441 if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { in ixgbe_start_mac_link_82598()
501 u32 links_reg; in ixgbe_check_mac_link_82598() local
544 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
547 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_82598()
554 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
557 if (links_reg & IXGBE_LINKS_UP) in ixgbe_check_mac_link_82598()
[all …]
H A 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()
H A Dixgbe_common.c3299 u32 links_reg, links_orig; in ixgbe_check_mac_link_generic() local
3334 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3336 if (links_orig != links_reg) { in ixgbe_check_mac_link_generic()
3338 links_orig, links_reg); in ixgbe_check_mac_link_generic()
3343 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
3350 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_generic()
3353 if (links_reg & IXGBE_LINKS_UP) { in ixgbe_check_mac_link_generic()
3361 if (!(links_reg & IXGBE_LINKS_UP)) { in ixgbe_check_mac_link_generic()
3373 switch (links_reg & IXGBE_LINKS_SPEED_82599) { in ixgbe_check_mac_link_generic()
3376 (links_reg & IXGBE_LINKS_SPEED_NON_STD)) in ixgbe_check_mac_link_generic()
[all …]