Lines Matching +full:probe +full:- +full:reset
1 // SPDX-License-Identifier: GPL-2.0+
54 struct qca83xx_priv *priv = phydev->priv; in qca83xx_get_stat()
67 priv->stats[i] += val; in qca83xx_get_stat()
68 ret = priv->stats[i]; in qca83xx_get_stat()
85 struct device *dev = &phydev->mdio.dev; in qca83xx_probe()
90 return -ENOMEM; in qca83xx_probe()
92 phydev->priv = priv; in qca83xx_probe()
101 switch_revision = phydev->dev_flags & QCA8K_DEVFLAGS_REVISION_MASK; in qca83xx_config_init()
143 if (phydev->state == PHY_RUNNING) { in qca83xx_link_change_notify()
144 if (phydev->speed == SPEED_100) in qca83xx_link_change_notify()
149 /* Reset DAC Amplitude adjustment */ in qca83xx_link_change_notify()
159 /* Skip reset if not suspended */ in qca83xx_resume()
160 if (!phydev->suspended) in qca83xx_resume()
163 /* Reinit the port, reset values set by suspend */ in qca83xx_resume()
166 /* Reset the port on port resume */ in qca83xx_resume()
169 /* On resume from suspend the switch execute a reset and in qca83xx_resume()
170 * restart auto-negotiation. Wait for reset to complete. in qca83xx_resume()
221 .probe = qca83xx_probe,
231 /* QCA8327-A from switch QCA8327-AL1A */
233 .name = "Qualcomm Atheros 8327-A internal PHY",
236 .probe = qca83xx_probe,
246 /* QCA8327-B from switch QCA8327-BL1A */
248 .name = "Qualcomm Atheros 8327-B internal PHY",
251 .probe = qca83xx_probe,