/linux/drivers/net/ |
H A D | mii.c | 93 ecmd->autoneg = AUTONEG_ENABLE; in mii_ethtool_gset() 178 cmd->base.autoneg = AUTONEG_ENABLE; in mii_ethtool_get_link_ksettings() 252 if (ecmd->autoneg != AUTONEG_DISABLE && ecmd->autoneg != AUTONEG_ENABLE) in mii_ethtool_sset() 259 if (ecmd->autoneg == AUTONEG_ENABLE) { in mii_ethtool_sset() 344 cmd->base.autoneg != AUTONEG_ENABLE) in mii_ethtool_set_link_ksettings() 351 if (cmd->base.autoneg == AUTONEG_ENABLE) { in mii_ethtool_set_link_ksettings()
|
/linux/drivers/net/phy/ |
H A D | bcm84881.c | 167 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in bcm84881_read_status() 192 if (phydev->autoneg == AUTONEG_ENABLE) in bcm84881_read_status()
|
H A D | phy.c | 372 if (phydev->autoneg == AUTONEG_ENABLE) in phy_mii_ioctl() 387 phydev->autoneg = AUTONEG_ENABLE; in phy_mii_ioctl() 1094 if (autoneg != AUTONEG_ENABLE && autoneg != AUTONEG_DISABLE) in phy_ethtool_ksettings_set() 1097 if (autoneg == AUTONEG_ENABLE && in phy_ethtool_ksettings_set() 1122 phydev->advertising, autoneg == AUTONEG_ENABLE); in phy_ethtool_ksettings_set() 1160 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_down() 1201 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_up()
|
H A D | ax88796b.c | 80 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in asix_ax88772a_read_status()
|
H A D | dp83td510.c | 250 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status() 259 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
|
H A D | marvell-88q2xxx.c | 341 if (phydev->autoneg == AUTONEG_ENABLE) { in mv88q2xxx_read_status() 713 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed == SPEED_1000) { in mv88q222x_soft_reset() 729 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed == SPEED_1000) in mv88q222x_soft_reset()
|
H A D | phy_device.c | 694 dev->autoneg = AUTONEG_ENABLE; in phy_device_create() 2436 if (phydev->autoneg == AUTONEG_ENABLE) { in __genphy_config_aneg() 2477 if (phydev->autoneg != AUTONEG_ENABLE) in genphy_c37_config_aneg() 2574 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in genphy_update_link() 2585 if (phydev->autoneg == AUTONEG_ENABLE) { in genphy_read_lpa() 2677 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_read_status() 2697 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_read_status() 2730 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) { in genphy_c37_read_status() 2741 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_c37_read_status() 2787 if (phydev->autoneg == AUTONEG_ENABLE) in genphy_soft_reset()
|
H A D | vitesse.c | 514 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable() 549 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()
|
H A D | meson-gxl.c | 155 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
|
H A D | marvell-88x2222.c | 340 if (phydev->autoneg == AUTONEG_ENABLE) { in mv2222_read_status_10g() 368 if (phydev->autoneg == AUTONEG_ENABLE && in mv2222_read_status_1g()
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 178 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam() 188 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-ethtool.c | 90 link_ksettings->base.autoneg = AUTONEG_ENABLE; in dpaa2_switch_get_link_ksettings() 133 if (link_ksettings->base.autoneg == AUTONEG_ENABLE) in dpaa2_switch_set_link_ksettings()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
H A 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/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 151 cmd->base.autoneg = AUTONEG_ENABLE; in alx_get_link_ksettings() 191 if (cmd->base.autoneg == AUTONEG_ENABLE) { in alx_set_link_ksettings()
|
/linux/drivers/net/ethernet/ibm/emac/ |
H A 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/drivers/net/ethernet/microchip/ |
H A D | encx24j600.c | 201 if (priv->autoneg == AUTONEG_ENABLE) { in encx24j600_update_phcon1() 272 if (priv->autoneg == AUTONEG_ENABLE) in encx24j600_check_link_status() 283 priv->autoneg = AUTONEG_ENABLE; in encx24j600_check_link_status() 690 priv->autoneg = (autoneg == AUTONEG_ENABLE); in encx24j600_setlink() 952 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings() 1025 priv->autoneg = AUTONEG_ENABLE; in encx24j600_spi_probe()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 277 if (pause->autoneg && (pdata->phy.autoneg != AUTONEG_ENABLE)) { in xgbe_set_pauseparam() 352 if ((cmd->base.autoneg != AUTONEG_ENABLE) && in xgbe_set_link_ksettings() 380 if ((cmd->base.autoneg == AUTONEG_ENABLE) && in xgbe_set_link_ksettings() 393 if (cmd->base.autoneg == AUTONEG_ENABLE) in xgbe_set_link_ksettings()
|
H A D | xgbe-mdio.c | 1226 if (pdata->phy.autoneg != AUTONEG_ENABLE) { in __xgbe_phy_config_aneg() 1316 pdata->phy.autoneg == AUTONEG_ENABLE) { in xgbe_check_link_timeout() 1351 if ((pdata->phy.autoneg != AUTONEG_ENABLE) || pdata->parallel_detect) in xgbe_phy_status_result() 1403 link_aneg = (pdata->phy.autoneg == AUTONEG_ENABLE); in xgbe_phy_status() 1645 pdata->phy.autoneg = AUTONEG_ENABLE; in xgbe_phy_init()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A 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/drivers/net/ethernet/atheros/atl1e/ |
H A 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/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 337 if (type != port->caps.type && ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_port_type_set() 527 ecmd->base.autoneg = port->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in prestera_ethtool_get_link_ksettings() 670 if (ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_ethtool_set_link_ksettings()
|
/linux/drivers/net/phy/qcom/ |
H A D | qcom-phy-lib.c | 326 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in at803x_read_status() 344 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in at803x_read_status()
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 387 ((hw->mac.fc_autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE); in pch_gbe_get_pauseparam() 424 if (hw->mac.fc_autoneg == AUTONEG_ENABLE) { in pch_gbe_set_pauseparam()
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 216 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
|
/linux/drivers/net/usb/ |
H A 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()
|