Lines Matching defs:duplex
2336 * With 82543, we need to force speed and duplex on the MAC equal to
2337 * what the PHY speed and duplex configuration is. In addition, we
2560 /* Enable CRS on TX for half-duplex operation. */
2716 /* Enable CRS on TX. This must be set for half-duplex operation. */
2871 /* Enable CRS on TX for half-duplex operation. */
2912 /* Enable CRS on TX. This must be set for half-duplex operation. */
2940 /* Enable CRS on TX. This must be set for half-duplex operation. */
3120 * 1) Set up the MAC to the current PHY speed/duplex
3163 * Detects which PHY is present and setup the speed and duplex
3274 DEBUGOUT("Forcing speed and duplex\n");
3317 em_configure_kmrn_for_10_100(struct em_hw *hw, uint16_t duplex)
3341 if (duplex == HALF_DUPLEX)
3426 DEBUGOUT("Advertise 10mb Half duplex\n");
3431 DEBUGOUT("Advertise 10mb Full duplex\n");
3436 DEBUGOUT("Advertise 100mb Half duplex\n");
3441 DEBUGOUT("Advertise 100mb Full duplex\n");
3446 DEBUGOUT("Advertise 1000mb Half duplex requested, request"
3451 DEBUGOUT("Advertise 1000mb Full duplex\n");
3531 * Force PHY speed and duplex settings to hw->forced_speed_duplex
3546 /* Turn off Flow control if we are forcing speed and duplex. */
3566 /* We need to disable autoneg in order to force link and duplex. */
3574 * We want to force full duplex so we SET the full duplex
3582 * We want to force half duplex so we CLEAR the full duplex
3622 * requires MDI forced whenever speed are duplex are forced.
3646 * MDI forced whenever speed are duplex are forced.
3673 * MDI forced whenever speed or duplex are forced.
3697 * Since we are forcing speed and duplex, Auto-Neg is not enabled.
3705 DEBUGOUT("Waiting for forced speed/duplex link.\n");
3789 * duplex operation.
3816 * CRX on TX. This must be set for both full and half duplex
3836 * back to 25MHz, if we're not in a forced 10/duplex
3867 * Link should have been established previously. Reads the speed and duplex
3891 * Sets MAC speed and duplex settings to reflect the those in the PHY
3908 * speed/duplex configuration.
3921 * Set up duplex in the Device Control and Transmit Control registers
4030 uint16_t duplex;
4215 ret_val = em_get_speed_and_duplex(hw, &speed, &duplex);
4217 DEBUGOUT("Error getting link speed and duplex"
4221 if (duplex == HALF_DUPLEX)
4260 uint16_t speed, duplex;
4265 &duplex);
4302 * link. If so, then we want to get the current speed/duplex
4367 * speed/duplex are forced to 10H or 10F, then we
4392 * If we are forcing speed/duplex, then we simply return
4404 * Detection takes care of MAC speed/duplex configuration.
4406 * MAC. Otherwise, we need to force speed/duplex on the MAC
4407 * to the current PHY speed/duplex settings.
4440 uint16_t speed, duplex;
4441 ret_val = em_get_speed_and_duplex(hw, &speed, &duplex);
4443 DEBUGOUT("Error getting link speed and duplex"
4502 /* Force link-up and also force full-duplex. */
4558 uint16_t *duplex)
4564 *duplex = 0;
4590 /* Detect and store PCS duplex */
4592 *duplex = FULL_DUPLEX;
4594 *duplex = HALF_DUPLEX;
4603 * Detects the current speed and duplex settings of the hardware.
4607 * duplex - Duplex setting of the connection
4610 em_get_speed_and_duplex(struct em_hw *hw, uint16_t *speed, uint16_t *duplex)
4618 return em_get_pcs_speed_and_duplex_82575(hw, speed, duplex);
4634 *duplex = FULL_DUPLEX;
4637 *duplex = HALF_DUPLEX;
4643 *duplex = FULL_DUPLEX;
4646 * IGP01 PHY may advertise full duplex operation after speed
4647 * downgrade even if it is operating at half duplex. Here we set the
4648 * duplex settings to match the duplex in the link partner's
4657 *duplex = HALF_DUPLEX;
4667 *duplex = HALF_DUPLEX;
4675 ret_val = em_configure_kmrn_for_10_100(hw, *duplex);
8755 uint16_t phy_data, phy_saved_data, speed, duplex, i;
8766 ret_val = em_get_speed_and_duplex(hw, &speed, &duplex);
8768 DEBUGOUT("Error getting link speed and duplex\n");
11371 /* Workaround for link disconnects on a busy hub in half duplex */