Lines Matching refs:reg_vbus
39 struct regulator *reg_vbus; member
50 if (priv->reg_vbus) { in ehci_ci_portpower()
57 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()
59 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()
114 priv->reg_vbus = NULL; in host_start()
116 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
118 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
126 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
153 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
155 regulator_disable(ci->platdata->reg_vbus); in host_start()
169 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
171 regulator_disable(ci->platdata->reg_vbus); in host_stop()