Lines Matching refs:duplex

408 	unsigned int duplex;  member
458 unsigned int duplex) in phylink_cap_from_speed_duplex() argument
464 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex()
765 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
768 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
806 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
819 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink()
830 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink()
849 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink()
1011 if (state->duplex == DUPLEX_FULL) { in phylink_resolve_an_pause()
1069 int duplex) in phylink_pcs_link_up() argument
1072 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex); in phylink_pcs_link_up()
1095 st.duplex = DUPLEX_UNKNOWN; in phylink_mac_config()
1269 state->duplex = DUPLEX_UNKNOWN; in phylink_mac_pcs_get_state()
1273 state->duplex = pl->link_config.duplex; in phylink_mac_pcs_get_state()
1349 int speed, duplex; in phylink_link_up() local
1353 duplex = link_state.duplex; in phylink_link_up()
1363 duplex = DUPLEX_FULL; in phylink_link_up()
1373 duplex = DUPLEX_HALF; in phylink_link_up()
1384 duplex); in phylink_link_up()
1387 pl->cur_interface, speed, duplex, in phylink_link_up()
1396 phy_duplex_to_str(link_state.duplex), in phylink_link_up()
1487 link_state.duplex = in phylink_resolve()
1488 pl->phy_state.duplex; in phylink_resolve()
1652 pl->link_config.duplex = DUPLEX_UNKNOWN; in phylink_create()
1736 pl->phy_state.duplex = phydev->duplex; in phylink_phy_change()
1752 phy_duplex_to_str(phydev->duplex), in phylink_phy_change()
1827 pl->phy_state.duplex = DUPLEX_UNKNOWN; in phylink_bringup_phy()
2302 kset->base.duplex = state->duplex; in phylink_get_ksettings()
2416 s = phy_lookup_setting(kset->base.speed, kset->base.duplex, in phylink_ethtool_ksettings_set()
2426 s->duplex != pl->link_config.duplex) in phylink_ethtool_ksettings_set()
2432 config.duplex = s->duplex; in phylink_ethtool_ksettings_set()
2448 config.duplex = DUPLEX_UNKNOWN; in phylink_ethtool_ksettings_set()
2500 pl->link_config.duplex = config.duplex; in phylink_ethtool_ksettings_set()
2743 fs.duplex = state->duplex; in phylink_mii_emul_read()
3104 config.duplex = DUPLEX_UNKNOWN; in phylink_sfp_config_phy()
3172 config.duplex = DUPLEX_UNKNOWN; in phylink_sfp_config_optical()
3377 state->duplex = DUPLEX_FULL; in phylink_resolve_c73()
3402 state->duplex = DUPLEX_FULL; in phylink_decode_c37_word()
3434 state->duplex = DUPLEX_FULL; in phylink_decode_sgmii_word()
3436 state->duplex = DUPLEX_HALF; in phylink_decode_sgmii_word()
3476 state->duplex = DUPLEX_FULL; in phylink_decode_usxgmii_word()
3478 state->duplex = DUPLEX_HALF; in phylink_decode_usxgmii_word()
3512 state->duplex = DUPLEX_FULL; in phylink_decode_usgmii_word()
3514 state->duplex = DUPLEX_HALF; in phylink_decode_usgmii_word()
3724 state->duplex = DUPLEX_FULL; in phylink_mii_c45_pcs_get_state()