Home
last modified time | relevance | path

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

123456

/openbmc/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()
/openbmc/linux/drivers/net/phy/
H A Ddp83td510.c126 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
135 if (phydev->autoneg == AUTONEG_ENABLE) { in dp83td510_read_status()
H A Dbcm84881.c155 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) in bcm84881_read_status()
180 if (phydev->autoneg == AUTONEG_ENABLE) in bcm84881_read_status()
H A Dphy.c363 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 Dax88796b.c80 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) in asix_ax88772a_read_status()
H A Dvitesse.c347 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 Dphy_device.c666 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 Dmeson-gxl.c155 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_read_status()
H A Dmarvell-88x2222.c342 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 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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/drivers/net/phy/
H A Dmeson-gxl.c41 if (phydev->autoneg == AUTONEG_ENABLE) { in meson_gxl_startup()
H A Dphy.c180 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 Dxilinx_phy.c46 if (AUTONEG_ENABLE == phydev->autoneg) { in xilinxphy_startup()
/openbmc/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()
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 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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_ethtool.c214 cmd->base.autoneg = AUTONEG_ENABLE; in ipoib_get_link_ksettings()
/openbmc/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()
/openbmc/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()

123456