Lines Matching full:duplex
53 const char *phy_duplex_to_str(unsigned int duplex) in phy_duplex_to_str() argument
55 if (duplex == DUPLEX_HALF) in phy_duplex_to_str()
57 if (duplex == DUPLEX_FULL) in phy_duplex_to_str()
59 if (duplex == DUPLEX_UNKNOWN) in phy_duplex_to_str()
65 /* A mapping of all SUPPORTED settings to speed/duplex. This table
69 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \
149 * @duplex: duplex to match
154 * duplex, and which is supported.
164 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument
173 if (p->speed == speed && p->duplex == duplex) { in phy_lookup_setting()
174 /* Exact match for speed and duplex */ in phy_lookup_setting()
288 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause()
303 * speed and duplex. If full duplex was negotiated, extract the pause mode
316 phydev->duplex = settings[i].duplex; in phy_resolve_aneg_linkmode()
333 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()