Lines Matching +full:interrupts +full:- +full:extended

1 // SPDX-License-Identifier: GPL-2.0+
14 /* Vitesse Extended Page Magic Register(s) */
19 /* Vitesse Extended Control Register 1 */
55 /* Vitesse Extended Page Access Register */
58 /* Vitesse VSC8601 Extended PHY Control Register 1 */
108 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in vsc824x_config_init()
190 /* bits 14-15 in extended register 0x14 controls DACG amplitude in vsc738x_config_init()
191 * 6 = -8%, 2 is hardware default in vsc738x_config_init()
205 /* This magic sequence appears in the VSC7395 SparX-G5e application in vsc739x_config_init()
239 * with the power-on/reset defaults. Writing some registers will in vsc73xx_config_aneg()
246 * applied to "rgmii-id" interfaces. It may not work as expected
247 * on "rgmii-txid", "rgmii-rxid" or "rgmii" interfaces. */
264 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in vsc8601_config_init()
277 /* Don't bother to ACK the interrupts if interrupts in vsc824x_ack_interrupt()
278 * are disabled. The 824x cannot clear the interrupts in vsc824x_ack_interrupt()
281 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in vsc824x_ack_interrupt()
291 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in vsc82xx_config_intr()
293 (phydev->drv->phy_id == PHY_ID_VSC8234 || in vsc82xx_config_intr()
294 phydev->drv->phy_id == PHY_ID_VSC8244 || in vsc82xx_config_intr()
295 phydev->drv->phy_id == PHY_ID_VSC8572 || in vsc82xx_config_intr()
296 phydev->drv->phy_id == PHY_ID_VSC8601) ? in vsc82xx_config_intr()
327 /* vsc82x4_config_autocross_enable - Enable auto MDI/MDI-X for forced links
330 * Enable auto MDI/MDI-X when in 10/100 forced link speeds by writing
331 * special values in the VSC8234/VSC8244 extended reserved registers
337 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed > SPEED_100) in vsc82x4_config_autocross_enable()
340 /* map extended registers set 0x10 - 0x1e */ in vsc82x4_config_autocross_enable()
348 /* map standard registers set 0x10 - 0x1e */ in vsc82x4_config_autocross_enable()
357 /* vsc82x4_config_aneg - restart auto-negotiation or write BMCR
360 * Description: If auto-negotiation is enabled, we configure the
361 * advertising, and then restart auto-negotiation. If it is not
363 * MDI/MDI-X feature
369 /* Enable auto MDI/MDI-X when in 10/100 forced link speeds by in vsc82x4_config_aneg()
370 * writing special values in the VSC8234 extended reserved registers in vsc82x4_config_aneg()
372 if (phydev->autoneg != AUTONEG_ENABLE && phydev->speed <= SPEED_100) { in vsc82x4_config_aneg()