Lines Matching full:duplex
63 * phy_duplex_to_str - Return string describing the duplex
65 * @duplex: Duplex setting to describe
67 const char *phy_duplex_to_str(unsigned int duplex) in phy_duplex_to_str() argument
69 if (duplex == DUPLEX_HALF) in phy_duplex_to_str()
71 if (duplex == DUPLEX_FULL) in phy_duplex_to_str()
73 if (duplex == DUPLEX_UNKNOWN) in phy_duplex_to_str()
155 /* A mapping of all SUPPORTED settings to speed/duplex. This table
160 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \
274 * @duplex: duplex to match
279 * duplex, and which is supported.
289 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument
298 if (p->speed == speed && p->duplex == duplex) { in phy_lookup_setting()
299 /* Exact match for speed and duplex */ in phy_lookup_setting()
425 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause()
440 * speed and duplex. If full duplex was negotiated, extract the pause mode
453 phydev->duplex = settings[i].duplex; in phy_resolve_aneg_linkmode()
508 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()