Home
last modified time | relevance | path

Searched refs:mdio_reset (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/atheros/
Dag71xx.c382 struct reset_control *mdio_reset; member
702 ag->mdio_reset = of_reset_control_get_exclusive(np, "mdio"); in ag71xx_mdio_probe()
703 if (IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
705 err = PTR_ERR(ag->mdio_reset); in ag71xx_mdio_probe()
717 if (!IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
718 reset_control_assert(ag->mdio_reset); in ag71xx_mdio_probe()
720 reset_control_deassert(ag->mdio_reset); in ag71xx_mdio_probe()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c369 enum xgbe_mdio_reset mdio_reset; member
2731 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) in xgbe_phy_mdio_reset()
2733 else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) in xgbe_phy_mdio_reset()
2772 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
2773 switch (phy_data->mdio_reset) { in xgbe_phy_mdio_reset_setup()
2780 phy_data->mdio_reset); in xgbe_phy_mdio_reset_setup()
2784 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) { in xgbe_phy_mdio_reset_setup()
2790 } else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) { in xgbe_phy_mdio_reset_setup()
/Linux-v5.10/drivers/net/ethernet/sis/
Dsis900.c873 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function
905 mdio_reset(sp); in mdio_read()
950 mdio_reset(sp); in mdio_write()