Lines Matching refs:reg_vbus
28 struct regulator *reg_vbus; member
46 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()
220 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
222 regulator_disable(ci->platdata->reg_vbus); in host_stop()