Lines Matching +full:auto +full:- +full:negotiation

1 // SPDX-License-Identifier: GPL-2.0+
113 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in vsc824x_config_init()
195 /* bits 14-15 in extended register 0x14 controls DACG amplitude in vsc738x_config_init()
196 * 6 = -8%, 2 is hardware default in vsc738x_config_init()
210 /* This magic sequence appears in the VSC7395 SparX-G5e application in vsc739x_config_init()
244 * with the power-on/reset defaults. Writing some registers will in vsc73xx_config_aneg()
251 * applied to "rgmii-id" interfaces. It may not work as expected
252 * on "rgmii-txid", "rgmii-rxid" or "rgmii" interfaces.
270 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in vsc8601_config_init()
283 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in vsc82xx_config_intr()
288 (phydev->drv->phy_id == PHY_ID_VSC8234 || in vsc82xx_config_intr()
289 phydev->drv->phy_id == PHY_ID_VSC8244 || in vsc82xx_config_intr()
290 phydev->drv->phy_id == PHY_ID_VSC8572 || in vsc82xx_config_intr()
291 phydev->drv->phy_id == PHY_ID_VSC8601) ? in vsc82xx_config_intr()
313 if (phydev->drv->phy_id == PHY_ID_VSC8244 || in vsc82xx_handle_interrupt()
314 phydev->drv->phy_id == PHY_ID_VSC8572 || in vsc82xx_handle_interrupt()
315 phydev->drv->phy_id == PHY_ID_VSC8601) in vsc82xx_handle_interrupt()
347 /* vsc82x4_config_autocross_enable - Enable auto MDI/MDI-X for forced links
350 * Enable auto MDI/MDI-X when in 10/100 forced link speeds by writing
357 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable()
360 /* map extended registers set 0x10 - 0x1e */ in vsc82x4_config_autocross_enable()
368 /* map standard registers set 0x10 - 0x1e */ in vsc82x4_config_autocross_enable()
377 /* vsc82x4_config_aneg - restart auto-negotiation or write BMCR
380 * Description: If auto-negotiation is enabled, we configure the
381 * advertising, and then restart auto-negotiation. If it is not
382 * enabled, then we write the BMCR and also start the auto
383 * MDI/MDI-X feature
389 /* Enable auto MDI/MDI-X when in 10/100 forced link speeds by in vsc82x4_config_aneg()
392 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()