Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/atheros/
Dag71xx.c326 struct reset_control *mdio_reset; member
553 ag->mdio_reset = of_reset_control_get_exclusive(np, "mdio"); in ag71xx_mdio_probe()
554 if (IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
556 return PTR_ERR(ag->mdio_reset); in ag71xx_mdio_probe()
567 if (!IS_ERR(ag->mdio_reset)) { in ag71xx_mdio_probe()
568 reset_control_assert(ag->mdio_reset); in ag71xx_mdio_probe()
570 reset_control_deassert(ag->mdio_reset); in ag71xx_mdio_probe()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c368 enum xgbe_mdio_reset mdio_reset; member
2722 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) in xgbe_phy_mdio_reset()
2724 else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) in xgbe_phy_mdio_reset()
2763 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
2764 switch (phy_data->mdio_reset) { in xgbe_phy_mdio_reset_setup()
2771 phy_data->mdio_reset); in xgbe_phy_mdio_reset_setup()
2775 if (phy_data->mdio_reset == XGBE_MDIO_RESET_I2C_GPIO) { in xgbe_phy_mdio_reset_setup()
2781 } else if (phy_data->mdio_reset == XGBE_MDIO_RESET_INT_GPIO) { in xgbe_phy_mdio_reset_setup()
/Linux-v5.4/drivers/net/ethernet/sis/
Dsis900.c872 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function
904 mdio_reset(sp); in mdio_read()
949 mdio_reset(sp); in mdio_write()