Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/net/
H A Dmdio-uclass.c59 static int mdio_reset(struct mii_dev *mii_bus) in mdio_reset() function
76 pdata->mii_bus->reset = mdio_reset; in dm_mdio_post_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/
H A Dag71xx.c380 struct reset_control *mdio_reset; member
700 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c372 enum xgbe_mdio_reset mdio_reset; member
2793 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sis/
H A Dsis900.c871 static void mdio_reset(struct sis900_private *sp) in mdio_reset() function
903 mdio_reset(sp); in mdio_read()
948 mdio_reset(sp); in mdio_write()