Home
last modified time | relevance | path

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

12345

/linux/drivers/net/
H A Dmii.c93 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 Dbcm84881.c167 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in bcm84881_read_status()
192 if (phydev->autoneg == AUTONEG_ENABLE) in bcm84881_read_status()
H A Dphy.c372 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 Dax88796b.c80 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in asix_ax88772a_read_status()
H A Ddp83td510.c250 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
259 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
H A Dmarvell-88q2xxx.c341 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 Dphy_device.c694 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 Dvitesse.c514 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 Dmeson-gxl.c155 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
H A Dmarvell-88x2222.c340 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 Demac-ethtool.c178 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 Ddpaa2-switch-ethtool.c90 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 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/drivers/net/ethernet/atheros/alx/
H A Dethtool.c151 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 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/drivers/net/ethernet/microchip/
H A Dencx24j600.c201 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 Dxgbe-ethtool.c277 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 Dxgbe-mdio.c1226 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 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/drivers/net/ethernet/atheros/atl1e/
H A 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/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c337 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 Dqcom-phy-lib.c326 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 Dpch_gbe_ethtool.c387 ((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 Dipoib_ethtool.c216 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
/linux/drivers/net/usb/
H A 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()

12345