Lines Matching refs:speed

42 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed);
1774 static s32 ixgbe_setup_sgmii(struct ixgbe_hw *hw, ixgbe_link_speed speed,
1834 return hw->phy.ops.setup_link_speed(hw, speed, autoneg_wait);
1841 static s32 ixgbe_setup_sgmii_fw(struct ixgbe_hw *hw, ixgbe_link_speed speed,
1905 return hw->phy.ops.setup_link_speed(hw, speed, autoneg_wait);
1969 * @speed: pointer to link speed
1973 ixgbe_link_speed *speed,
1981 *speed = hw->phy.speeds_supported;
1996 *speed = IXGBE_LINK_SPEED_1GB_FULL;
2002 *speed = IXGBE_LINK_SPEED_10GB_FULL |
2005 *speed = IXGBE_LINK_SPEED_10GB_FULL;
2010 *speed = IXGBE_LINK_SPEED_1GB_FULL;
2017 *speed = IXGBE_LINK_SPEED_2_5GB_FULL;
2021 *speed = IXGBE_LINK_SPEED_1GB_FULL;
2027 *speed = IXGBE_LINK_SPEED_10GB_FULL |
2227 * ixgbe_setup_kr_speed_x550em - Configure the KR PHY for link speed.
2229 * @speed: link speed
2234 ixgbe_link_speed speed)
2250 if (speed & IXGBE_LINK_SPEED_10GB_FULL)
2254 if (speed & IXGBE_LINK_SPEED_1GB_FULL)
2474 * ixgbe_set_mdio_speed - Set MDIO clock speed
2488 /* Config MDIO clock speed before the first MDIO PHY access */
2495 /* Select fast MDIO clock speed for these devices */
2707 ixgbe_link_speed speed,
2729 ixgbe_setup_kr_speed_x550em(hw, speed);
2746 * @speed: the link speed to force
2751 static s32 ixgbe_setup_sfi_x550a(struct ixgbe_hw *hw, ixgbe_link_speed *speed)
2757 /* Disable all AN and force speed to 10G Serial. */
2769 /* Select forced link speed for internal PHY. */
2770 switch (*speed) {
2799 ixgbe_link_speed speed,
2842 ret_val = ixgbe_setup_sfi_x550a(hw, &speed);
2845 ixgbe_setup_kr_speed_x550em(hw, speed);
2967 * @speed: the link speed to force
2970 * internal and external PHY at a specific speed, without autonegotiation.
2972 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed)
2982 /* Disable AN and force speed to 10G Serial. */
2992 /* Select forced link speed for internal PHY. */
2993 switch (*speed) {
3062 * interrupt from the X557 PHY. This function configures the link speed
3063 * between the PHYs to match the link speed of the BASE-T link.
3073 u16 speed;
3091 &speed);
3102 /* clear everything but the speed and duplex bits */
3103 speed &= IXGBE_MDIO_AUTO_NEG_VENDOR_STATUS_MASK;
3105 switch (speed) {
3119 speed = IXGBE_LINK_SPEED_10GB_FULL |
3121 return ixgbe_setup_kr_speed_x550em(hw, speed);
3136 /* Disable AN and force speed to 10G Serial. */
3765 * Sets bus link width and speed to unknown because X550em is
3774 hw->bus.speed = ixgbe_bus_speed_unknown;
3835 u16 an_10g_cntl_reg, autoneg_reg, speed;
3873 /* If no valid LCD link speed, then force link down and exit. */
3879 &speed);
3884 /* If no link now, speed is invalid so take link down */
3889 /* clear everything but the speed bits */
3890 speed &= IXGBE_MDIO_AUTO_NEG_VEN_STAT_SPEED_MASK;
3892 /* If current speed is already LCD, then exit. */
3893 if (((speed == IXGBE_MDIO_AUTO_NEG_VENDOR_STATUS_1GB) &&
3895 ((speed == IXGBE_MDIO_AUTO_NEG_VENDOR_STATUS_10GB) &&
3924 /* Setup link at least common link speed */
3927 /* restore autoneg from before setting lplu speed */
3936 * @lcd_speed: pointer to lowest common link speed
3938 * Determine lowest common link speed with link partner.
4071 ixgbe_link_speed speed;
4085 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE);
4160 ixgbe_link_speed speed;
4174 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE);
4508 * ixgbe_setup_mac_link_t_X550em - Sets the auto advertised link speed
4510 * @speed: new link speed
4513 * Setup internal/external PHY link speed based on link speed, then set
4514 * external PHY auto advertised link speed.
4519 ixgbe_link_speed speed,
4527 /* Setup internal/external PHY link speed to iXFI (10G), unless
4530 if (speed & IXGBE_LINK_SPEED_10GB_FULL)
4545 return hw->phy.ops.setup_link_speed(hw, speed, autoneg_wait_to_complete);
4549 * ixgbe_check_link_t_X550em - Determine link and speed status
4551 * @speed: pointer to link speed
4557 s32 ixgbe_check_link_t_X550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
4566 status = ixgbe_check_mac_link_generic(hw, speed, link_up,