Searched refs:mdio_reset (Results 1 – 4 of 4) sorted by relevance
59 static int mdio_reset(struct mii_dev *mii_bus) in mdio_reset() function76 pdata->mii_bus->reset = mdio_reset; in dm_mdio_post_probe()
380 struct reset_control *mdio_reset; member700 ag->mdio_reset = of_reset_control_get_exclusive(np, "mdio"); in ag71xx_mdio_probe()701 if (IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()703 err = PTR_ERR(ag->mdio_reset); in ag71xx_mdio_probe()715 if (!IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()716 reset_control_assert(ag->mdio_reset); in ag71xx_mdio_probe()718 reset_control_deassert(ag->mdio_reset); in ag71xx_mdio_probe()
372 enum xgbe_mdio_reset mdio_reset; member2793 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) in xgbe_phy_mdio_reset()2795 else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) in xgbe_phy_mdio_reset()2834 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()2835 switch (phy_data->mdio_reset) { in xgbe_phy_mdio_reset_setup()2842 phy_data->mdio_reset); in xgbe_phy_mdio_reset_setup()2846 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) { in xgbe_phy_mdio_reset_setup()2852 } else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) { in xgbe_phy_mdio_reset_setup()
871 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function903 mdio_reset(sp); in mdio_read()948 mdio_reset(sp); in mdio_write()