/linux/drivers/net/ |
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()
|
A 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/drivers/net/phy/ |
A D | phy.c | 320 if (phydev->autoneg == AUTONEG_ENABLE) in phy_mii_ioctl() 335 phydev->autoneg = AUTONEG_ENABLE; in phy_mii_ioctl() 787 if (autoneg != AUTONEG_ENABLE && autoneg != AUTONEG_DISABLE) in phy_ethtool_ksettings_set() 790 if (autoneg == AUTONEG_ENABLE && linkmode_empty(advertising)) in phy_ethtool_ksettings_set() 812 phydev->advertising, autoneg == AUTONEG_ENABLE); in phy_ethtool_ksettings_set() 848 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_down() 880 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_up() 1396 if (phydev->autoneg == AUTONEG_ENABLE) { in phy_ethtool_set_eee()
|
A D | bcm84881.c | 155 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in bcm84881_read_status() 180 if (phydev->autoneg == AUTONEG_ENABLE) in bcm84881_read_status()
|
A D | phy_device.c | 600 dev->autoneg = AUTONEG_ENABLE; in phy_device_create() 2170 if (AUTONEG_ENABLE != phydev->autoneg) in __genphy_config_aneg() 2196 if (phydev->autoneg != AUTONEG_ENABLE) in genphy_c37_config_aneg() 2293 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in genphy_update_link() 2304 if (phydev->autoneg == AUTONEG_ENABLE) { in genphy_read_lpa() 2396 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_read_status() 2412 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_read_status() 2442 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_c37_read_status() 2449 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_c37_read_status() 2495 if (phydev->autoneg == AUTONEG_ENABLE) in genphy_soft_reset()
|
A D | ax88796b.c | 80 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in asix_ax88772a_read_status()
|
A D | vitesse.c | 357 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable() 392 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()
|
A D | marvell-88x2222.c | 343 if (phydev->autoneg == AUTONEG_ENABLE) { in mv2222_read_status_10g() 371 if (phydev->autoneg == AUTONEG_ENABLE && in mv2222_read_status_1g()
|
A D | meson-gxl.c | 162 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch-ethtool.c | 83 link_ksettings->base.autoneg = AUTONEG_ENABLE; in dpaa2_switch_get_link_ksettings() 119 if (link_ksettings->base.autoneg == AUTONEG_ENABLE) in dpaa2_switch_set_link_ksettings()
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
A 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/drivers/net/ethernet/ibm/ehea/ |
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/ |
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/stmicro/stmmac/ |
A 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/drivers/net/ethernet/ibm/emac/ |
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/ |
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() 950 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings() 1023 priv->autoneg = AUTONEG_ENABLE; in encx24j600_spi_probe()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A 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() 375 if ((cmd->base.autoneg == AUTONEG_ENABLE) && in xgbe_set_link_ksettings() 388 if (cmd->base.autoneg == AUTONEG_ENABLE) in xgbe_set_link_ksettings()
|
A 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() 1577 pdata->phy.autoneg = AUTONEG_ENABLE; in xgbe_phy_init()
|
A D | xgbe-phy-v2.c | 734 pdata->phy.autoneg = AUTONEG_ENABLE; in xgbe_phy_sfp_phy_settings() 735 pdata->phy.pause_autoneg = AUTONEG_ENABLE; in xgbe_phy_sfp_phy_settings() 755 pdata->phy.autoneg = AUTONEG_ENABLE; in xgbe_phy_sfp_phy_settings() 756 pdata->phy.pause_autoneg = AUTONEG_ENABLE; in xgbe_phy_sfp_phy_settings() 1849 if (pdata->phy.autoneg != AUTONEG_ENABLE) { in xgbe_phy_an_config() 2357 if (pdata->phy.autoneg == AUTONEG_ENABLE) { in xgbe_phy_check_mode() 2618 if ((pdata->phy.autoneg == AUTONEG_ENABLE) && in xgbe_phy_link_status() 2634 if (pdata->phy.autoneg == AUTONEG_ENABLE && in xgbe_phy_link_status()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
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/ |
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/ |
A D | prestera_ethtool.c | 337 if (type != port->caps.type && ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_port_type_set() 524 ecmd->base.autoneg = port->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in prestera_ethtool_get_link_ksettings() 664 if (ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_ethtool_set_link_ksettings()
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
A D | pch_gbe_ethtool.c | 379 ((hw->mac.fc_autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE); in pch_gbe_get_pauseparam() 416 if (hw->mac.fc_autoneg == AUTONEG_ENABLE) { in pch_gbe_set_pauseparam()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_ethtool.c | 214 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
|
/linux/drivers/net/usb/ |
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()
|