Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c371 unsigned int mdio_reset_gpio; member
2703 ret = pdata->hw_if.set_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
2707 ret = pdata->hw_if.clr_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
2732 if (phy_data->mdio_reset_gpio < 8) in xgbe_phy_i2c_mdio_reset()
2733 gpio_data[1] |= (1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
2735 gpio_data[2] |= (1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
2744 if (phy_data->mdio_reset_gpio < 8) in xgbe_phy_i2c_mdio_reset()
2745 gpio_data[1] &= ~(1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
2747 gpio_data[2] &= ~(1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
2825 phy_data->mdio_reset_gpio = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_mdio_reset_setup()
[all …]