Lines Matching defs:duplex
1876 netdev_info(tp->dev, "Link is up at %d Mbps, %s duplex\n",
2025 if (phydev->duplex == DUPLEX_HALF)
2056 if (phydev->speed == SPEED_1000 && phydev->duplex == DUPLEX_HALF)
2069 phydev->duplex != tp->link_config.active_duplex ||
2075 tp->link_config.active_duplex = phydev->duplex;
2141 phydev->duplex = tp->link_config.duplex;
2566 /* Set full-duplex, 1000 mbps. */
4054 tp->link_config.duplex = phydev->duplex;
4275 static void tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex)
4280 *duplex = DUPLEX_HALF;
4285 *duplex = DUPLEX_FULL;
4290 *duplex = DUPLEX_HALF;
4295 *duplex = DUPLEX_FULL;
4300 *duplex = DUPLEX_HALF;
4305 *duplex = DUPLEX_FULL;
4312 *duplex = (val & MII_TG3_AUX_STAT_FULL) ? DUPLEX_FULL :
4317 *duplex = DUPLEX_UNKNOWN;
4454 tp->link_config.active_duplex = tp->link_config.duplex;
4479 if (tp->link_config.duplex == DUPLEX_FULL)
4543 tp->link_config.duplex = DUPLEX_FULL;
4545 tp->link_config.duplex = DUPLEX_HALF;
4947 tp->link_config.duplex == current_duplex) {
5911 if (tp->link_config.duplex == DUPLEX_FULL)
10249 * run at gigabit with half duplex.
12219 cmd->base.duplex = tp->link_config.active_duplex;
12232 cmd->base.duplex = DUPLEX_UNKNOWN;
12260 cmd->base.duplex != DUPLEX_FULL &&
12261 cmd->base.duplex != DUPLEX_HALF)
12301 if (cmd->base.duplex != DUPLEX_FULL)
12317 tp->link_config.duplex = DUPLEX_UNKNOWN;
12321 tp->link_config.duplex = cmd->base.duplex;
15464 tp->link_config.duplex = DUPLEX_UNKNOWN;