Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/net/ethernet/apm/xgene-v2/
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()
/Linux-v5.15/drivers/net/phy/
Dphy-core.c52 case SPEED_UNKNOWN: in phy_speed_to_str()
392 int i, speed = SPEED_UNKNOWN; in phy_check_downshift()
397 phydev->speed == SPEED_UNKNOWN) in phy_check_downshift()
408 if (speed == SPEED_UNKNOWN || phydev->speed >= speed) in phy_check_downshift()
433 return SPEED_UNKNOWN; in phy_resolve_min_speed()
440 if (min_common_speed == SPEED_UNKNOWN) in phy_speed_down_core()
Dphy-c45.c396 phydev->speed = SPEED_UNKNOWN; in genphy_c45_read_pma()
553 phydev->speed = SPEED_UNKNOWN; in genphy_c45_read_status()
Dbcm84881.c159 phydev->speed = SPEED_UNKNOWN; in bcm84881_read_status()
Dmarvell-88x2222.c263 phydev->speed != SPEED_UNKNOWN) { in mv2222_setup_forced()
435 phydev->speed = SPEED_UNKNOWN; in mv2222_read_status()
Dphylink.c543 state->speed = SPEED_UNKNOWN; in phylink_mac_pcs_get_state()
847 pl->link_config.speed = SPEED_UNKNOWN; in phylink_create()
1011 pl->phy_state.speed = SPEED_UNKNOWN; in phylink_bringup_phy()
1586 config.speed = SPEED_UNKNOWN; in phylink_ethtool_ksettings_set()
2176 config.speed = SPEED_UNKNOWN; in phylink_sfp_config()
/Linux-v5.15/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c179 return SPEED_UNKNOWN; in ib_speed_enum_to_int()
190 cmd->base.speed = SPEED_UNKNOWN; in ipoib_get_link_ksettings()
/Linux-v5.15/drivers/net/pcs/
Dpcs-xpcs.c338 int max = SPEED_UNKNOWN; in xpcs_get_max_usxgmii_speed()
566 int speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed()
570 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed()
630 state->speed = SPEED_UNKNOWN; in xpcs_resolve_pma()
884 state->speed = SPEED_UNKNOWN; in xpcs_get_state_c37_sgmii()
Dpcs-lynx.c249 case SPEED_UNKNOWN: in lynx_pcs_link_up_sgmii()
/Linux-v5.15/net/bridge/
Dbr_device.c268 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-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c1085 case SPEED_UNKNOWN: in xgbe_phy_speed_string()
1137 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_phy_adjust_link()
1321 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_status_result()
1542 return SPEED_UNKNOWN; in xgbe_phy_best_advertised_speed()
1578 pdata->phy.speed = SPEED_UNKNOWN; in xgbe_phy_init()
Dxgbe-main.c156 pdata->phy_speed = SPEED_UNKNOWN; in xgbe_default_config()
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c476 ecmd->base.speed = err ? SPEED_UNKNOWN : speed; in prestera_port_speed_get()
528 ecmd->base.speed = SPEED_UNKNOWN; in prestera_ethtool_get_link_ksettings()
617 if (ecmd->base.speed != SPEED_UNKNOWN) in prestera_port_speed_duplex_set()
/Linux-v5.15/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c585 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_setup_taprio()
623 port->qos.link_speed = SPEED_UNKNOWN; in am65_cpsw_qos_link_down()
/Linux-v5.15/drivers/net/ethernet/atheros/alx/
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()
/Linux-v5.15/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c54 speed = SPEED_UNKNOWN; in ehea_get_link_ksettings()
/Linux-v5.15/include/uapi/linux/
Dethtool.h1776 #define SPEED_UNKNOWN -1 macro
1780 return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN; in ethtool_validate_speed()
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.c736 conf->speed = SPEED_UNKNOWN; in mchp_sparx5_probe()
737 conf->bandwidth = SPEED_UNKNOWN; in mchp_sparx5_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c1368 return SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_speed()
1379 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp1_from_ptys_link_mode()
1813 return SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_speed()
1824 cmd->base.speed = SPEED_UNKNOWN; in mlxsw_sp2_from_ptys_link_mode()
/Linux-v5.15/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c45 cmd->base.speed = SPEED_UNKNOWN; in atl1c_get_link_ksettings()
/Linux-v5.15/drivers/net/bonding/
Dbond_procfs.c180 if (slave->speed == SPEED_UNKNOWN) in bond_info_show_slave()
/Linux-v5.15/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c955 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()
/Linux-v5.15/net/ethtool/
Dlinkmodes.c193 if (info->speed == SPEED_UNKNOWN) in ethnl_auto_linkmodes()
/Linux-v5.15/net/batman-adv/
Dbat_v_elp.c140 if (throughput && throughput != SPEED_UNKNOWN) in batadv_v_elp_get_throughput()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c274 [NFP_NET_CFG_STS_LINK_RATE_UNKNOWN] = SPEED_UNKNOWN, in nfp_net_get_link_ksettings()
292 cmd->base.speed = SPEED_UNKNOWN; in nfp_net_get_link_ksettings()
361 if (cmd->base.speed != SPEED_UNKNOWN) { in nfp_net_set_link_ksettings()

12345