Searched refs:reg_vbus (Results 1 – 5 of 5) sorted by relevance
28 struct regulator *reg_vbus; member46 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower()53 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()55 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()156 priv->reg_vbus = NULL; in host_start()158 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()160 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()168 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()199 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()201 regulator_disable(ci->platdata->reg_vbus); in host_start()[all …]
695 platdata->reg_vbus = devm_regulator_get_optional(dev, "vbus"); in ci_get_platdata()696 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()698 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()700 platdata->reg_vbus = NULL; in ci_get_platdata()701 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()703 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()704 return PTR_ERR(platdata->reg_vbus); in ci_get_platdata()
467 if (ci->platdata->reg_vbus) { in ci_otg_drv_vbus()468 ret = regulator_enable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()486 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()487 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
74 struct regulator *reg_vbus; member
95 reg_vbus: regulator-vbus { label224 vbus-supply = <®_vbus>;