Home
last modified time | relevance | path

Searched refs:autoc (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c206 static int prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) in prot_autoc_write_82599() argument
227 IXGBE_WRITE_REG(hw, IXGBE_AUTOC, autoc); in prot_autoc_write_82599()
329 u32 autoc = 0; in ixgbe_get_link_capabilities_82599() local
351 autoc = hw->mac.orig_autoc; in ixgbe_get_link_capabilities_82599()
353 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82599()
355 switch (autoc & IXGBE_AUTOC_LMS_MASK) { in ixgbe_get_link_capabilities_82599()
379 if (autoc & IXGBE_AUTOC_KR_SUPP) in ixgbe_get_link_capabilities_82599()
381 if (autoc & IXGBE_AUTOC_KX4_SUPP) in ixgbe_get_link_capabilities_82599()
383 if (autoc & IXGBE_AUTOC_KX_SUPP) in ixgbe_get_link_capabilities_82599()
390 if (autoc & IXGBE_AUTOC_KR_SUPP) in ixgbe_get_link_capabilities_82599()
[all …]
Dixgbe_82598.c177 u32 autoc = 0; in ixgbe_get_link_capabilities_82598() local
185 autoc = hw->mac.orig_autoc; in ixgbe_get_link_capabilities_82598()
187 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82598()
189 switch (autoc & IXGBE_AUTOC_LMS_MASK) { in ixgbe_get_link_capabilities_82598()
208 if (autoc & IXGBE_AUTOC_KX4_SUPP) in ixgbe_get_link_capabilities_82598()
210 if (autoc & IXGBE_AUTOC_KX_SUPP) in ixgbe_get_link_capabilities_82598()
589 u32 autoc = curr_autoc; in ixgbe_setup_mac_link_82598() local
590 u32 link_mode = autoc & IXGBE_AUTOC_LMS_MASK; in ixgbe_setup_mac_link_82598()
602 autoc &= ~IXGBE_AUTOC_KX4_KX_SUPP_MASK; in ixgbe_setup_mac_link_82598()
604 autoc |= IXGBE_AUTOC_KX4_SUPP; in ixgbe_setup_mac_link_82598()
[all …]