Home
last modified time | relevance | path

Searched refs:SPEED_UNKNOWN (Results 1 – 25 of 132) sorted by relevance

123456

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c76 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 Dethtool.c200 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 Dphy-core.c54 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 Dncn26000.c97 phydev->speed = SPEED_UNKNOWN; in ncn26000_read_status()
H A Ddp83td510.c112 phydev->speed = SPEED_UNKNOWN; in dp83td510_read_status()
H A Dbcm84881.c159 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status()
H A Dmarvell-88x2222.c262 phydev->speed != SPEED_UNKNOWN) { in mv2222_setup_forced()
434 phydev->speed = SPEED_UNKNOWN; in mv2222_read_status()
H A Dphylink.c244 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 Dipoib_ethtool.c179 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 Dbr_device.c275 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 Dprestera_ethtool.c480 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 Dpcs-xpcs.c538 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 Dpcs-lynx.c235 case SPEED_UNKNOWN: in lynx_pcs_link_up_sgmii()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-mdio.c1102 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 Dxgbe-main.c156 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_default_config()
/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-netdev.c251 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 Dhw.c70 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 Dehea_ethtool.c54 speed = SPEED_UNKNOWN; in ehea_get_link_ksettings()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c1424 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 Dlinkmodes.c186 if (info->speed == SPEED_UNKNOWN) in ethnl_auto_linkmodes()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c45 cmd->base.speed = SPEED_UNKNOWN; in atl1c_get_link_ksettings()
/openbmc/linux/include/uapi/linux/
H A Dethtool.h1904 #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 Dsparx5_main.c800 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 Dnfp_net_main.c517 [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 Dethtool.h1962 #define SPEED_UNKNOWN -1 macro
1966 return speed <= INT_MAX || speed == (uint32_t)SPEED_UNKNOWN; in ethtool_validate_speed()

123456