Searched refs:mdio_reset (Results 1 – 3 of 3) sorted by relevance
381 struct reset_control *mdio_reset; member712 ag->mdio_reset = of_reset_control_get_exclusive(np, "mdio"); in ag71xx_mdio_probe()713 if (IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()715 err = PTR_ERR(ag->mdio_reset); in ag71xx_mdio_probe()727 if (!IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()728 reset_control_assert(ag->mdio_reset); in ag71xx_mdio_probe()730 reset_control_deassert(ag->mdio_reset); in ag71xx_mdio_probe()
372 enum xgbe_mdio_reset mdio_reset; member2802 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) in xgbe_phy_mdio_reset()2804 else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) in xgbe_phy_mdio_reset()2843 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()2844 switch (phy_data->mdio_reset) { in xgbe_phy_mdio_reset_setup()2851 phy_data->mdio_reset); in xgbe_phy_mdio_reset_setup()2855 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) { in xgbe_phy_mdio_reset_setup()2861 } else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) { in xgbe_phy_mdio_reset_setup()
878 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function910 mdio_reset(sp); in mdio_read()955 mdio_reset(sp); in mdio_write()