Lines Matching full:duplex
61 * phy_duplex_to_str - Return string describing the duplex
63 * @duplex: Duplex setting to describe
65 const char *phy_duplex_to_str(unsigned int duplex) in phy_duplex_to_str() argument
67 if (duplex == DUPLEX_HALF) in phy_duplex_to_str()
69 if (duplex == DUPLEX_FULL) in phy_duplex_to_str()
71 if (duplex == DUPLEX_UNKNOWN) in phy_duplex_to_str()
77 /* A mapping of all SUPPORTED settings to speed/duplex. This table
82 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \
185 * @duplex: duplex to match
190 * duplex, and which is supported.
200 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument
209 if (p->speed == speed && p->duplex == duplex) { in phy_lookup_setting()
210 /* Exact match for speed and duplex */ in phy_lookup_setting()
344 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause()
359 * speed and duplex. If full duplex was negotiated, extract the pause mode
372 phydev->duplex = settings[i].duplex; in phy_resolve_aneg_linkmode()
427 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()