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
81 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \
184 * @duplex: duplex to match
189 * duplex, and which is supported.
199 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument
208 if (p->speed == speed && p->duplex == duplex) { in phy_lookup_setting()
209 /* Exact match for speed and duplex */ in phy_lookup_setting()
343 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause()
358 * speed and duplex. If full duplex was negotiated, extract the pause mode
371 phydev->duplex = settings[i].duplex; in phy_resolve_aneg_linkmode()
426 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()