Lines Matching refs:duplex
125 phy_duplex_to_str(phydev->duplex), in phy_print_status()
242 bool phy_check_valid(int speed, int duplex, unsigned long *features) in phy_check_valid() argument
244 return phy_caps_valid(speed, duplex, features); in phy_check_valid()
260 c = phy_caps_lookup(phydev->speed, phydev->duplex, phydev->supported, in phy_sanitize_settings()
265 phydev->duplex = c->duplex; in phy_sanitize_settings()
269 phydev->duplex = DUPLEX_UNKNOWN; in phy_sanitize_settings()
282 cmd->base.duplex = phydev->duplex; in phy_ethtool_ksettings_get()
361 phydev->duplex = DUPLEX_FULL; in phy_mii_ioctl()
363 phydev->duplex = DUPLEX_HALF; in phy_mii_ioctl()
1162 u8 duplex = cmd->base.duplex; in phy_ethtool_ksettings_set() local
1187 (duplex != DUPLEX_HALF && in phy_ethtool_ksettings_set()
1188 duplex != DUPLEX_FULL))) in phy_ethtool_ksettings_set()
1196 phydev->duplex = duplex; in phy_ethtool_ksettings_set()