Searched refs:vbus_reg (Results 1 – 3 of 3) sorted by relevance
41 struct regulator *vbus_reg; member93 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_set_power()97 ret = regulator_enable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()103 ret = regulator_disable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()117 if (da8xx_ohci->vbus_reg) in ohci_da8xx_get_power()118 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()132 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_get_oci()135 ret = regulator_get_error_flags(da8xx_ohci->vbus_reg, &flags); in ohci_da8xx_get_oci()149 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_set_power()162 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_oci()[all …]
131 struct regulator *vbus_reg; member223 if (omap->vbus_reg) { in dwc3_omap_set_mailbox()224 ret = regulator_enable(omap->vbus_reg); in dwc3_omap_set_mailbox()245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()246 regulator_disable(omap->vbus_reg); in dwc3_omap_set_mailbox()460 struct regulator *vbus_reg = NULL; in dwc3_omap_probe() local487 vbus_reg = devm_regulator_get(dev, "vbus"); in dwc3_omap_probe()488 if (IS_ERR(vbus_reg)) { in dwc3_omap_probe()490 return PTR_ERR(vbus_reg); in dwc3_omap_probe()497 omap->vbus_reg = vbus_reg; in dwc3_omap_probe()
42 struct regulator *vbus_reg; member55 ret = regulator_enable(qcom_usb->vbus_reg); in qcom_pmic_typec_enable_vbus_regulator()59 ret = regulator_disable(qcom_usb->vbus_reg); in qcom_pmic_typec_enable_vbus_regulator()158 qcom_usb->vbus_reg = devm_regulator_get(qcom_usb->dev, "usb_vbus"); in qcom_pmic_typec_probe()159 if (IS_ERR(qcom_usb->vbus_reg)) in qcom_pmic_typec_probe()160 return PTR_ERR(qcom_usb->vbus_reg); in qcom_pmic_typec_probe()