Lines Matching refs:duplex

257  * Set all possible pause, speed and duplex linkmodes in @linkmodes that are
408 unsigned int duplex;
448 * phylink_cap_from_speed_duplex - Get mac capability from speed/duplex
450 * @duplex: the duplex to search for
452 * Find the mac capability for a given speed and duplex.
454 * Return: A mask with the mac capability patching @speed and @duplex, or 0 if
458 unsigned int duplex)
464 duplex == phylink_caps_params[i].duplex)
581 * max speed at full duplex.
585 /* Although a duplex-matching phy might exist, we
587 * will not be aware of the half-duplex nature of the
596 /* The MAC must support half duplex at the interface's max
765 pl->link_config.duplex = DUPLEX_HALF;
767 if (fwnode_property_read_bool(fixed_node, "full-duplex"))
768 pl->link_config.duplex = DUPLEX_FULL;
806 pl->link_config.duplex = prop[1] ?
819 pl->link_config.duplex != DUPLEX_FULL)
820 phylink_warn(pl, "fixed link specifies half duplex for %dMbps link?\n",
830 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex,
848 phylink_warn(pl, "fixed link %s duplex %dMbps not recognised\n",
849 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half",
1011 if (state->duplex == DUPLEX_FULL) {
1069 int duplex)
1072 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex);
1095 st.duplex = DUPLEX_UNKNOWN;
1269 state->duplex = DUPLEX_UNKNOWN;
1273 state->duplex = pl->link_config.duplex;
1349 int speed, duplex;
1353 duplex = link_state.duplex;
1363 duplex = DUPLEX_FULL;
1373 duplex = DUPLEX_HALF;
1384 duplex);
1387 pl->cur_interface, speed, duplex,
1396 phy_duplex_to_str(link_state.duplex),
1481 * link speed/duplex comes from the PHY
1487 link_state.duplex =
1488 pl->phy_state.duplex;
1652 pl->link_config.duplex = DUPLEX_UNKNOWN;
1736 pl->phy_state.duplex = phydev->duplex;
1752 phy_duplex_to_str(phydev->duplex),
1827 pl->phy_state.duplex = DUPLEX_UNKNOWN;
2302 kset->base.duplex = state->duplex;
2336 * represent the supported speeds/duplex/pause modes.
2396 * link_config.{speed,duplex,an_enabled,pause} are not used.
2414 * duplex.
2416 s = phy_lookup_setting(kset->base.speed, kset->base.duplex,
2426 s->duplex != pl->link_config.duplex)
2432 config.duplex = s->duplex;
2448 config.duplex = DUPLEX_UNKNOWN;
2500 pl->link_config.duplex = config.duplex;
2743 fs.duplex = state->duplex;
3104 config.duplex = DUPLEX_UNKNOWN;
3172 config.duplex = DUPLEX_UNKNOWN;
3377 state->duplex = DUPLEX_FULL;
3402 state->duplex = DUPLEX_FULL;
3434 state->duplex = DUPLEX_FULL;
3436 state->duplex = DUPLEX_HALF;
3446 * (speed, duplex) into the phylink_link_state structure.
3476 state->duplex = DUPLEX_FULL;
3478 state->duplex = DUPLEX_HALF;
3489 * (speed, duplex) into the phylink_link_state structure. The structure for this
3512 state->duplex = DUPLEX_FULL;
3514 state->duplex = DUPLEX_HALF;
3724 state->duplex = DUPLEX_FULL;