Lines Matching defs:vbus_reg
41 struct regulator *vbus_reg;
93 if (!da8xx_ohci->vbus_reg)
97 ret = regulator_enable(da8xx_ohci->vbus_reg);
103 ret = regulator_disable(da8xx_ohci->vbus_reg);
117 if (da8xx_ohci->vbus_reg)
118 return regulator_is_enabled(da8xx_ohci->vbus_reg);
132 if (!da8xx_ohci->vbus_reg)
135 ret = regulator_get_error_flags(da8xx_ohci->vbus_reg, &flags);
149 if (da8xx_ohci->vbus_reg)
162 if (da8xx_ohci->vbus_reg)
200 da8xx_ohci->vbus_reg) {
201 ret = regulator_disable(da8xx_ohci->vbus_reg);
215 if (!da8xx_ohci->oc_gpio && da8xx_ohci->vbus_reg) {
217 ret = devm_regulator_register_notifier(da8xx_ohci->vbus_reg,
404 da8xx_ohci->vbus_reg = devm_regulator_get_optional(dev, "vbus");
405 if (IS_ERR(da8xx_ohci->vbus_reg)) {
406 error = PTR_ERR(da8xx_ohci->vbus_reg);
408 da8xx_ohci->vbus_reg = NULL;