Home
last modified time | relevance | path

Searched refs:AUTONEG_ENABLE (Results 1 – 25 of 116) sorted by relevance

12345

/Linux-v5.4/drivers/net/phy/
Dphy.c281 if (cmd->autoneg != AUTONEG_ENABLE && cmd->autoneg != AUTONEG_DISABLE) in phy_ethtool_sset()
284 if (cmd->autoneg == AUTONEG_ENABLE && cmd->advertising == 0) in phy_ethtool_sset()
302 phydev->advertising, AUTONEG_ENABLE == cmd->autoneg); in phy_ethtool_sset()
332 if (autoneg != AUTONEG_ENABLE && autoneg != AUTONEG_DISABLE) in phy_ethtool_ksettings_set()
335 if (autoneg == AUTONEG_ENABLE && linkmode_empty(advertising)) in phy_ethtool_ksettings_set()
353 phydev->advertising, autoneg == AUTONEG_ENABLE); in phy_ethtool_ksettings_set()
436 if (phydev->autoneg == AUTONEG_ENABLE) in phy_mii_ioctl()
452 phydev->autoneg = AUTONEG_ENABLE; in phy_mii_ioctl()
622 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_down()
654 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_up()
Dvitesse.c337 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable()
372 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()
Dmarvell10g.c442 if (phydev->autoneg == AUTONEG_ENABLE) in mv3310_read_status()
446 if (phydev->autoneg != AUTONEG_ENABLE) { in mv3310_read_status()
Dphy_device.c606 dev->autoneg = AUTONEG_ENABLE; in phy_device_create()
1689 if (AUTONEG_ENABLE != phydev->autoneg) in __genphy_config_aneg()
1779 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in genphy_update_link()
1790 if (phydev->autoneg == AUTONEG_ENABLE) { in genphy_read_lpa()
1852 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_read_status()
1864 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_read_status()
1903 if (phydev->autoneg == AUTONEG_ENABLE) in genphy_soft_reset()
Dat803x.c379 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in at803x_read_status()
421 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in at803x_read_status()
Drealtek.c371 if (phydev->autoneg == AUTONEG_ENABLE) { in rtl8125_config_aneg()
389 if (phydev->autoneg == AUTONEG_ENABLE) { in rtl8125_read_status()
Dmeson-gxl.c162 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
Dlxt.c156 if (AUTONEG_ENABLE == phydev->autoneg) { in lxt973a2_read_status()
/Linux-v5.4/drivers/net/
Dmii.c89 ecmd->autoneg = AUTONEG_ENABLE; in mii_ethtool_gset()
176 cmd->base.autoneg = AUTONEG_ENABLE; in mii_ethtool_get_link_ksettings()
254 if (ecmd->autoneg != AUTONEG_DISABLE && ecmd->autoneg != AUTONEG_ENABLE) in mii_ethtool_sset()
261 if (ecmd->autoneg == AUTONEG_ENABLE) { in mii_ethtool_sset()
346 cmd->base.autoneg != AUTONEG_ENABLE) in mii_ethtool_set_link_ksettings()
353 if (cmd->base.autoneg == AUTONEG_ENABLE) { in mii_ethtool_set_link_ksettings()
Dmdio.c262 ecmd->autoneg = AUTONEG_ENABLE; in mdio45_ethtool_gset_npage()
433 cmd->base.autoneg = AUTONEG_ENABLE; in mdio45_ethtool_ksettings_get_npage()
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Dethsw-ethtool.c77 link_ksettings->base.autoneg = AUTONEG_ENABLE; in ethsw_get_link_ksettings()
109 if (link_ksettings->base.autoneg == AUTONEG_ENABLE) in ethsw_set_link_ksettings()
/Linux-v5.4/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c174 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam()
184 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam()
/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dethtool.c151 cmd->base.autoneg = AUTONEG_ENABLE; in alx_get_link_ksettings()
190 if (cmd->base.autoneg == AUTONEG_ENABLE) { in alx_set_link_ksettings()
/Linux-v5.4/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c74 AUTONEG_ENABLE : AUTONEG_DISABLE; in ehea_get_link_ksettings()
91 if (cmd->base.autoneg == AUTONEG_ENABLE) { in ehea_set_link_ksettings()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Daltr_tse_pcs.c195 if (pcs->autoneg == AUTONEG_ENABLE) in aneg_link_timer_callback()
213 if (phy_dev->autoneg == AUTONEG_ENABLE) { in tse_pcs_fix_mac_speed()
/Linux-v5.4/drivers/net/ethernet/ibm/emac/
Dphy.c114 phy->autoneg = AUTONEG_ENABLE; in genmii_setup_aneg()
215 if (phy->autoneg == AUTONEG_ENABLE && !(status & BMSR_ANEGCOMPLETE)) in genmii_poll_link()
222 if (phy->autoneg == AUTONEG_ENABLE) { in genmii_read_link()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dencx24j600.c201 if (priv->autoneg == AUTONEG_ENABLE) { in encx24j600_update_phcon1()
273 if (priv->autoneg == AUTONEG_ENABLE) in encx24j600_check_link_status()
284 priv->autoneg = AUTONEG_ENABLE; in encx24j600_check_link_status()
694 priv->autoneg = (autoneg == AUTONEG_ENABLE); in encx24j600_setlink()
954 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings()
1026 priv->autoneg = AUTONEG_ENABLE; in encx24j600_spi_probe()
/Linux-v5.4/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c49 cmd->base.autoneg = AUTONEG_ENABLE; in atl1c_get_link_ksettings()
69 if (cmd->base.autoneg == AUTONEG_ENABLE) { in atl1c_set_link_ksettings()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c277 if (pause->autoneg && (pdata->phy.autoneg != AUTONEG_ENABLE)) { in xgbe_set_pauseparam()
347 if ((cmd->base.autoneg != AUTONEG_ENABLE) && in xgbe_set_link_ksettings()
376 if ((cmd->base.autoneg == AUTONEG_ENABLE) && in xgbe_set_link_ksettings()
390 if (cmd->base.autoneg == AUTONEG_ENABLE) in xgbe_set_link_ksettings()
Dxgbe-mdio.c1196 if (pdata->phy.autoneg != AUTONEG_ENABLE) { in __xgbe_phy_config_aneg()
1298 if ((pdata->phy.autoneg != AUTONEG_ENABLE) || pdata->parallel_detect) in xgbe_phy_status_result()
1342 link_aneg = (pdata->phy.autoneg == AUTONEG_ENABLE); in xgbe_phy_status()
1579 pdata->phy.autoneg = AUTONEG_ENABLE; in xgbe_phy_init()
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c50 cmd->base.autoneg = AUTONEG_ENABLE; in atl1e_get_link_ksettings()
73 if (cmd->base.autoneg == AUTONEG_ENABLE) { in atl1e_set_link_ksettings()
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c209 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c377 ((hw->mac.fc_autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE); in pch_gbe_get_pauseparam()
414 if (hw->mac.fc_autoneg == AUTONEG_ENABLE) { in pch_gbe_set_pauseparam()
/Linux-v5.4/drivers/net/usb/
Daqc111.c332 if (autoneg == AUTONEG_ENABLE) { in aqc111_set_phy_speed()
376 if (autoneg == AUTONEG_ENABLE) { in aqc111_set_link_ksettings()
377 if (aqc111_data->autoneg != AUTONEG_ENABLE) { in aqc111_set_link_ksettings()
378 aqc111_data->autoneg = AUTONEG_ENABLE; in aqc111_set_link_ksettings()
741 aqc111_data->autoneg = AUTONEG_ENABLE; in aqc111_bind()
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c141 hw->autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE; in e1000_get_link_ksettings()
183 (cmd->base.autoneg != AUTONEG_ENABLE)) { in e1000_set_link_ksettings()
192 if (cmd->base.autoneg == AUTONEG_ENABLE) { in e1000_set_link_ksettings()
254 (adapter->fc_autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE); in e1000_get_pauseparam()
289 if (adapter->fc_autoneg == AUTONEG_ENABLE) { in e1000_set_pauseparam()

12345