Searched refs:reg_vbus (Results 1 – 4 of 4) sorted by relevance
28 struct regulator *reg_vbus; member40 if (priv->reg_vbus) { in ehci_ci_portpower()47 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()49 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()141 priv->reg_vbus = NULL; in host_start()143 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()145 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()153 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()183 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()185 regulator_disable(ci->platdata->reg_vbus); in host_start()[all …]
686 platdata->reg_vbus = devm_regulator_get(dev, "vbus"); in ci_get_platdata()687 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()689 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()691 platdata->reg_vbus = NULL; in ci_get_platdata()692 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()694 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()695 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()
71 struct regulator *reg_vbus; member