Searched refs:reg_vbus (Results 1 – 4 of 4) sorted by relevance
27 struct regulator *reg_vbus; member39 if (priv->reg_vbus) { in ehci_ci_portpower()46 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()48 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()140 priv->reg_vbus = NULL; in host_start()142 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()144 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()152 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()173 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()175 regulator_disable(ci->platdata->reg_vbus); in host_start()[all …]
619 platdata->reg_vbus = devm_regulator_get(dev, "vbus"); in ci_get_platdata()620 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()622 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()624 platdata->reg_vbus = NULL; in ci_get_platdata()625 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()627 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()628 return PTR_ERR(platdata->reg_vbus); in ci_get_platdata()
465 if (ci->platdata->reg_vbus) { in ci_otg_drv_vbus()466 ret = regulator_enable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()480 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()481 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
67 struct regulator *reg_vbus; member