/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()
|
/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()
|
/linux/net/bridge/ |
H A D | br_device.c | 259 cmd->base.speed = SPEED_UNKNOWN; in br_get_link_ksettings() 271 if (ecmd.base.speed == (__u32)SPEED_UNKNOWN) in br_get_link_ksettings() 274 if (cmd->base.speed == (__u32)SPEED_UNKNOWN || in br_get_link_ksettings()
|
/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()
|
/linux/drivers/net/phy/ |
H A D | ncn26000.c | 97 phydev->speed = SPEED_UNKNOWN; in ncn26000_read_status()
|
H A D | marvell-88x2222.c | 260 phydev->speed != SPEED_UNKNOWN) { in mv2222_setup_forced() 432 phydev->speed = SPEED_UNKNOWN; in mv2222_read_status()
|
H A D | bcm84881.c | 171 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status()
|
H A D | dp83tg720.c | 239 phydev->speed = SPEED_UNKNOWN; in dp83tg720_read_status()
|
H A D | phylink.c | 257 return SPEED_UNKNOWN; in phylink_interface_max_speed() 262 return SPEED_UNKNOWN; in phylink_interface_max_speed() 1061 st.speed = SPEED_UNKNOWN; in phylink_mac_config() 1302 state->speed = SPEED_UNKNOWN; in phylink_mac_pcs_get_state() 1710 pl->link_config.speed = SPEED_UNKNOWN; in phylink_create() 1937 pl->phy_state.speed = SPEED_UNKNOWN; in phylink_bringup_phy() 2592 config.speed = SPEED_UNKNOWN; in phylink_ethtool_ksettings_set() 3228 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_phy() 3293 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_optical()
|
H A D | dp83td510.c | 236 phydev->speed = SPEED_UNKNOWN; in dp83td510_read_status()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_phylink.c | 39 state->speed = SPEED_UNKNOWN; in fbnic_phylink_pcs_get_state()
|
/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()
|
/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()
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-netdev.c | 289 trigger_data->link_speed = SPEED_UNKNOWN; in set_device_name() 592 trigger_data->link_speed = SPEED_UNKNOWN; in netdev_trig_notify()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_ethtool.c | 54 speed = SPEED_UNKNOWN; in ehea_get_link_ksettings()
|
/linux/drivers/net/pcs/ |
H A D | pcs-lynx.c | 234 case SPEED_UNKNOWN: in lynx_pcs_link_up_sgmii()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 1439 return SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_speed() 1450 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_link_mode() 1965 return SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_speed() 1976 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_link_mode()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 957 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link() 980 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link() 1026 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_link() 1035 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_link()
|
/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 388 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_iet_commit_preemptible_tcs() 855 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_taprio_replace() 1314 port->qos.link_speed = SPEED_UNKNOWN; in am65_cpsw_qos_link_down()
|
/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()
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 2172 #define SPEED_UNKNOWN -1 macro 2176 return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN; in ethtool_validate_speed()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_ethtool.c | 45 cmd->base.speed = SPEED_UNKNOWN; in atl1c_get_link_ksettings()
|
/linux/net/ethtool/ |
H A D | linkmodes.c | 186 if (info->speed == SPEED_UNKNOWN) in ethnl_auto_linkmodes()
|
/linux/net/batman-adv/ |
H A D | bat_v_elp.c | 138 if (throughput && throughput != SPEED_UNKNOWN) in batadv_v_elp_get_throughput()
|