/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mdio.c | 76 if (pdata->phy_speed != SPEED_UNKNOWN) { in xge_adjust_link() 77 pdata->phy_speed = SPEED_UNKNOWN; in xge_adjust_link() 151 pdata->phy_speed = SPEED_UNKNOWN; in xge_mdio_config()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ethtool.c | 200 return SPEED_UNKNOWN; in mlx5i_get_speed_settings() 203 return SPEED_UNKNOWN; in mlx5i_get_speed_settings() 227 link_ksettings->base.duplex = speed == SPEED_UNKNOWN ? DUPLEX_UNKNOWN : DUPLEX_FULL; in mlx5i_get_link_ksettings()
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | 54 case SPEED_UNKNOWN: in phy_speed_to_str() 473 int i, speed = SPEED_UNKNOWN; in phy_check_downshift() 478 phydev->speed == SPEED_UNKNOWN) in phy_check_downshift() 489 if (speed == SPEED_UNKNOWN || phydev->speed >= speed) in phy_check_downshift() 514 return SPEED_UNKNOWN; in phy_resolve_min_speed() 521 if (min_common_speed == SPEED_UNKNOWN) in phy_speed_down_core()
|
H A D | ncn26000.c | 97 phydev->speed = SPEED_UNKNOWN; in ncn26000_read_status()
|
H A D | dp83td510.c | 112 phydev->speed = SPEED_UNKNOWN; in dp83td510_read_status()
|
H A D | bcm84881.c | 159 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status()
|
H A D | marvell-88x2222.c | 262 phydev->speed != SPEED_UNKNOWN) { in mv2222_setup_forced() 434 phydev->speed = SPEED_UNKNOWN; in mv2222_read_status()
|
H A D | phylink.c | 244 return SPEED_UNKNOWN; in phylink_interface_max_speed() 249 return SPEED_UNKNOWN; in phylink_interface_max_speed() 1094 st.speed = SPEED_UNKNOWN; in phylink_mac_config() 1268 state->speed = SPEED_UNKNOWN; in phylink_mac_pcs_get_state() 1651 pl->link_config.speed = SPEED_UNKNOWN; in phylink_create() 1826 pl->phy_state.speed = SPEED_UNKNOWN; in phylink_bringup_phy() 2447 config.speed = SPEED_UNKNOWN; in phylink_ethtool_ksettings_set() 3103 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_phy() 3171 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_optical()
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 179 return SPEED_UNKNOWN; in ib_speed_enum_to_int() 190 cmd->base.speed = SPEED_UNKNOWN; in ipoib_get_link_ksettings()
|
/openbmc/linux/net/bridge/ |
H A D | br_device.c | 275 cmd->base.speed = SPEED_UNKNOWN; in br_get_link_ksettings() 287 if (ecmd.base.speed == (__u32)SPEED_UNKNOWN) in br_get_link_ksettings() 290 if (cmd->base.speed == (__u32)SPEED_UNKNOWN || in br_get_link_ksettings()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 480 if (state->speed == SPEED_UNKNOWN || state->duplex == DUPLEX_UNKNOWN) { in prestera_port_link_mode_get() 484 state->speed = SPEED_UNKNOWN; in prestera_port_link_mode_get() 521 ecmd->base.speed = SPEED_UNKNOWN; in prestera_ethtool_get_link_ksettings() 595 if (speed != SPEED_UNKNOWN && in prestera_port_link_mode_set()
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-xpcs.c | 538 int speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() 542 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() 602 state->speed = SPEED_UNKNOWN; in xpcs_resolve_pma() 997 state->speed = SPEED_UNKNOWN; in xpcs_get_state_c37_sgmii()
|
H A D | pcs-lynx.c | 235 case SPEED_UNKNOWN: in lynx_pcs_link_up_sgmii()
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-mdio.c | 1102 case SPEED_UNKNOWN: in xgbe_phy_speed_string() 1154 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_phy_adjust_link() 1377 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_status_result() 1610 return SPEED_UNKNOWN; in xgbe_phy_best_advertised_speed() 1646 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_init()
|
H A D | xgbe-main.c | 156 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_default_config()
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-netdev.c | 251 trigger_data->link_speed = SPEED_UNKNOWN; in set_device_name() 461 trigger_data->link_speed = SPEED_UNKNOWN; in netdev_trig_notify()
|
/openbmc/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 104 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_write_phy_core() 788 if (hw->link_speed != SPEED_UNKNOWN) { in alx_post_phy_link() 880 hw->link_speed = SPEED_UNKNOWN; in alx_read_phy_link()
|
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_ethtool.c | 54 speed = SPEED_UNKNOWN; in ehea_get_link_ksettings()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 1424 return SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_speed() 1435 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_link_mode() 1890 return SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_speed() 1901 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_link_mode()
|
/openbmc/linux/net/ethtool/ |
H A D | linkmodes.c | 186 if (info->speed == SPEED_UNKNOWN) in ethnl_auto_linkmodes()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_ethtool.c | 45 cmd->base.speed = SPEED_UNKNOWN; in atl1c_get_link_ksettings()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ethtool.h | 1904 #define SPEED_UNKNOWN -1 macro 1908 return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN; in ethtool_validate_speed()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main.c | 800 conf->speed = SPEED_UNKNOWN; in mchp_sparx5_probe() 801 conf->bandwidth = SPEED_UNKNOWN; in mchp_sparx5_probe()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 517 [NFP_NET_CFG_STS_LINK_RATE_UNKNOWN] = SPEED_UNKNOWN, 531 return SPEED_UNKNOWN; in nfp_net_lr2speed()
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | ethtool.h | 1962 #define SPEED_UNKNOWN -1 macro 1966 return speed <= INT_MAX || speed == (uint32_t)SPEED_UNKNOWN; in ethtool_validate_speed()
|