Searched refs:reg_vbus (Results 1 – 5 of 5) sorted by relevance
28 struct regulator *reg_vbus; member41 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower()48 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()50 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()143 priv->reg_vbus = NULL; in host_start()145 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()147 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()155 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()185 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()187 regulator_disable(ci->platdata->reg_vbus); in host_start()[all …]
674 platdata->reg_vbus = devm_regulator_get_optional(dev, "vbus"); in ci_get_platdata()675 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()677 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()679 platdata->reg_vbus = NULL; in ci_get_platdata()680 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()682 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()683 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()482 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()483 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
72 struct regulator *reg_vbus; member
3547 struct regulator *reg_vbus;