Lines Matching refs:duplex
380 unsigned int duplex; member
412 unsigned int duplex) in phylink_cap_from_speed_duplex() argument
418 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex()
701 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
704 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
742 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
755 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink()
763 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink()
775 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink()
939 if (state->duplex == DUPLEX_FULL) { in phylink_resolve_flow()
970 phy_duplex_to_str(state->duplex), in phylink_mac_config()
1111 state->duplex = DUPLEX_UNKNOWN; in phylink_mac_pcs_get_state()
1115 state->duplex = pl->link_config.duplex; in phylink_mac_pcs_get_state()
1192 int speed, duplex; in phylink_link_up() local
1196 duplex = link_state.duplex; in phylink_link_up()
1206 duplex = DUPLEX_FULL; in phylink_link_up()
1216 duplex = DUPLEX_HALF; in phylink_link_up()
1224 pl->cur_interface, speed, duplex); in phylink_link_up()
1227 pl->cur_interface, speed, duplex, in phylink_link_up()
1236 phy_duplex_to_str(link_state.duplex), in phylink_link_up()
1327 link_state.duplex = in phylink_resolve()
1328 pl->phy_state.duplex; in phylink_resolve()
1499 pl->link_config.duplex = DUPLEX_UNKNOWN; in phylink_create()
1564 pl->phy_state.duplex = phydev->duplex; in phylink_phy_change()
1580 phy_duplex_to_str(phydev->duplex), in phylink_phy_change()
1655 pl->phy_state.duplex = DUPLEX_UNKNOWN; in phylink_bringup_phy()
2104 kset->base.duplex = state->duplex; in phylink_get_ksettings()
2212 s = phy_lookup_setting(kset->base.speed, kset->base.duplex, in phylink_ethtool_ksettings_set()
2222 s->duplex != pl->link_config.duplex) in phylink_ethtool_ksettings_set()
2228 config.duplex = s->duplex; in phylink_ethtool_ksettings_set()
2244 config.duplex = DUPLEX_UNKNOWN; in phylink_ethtool_ksettings_set()
2295 pl->link_config.duplex = config.duplex; in phylink_ethtool_ksettings_set()
2539 fs.duplex = state->duplex; in phylink_mii_emul_read()
2900 config.duplex = DUPLEX_UNKNOWN; in phylink_sfp_config_phy()
2969 config.duplex = DUPLEX_UNKNOWN; in phylink_sfp_config_optical()
3162 state->duplex = DUPLEX_FULL; in phylink_decode_c37_word()
3200 state->duplex = DUPLEX_FULL; in phylink_decode_sgmii_word()
3202 state->duplex = DUPLEX_HALF; in phylink_decode_sgmii_word()
3242 state->duplex = DUPLEX_FULL; in phylink_decode_usxgmii_word()
3244 state->duplex = DUPLEX_HALF; in phylink_decode_usxgmii_word()
3454 state->duplex = DUPLEX_FULL; in phylink_mii_c45_pcs_get_state()