/linux-6.3-rc2/drivers/net/ethernet/apm/xgene-v2/ |
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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
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-6.3-rc2/drivers/net/phy/ |
A D | phy-core.c | 54 case SPEED_UNKNOWN: in phy_speed_to_str() 471 int i, speed = SPEED_UNKNOWN; in phy_check_downshift() 476 phydev->speed == SPEED_UNKNOWN) in phy_check_downshift() 487 if (speed == SPEED_UNKNOWN || phydev->speed >= speed) in phy_check_downshift() 512 return SPEED_UNKNOWN; in phy_resolve_min_speed() 519 if (min_common_speed == SPEED_UNKNOWN) in phy_speed_down_core()
|
A D | ncn26000.c | 97 phydev->speed = SPEED_UNKNOWN; in ncn26000_read_status()
|
A D | bcm84881.c | 159 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status()
|
A D | dp83td510.c | 125 phydev->speed = SPEED_UNKNOWN; in dp83td510_read_status()
|
A D | marvell-88x2222.c | 263 phydev->speed != SPEED_UNKNOWN) { in mv2222_setup_forced() 435 phydev->speed = SPEED_UNKNOWN; in mv2222_read_status()
|
A D | phylink.c | 220 return SPEED_UNKNOWN; in phylink_interface_max_speed() 225 return SPEED_UNKNOWN; in phylink_interface_max_speed() 1144 state->speed = SPEED_UNKNOWN; in phylink_mac_pcs_get_state() 1532 pl->link_config.speed = SPEED_UNKNOWN; in phylink_create() 1688 pl->phy_state.speed = SPEED_UNKNOWN; in phylink_bringup_phy() 2276 config.speed = SPEED_UNKNOWN; in phylink_ethtool_ksettings_set() 2932 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_phy() 3001 config.speed = SPEED_UNKNOWN; in phylink_sfp_config_optical()
|
/linux-6.3-rc2/drivers/infiniband/ulp/ipoib/ |
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()
|
/linux-6.3-rc2/net/bridge/ |
A D | br_device.c | 268 cmd->base.speed = SPEED_UNKNOWN; in br_get_link_ksettings() 280 if (ecmd.base.speed == (__u32)SPEED_UNKNOWN) in br_get_link_ksettings() 283 if (cmd->base.speed == (__u32)SPEED_UNKNOWN || in br_get_link_ksettings()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
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-6.3-rc2/drivers/net/pcs/ |
A D | pcs-xpcs.c | 350 int max = SPEED_UNKNOWN; in xpcs_get_max_usxgmii_speed() 578 int speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() 582 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() 642 state->speed = SPEED_UNKNOWN; in xpcs_resolve_pma() 972 state->speed = SPEED_UNKNOWN; in xpcs_get_state_c37_sgmii()
|
A D | pcs-lynx.c | 237 case SPEED_UNKNOWN: in lynx_pcs_link_up_sgmii()
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
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() 1365 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_status_result() 1592 return SPEED_UNKNOWN; in xgbe_phy_best_advertised_speed() 1628 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_init()
|
A D | xgbe-main.c | 156 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_default_config()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/alx/ |
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-6.3-rc2/drivers/net/ethernet/ibm/ehea/ |
A D | ehea_ethtool.c | 54 speed = SPEED_UNKNOWN; in ehea_get_link_ksettings()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-qos.c | 582 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_setup_taprio() 820 port->qos.link_speed = SPEED_UNKNOWN; in am65_cpsw_qos_link_down()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_ethtool.c | 45 cmd->base.speed = SPEED_UNKNOWN; in atl1c_get_link_ksettings()
|
/linux-6.3-rc2/net/ethtool/ |
A D | linkmodes.c | 186 if (info->speed == SPEED_UNKNOWN) in ethnl_auto_linkmodes()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_main.c | 797 conf->speed = SPEED_UNKNOWN; in mchp_sparx5_probe() 798 conf->bandwidth = SPEED_UNKNOWN; in mchp_sparx5_probe()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | ethtool.h | 1904 #define SPEED_UNKNOWN -1 macro 1908 return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN; in ethtool_validate_speed()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
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-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
A D | thunder_bgx.c | 955 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link() 978 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link() 1024 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_link() 1033 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_link()
|