Lines Matching refs:ecmd
379 struct ethtool_cmd ecmd; in bond_update_speed_duplex() local
386 res = __ethtool_get_settings(slave_dev, &ecmd); in bond_update_speed_duplex()
390 slave_speed = ethtool_cmd_speed(&ecmd); in bond_update_speed_duplex()
394 switch (ecmd.duplex) { in bond_update_speed_duplex()
403 slave->duplex = ecmd.duplex; in bond_update_speed_duplex()
4015 struct ethtool_cmd *ecmd) in bond_ethtool_get_settings() argument
4022 ecmd->duplex = DUPLEX_UNKNOWN; in bond_ethtool_get_settings()
4023 ecmd->port = PORT_OTHER; in bond_ethtool_get_settings()
4034 if (ecmd->duplex == DUPLEX_UNKNOWN && in bond_ethtool_get_settings()
4036 ecmd->duplex = slave->duplex; in bond_ethtool_get_settings()
4039 ethtool_cmd_speed_set(ecmd, speed ? : SPEED_UNKNOWN); in bond_ethtool_get_settings()