Lines Matching refs:reg_vbus
27 struct regulator *reg_vbus; member
39 if (priv->reg_vbus) { in ehci_ci_portpower()
46 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()
48 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()
140 priv->reg_vbus = NULL; in host_start()
142 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
144 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
152 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
173 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
175 regulator_disable(ci->platdata->reg_vbus); in host_start()
194 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
196 regulator_disable(ci->platdata->reg_vbus); in host_stop()