Lines Matching refs:resets
41 struct reset_control *resets[ARRAY_SIZE(PHY_RESETS)]; member
78 reset_control_deassert(ta->resets[i]); in phy_init()
115 reset_control_assert(ta->resets[i]); in phy_shutdown()
189 struct reset_control *resets[ARRAY_SIZE(CTL_RESETS)]; in phy_probe() local
221 resets[i] = devm_reset_control_get_exclusive(dev, CTL_RESETS[i]); in phy_probe()
222 if (IS_ERR(resets[i])) { in phy_probe()
224 return PTR_ERR(resets[i]); in phy_probe()
229 ta->resets[i] = devm_reset_control_get_exclusive(dev, PHY_RESETS[i]); in phy_probe()
230 if (IS_ERR(ta->resets[i])) { in phy_probe()
232 return PTR_ERR(ta->resets[i]); in phy_probe()
237 reset_control_assert(resets[i]); in phy_probe()
240 reset_control_assert(ta->resets[i]); in phy_probe()
247 reset_control_deassert(resets[i]); in phy_probe()