Home | History | Annotate | Download | only in ixgbe

Lines Matching defs:autoc

300  * Determines the link capabilities by reading the AUTOC register.
307 u32 autoc = 0;
312 * Determine link capabilities based on the stored value of AUTOC,
313 * which represents EEPROM defaults. If AUTOC value has not been
317 autoc = hw->mac.orig_autoc;
319 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC);
321 switch (autoc & IXGBE_AUTOC_LMS_MASK) {
340 if (autoc & IXGBE_AUTOC_KX4_SUPP)
342 if (autoc & IXGBE_AUTOC_KX_SUPP)
735 * Set the link speed in the AUTOC register and restarts link.
745 u32 autoc = curr_autoc;
746 u32 link_mode = autoc & IXGBE_AUTOC_LMS_MASK;
760 autoc &= ~IXGBE_AUTOC_KX4_KX_SUPP_MASK;
762 autoc |= IXGBE_AUTOC_KX4_SUPP;
764 autoc |= IXGBE_AUTOC_KX_SUPP;
765 if (autoc != curr_autoc)
766 IXGBE_WRITE_REG(hw, IXGBE_AUTOC, autoc);
772 * ixgbe_hw This will write the AUTOC register based on the new
789 * Sets the link speed in the AUTOC register in the MAC and restarts link.
823 u32 autoc;
917 * Store the original AUTOC value if it has not been
919 * AUTOC value since the reset operation sets back to defaults.
921 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC);
923 hw->mac.orig_autoc = autoc;
925 } else if (autoc != hw->mac.orig_autoc) {
1235 u32 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC);
1236 u32 pma_pmd_10g = autoc & IXGBE_AUTOC_10G_PMA_PMD_MASK;
1237 u32 pma_pmd_1g = autoc & IXGBE_AUTOC_1G_PMA_PMD_MASK;
1244 /* Copper PHY must be checked before AUTOC LMS to determine correct
1262 switch (autoc & IXGBE_AUTOC_LMS_MASK) {
1280 if (autoc & IXGBE_AUTOC_KX_SUPP)
1282 if (autoc & IXGBE_AUTOC_KX4_SUPP)