Lines Matching refs:vbus_reg
42 struct regulator *vbus_reg;
94 if (!da8xx_ohci->vbus_reg)
98 ret = regulator_enable(da8xx_ohci->vbus_reg);
104 ret = regulator_disable(da8xx_ohci->vbus_reg);
118 if (da8xx_ohci->vbus_reg)
119 return regulator_is_enabled(da8xx_ohci->vbus_reg);
133 if (!da8xx_ohci->vbus_reg)
136 ret = regulator_get_error_flags(da8xx_ohci->vbus_reg, &flags);
150 if (da8xx_ohci->vbus_reg)
163 if (da8xx_ohci->vbus_reg)
201 da8xx_ohci->vbus_reg) {
202 ret = regulator_disable(da8xx_ohci->vbus_reg);
216 if (!da8xx_ohci->oc_gpio && da8xx_ohci->vbus_reg) {
218 ret = devm_regulator_register_notifier(da8xx_ohci->vbus_reg,
405 da8xx_ohci->vbus_reg = devm_regulator_get_optional(dev, "vbus");
406 if (IS_ERR(da8xx_ohci->vbus_reg)) {
407 error = PTR_ERR(da8xx_ohci->vbus_reg);
409 da8xx_ohci->vbus_reg = NULL;