Lines Matching refs:reg_vbus
28 struct regulator *reg_vbus; member
47 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower()
54 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()
56 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()
157 priv->reg_vbus = NULL; in host_start()
159 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
161 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
169 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
200 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
202 regulator_disable(ci->platdata->reg_vbus); in host_start()
221 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
223 regulator_disable(ci->platdata->reg_vbus); in host_stop()