/openbmc/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()
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83td510.c | 126 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status() 135 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
|
H 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()
|
H A D | phy.c | 363 if (phydev->autoneg == AUTONEG_ENABLE) in phy_mii_ioctl() 378 phydev->autoneg = AUTONEG_ENABLE; in phy_mii_ioctl() 1060 if (autoneg != AUTONEG_ENABLE && autoneg != AUTONEG_DISABLE) in phy_ethtool_ksettings_set() 1063 if (autoneg == AUTONEG_ENABLE && linkmode_empty(advertising)) in phy_ethtool_ksettings_set() 1085 phydev->advertising, autoneg == AUTONEG_ENABLE); in phy_ethtool_ksettings_set() 1123 if (phydev->autoneg != AUTONEG_ENABLE) in phy_speed_down() 1164 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 | vitesse.c | 347 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable() 382 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()
|
H A D | phy_device.c | 666 dev->autoneg = AUTONEG_ENABLE; in phy_device_create() 2258 if (AUTONEG_ENABLE != phydev->autoneg) in __genphy_config_aneg() 2284 if (phydev->autoneg != AUTONEG_ENABLE) in genphy_c37_config_aneg() 2381 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in genphy_update_link() 2392 if (phydev->autoneg == AUTONEG_ENABLE) { in genphy_read_lpa() 2484 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_read_status() 2504 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_read_status() 2534 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) in genphy_c37_read_status() 2541 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { in genphy_c37_read_status() 2587 if (phydev->autoneg == AUTONEG_ENABLE) in genphy_soft_reset()
|
H A D | meson-gxl.c | 155 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
|
H A D | marvell-88x2222.c | 342 if (phydev->autoneg == AUTONEG_ENABLE) { in mv2222_read_status_10g() 370 if (phydev->autoneg == AUTONEG_ENABLE && in mv2222_read_status_1g()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | meson-gxl.c | 41 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_startup()
|
H A D | phy.c | 180 if (phydev->autoneg != AUTONEG_ENABLE) in genphy_config_aneg() 237 if ((phydev->autoneg == AUTONEG_ENABLE) && in genphy_update_link() 294 if (phydev->autoneg == AUTONEG_ENABLE) { in genphy_parse_link() 652 dev->autoneg = AUTONEG_ENABLE; in phy_device_create()
|
H A D | xilinx_phy.c | 46 if (AUTONEG_ENABLE == phydev->autoneg) { in xilinxphy_startup()
|
/openbmc/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() 950 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings() 1023 priv->autoneg = AUTONEG_ENABLE; in encx24j600_spi_probe()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 214 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
|
/openbmc/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()
|
/openbmc/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()
|