Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c382 struct reset_control *mdio_reset; member
713 ag->mdio_reset = of_reset_control_get_exclusive(np, "mdio"); in ag71xx_mdio_probe()
714 if (IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
716 err = PTR_ERR(ag->mdio_reset); in ag71xx_mdio_probe()
728 if (!IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
729 reset_control_assert(ag->mdio_reset); in ag71xx_mdio_probe()
731 reset_control_deassert(ag->mdio_reset); in ag71xx_mdio_probe()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c371 enum xgbe_mdio_reset mdio_reset; member
3090 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) in xgbe_phy_mdio_reset()
3092 else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) in xgbe_phy_mdio_reset()
3131 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
3132 switch (phy_data->mdio_reset) { in xgbe_phy_mdio_reset_setup()
3139 phy_data->mdio_reset); in xgbe_phy_mdio_reset_setup()
3143 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) { in xgbe_phy_mdio_reset_setup()
3149 } else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) { in xgbe_phy_mdio_reset_setup()
/openbmc/linux/drivers/net/ethernet/sis/
H A Dsis900.c878 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function
910 mdio_reset(sp); in mdio_read()
955 mdio_reset(sp); in mdio_write()