| /Linux-v5.4/drivers/net/phy/ |
| D | phy.c | 281 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()
|
| D | vitesse.c | 337 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()
|
| D | marvell10g.c | 442 if (phydev->autoneg == AUTONEG_ENABLE) in mv3310_read_status() 446 if (phydev->autoneg != AUTONEG_ENABLE) { in mv3310_read_status()
|
| D | phy_device.c | 606 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()
|
| D | at803x.c | 379 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()
|
| D | realtek.c | 371 if (phydev->autoneg == AUTONEG_ENABLE) { in rtl8125_config_aneg() 389 if (phydev->autoneg == AUTONEG_ENABLE) { in rtl8125_read_status()
|
| D | meson-gxl.c | 162 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
|
| D | lxt.c | 156 if (AUTONEG_ENABLE == phydev->autoneg) { in lxt973a2_read_status()
|
| /Linux-v5.4/drivers/net/ |
| D | mii.c | 89 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()
|
| D | mdio.c | 262 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/ |
| D | ethsw-ethtool.c | 77 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/ |
| D | emac-ethtool.c | 174 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/ |
| D | ethtool.c | 151 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/ |
| D | ehea_ethtool.c | 74 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/ |
| D | altr_tse_pcs.c | 195 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/ |
| D | phy.c | 114 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/ |
| D | encx24j600.c | 201 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/ |
| D | atl1c_ethtool.c | 49 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/ |
| D | xgbe-ethtool.c | 277 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()
|
| D | xgbe-mdio.c | 1196 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/ |
| D | atl1e_ethtool.c | 50 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/ |
| D | ipoib_ethtool.c | 209 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
|
| /Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/ |
| D | pch_gbe_ethtool.c | 377 ((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/ |
| D | aqc111.c | 332 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/ |
| D | e1000_ethtool.c | 141 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()
|