Lines Matching refs:reset
15 #include <linux/reset.h>
129 struct reset_control *reset;
146 if (!IS_ERR_OR_NULL(priv->reset)) {
147 ret = reset_control_reset(priv->reset);
149 dev_err(&phy->dev, "Failed to trigger USB reset\n");
157 reset_control_rearm(priv->reset);
165 reset_control_rearm(priv->reset);
178 /* reset the PHY */
204 reset_control_rearm(priv->reset);
224 reset_control_rearm(priv->reset);
226 /* power off the PHY by putting it into reset mode */
271 priv->reset = devm_reset_control_get_optional_shared(&pdev->dev, NULL);
272 if (IS_ERR(priv->reset))
273 return dev_err_probe(&pdev->dev, PTR_ERR(priv->reset),
274 "Failed to get the reset line");