Lines Matching full:vbus
190 * @vbus: VBUS regulator for phy
191 * @vbus_boost: Boost regulator for VBUS present on few Exynos boards
210 struct regulator *vbus; member
493 /* Enable VBUS supply */ in exynos5_usbdrd_phy_power_on()
498 "Failed to enable VBUS boost supply\n"); in exynos5_usbdrd_phy_power_on()
503 if (phy_drd->vbus) { in exynos5_usbdrd_phy_power_on()
504 ret = regulator_enable(phy_drd->vbus); in exynos5_usbdrd_phy_power_on()
506 dev_err(phy_drd->dev, "Failed to enable VBUS supply\n"); in exynos5_usbdrd_phy_power_on()
541 /* Disable VBUS supply */ in exynos5_usbdrd_phy_power_off()
542 if (phy_drd->vbus) in exynos5_usbdrd_phy_power_off()
543 regulator_disable(phy_drd->vbus); in exynos5_usbdrd_phy_power_off()
887 /* Get Vbus regulators */ in exynos5_usbdrd_phy_probe()
888 phy_drd->vbus = devm_regulator_get(dev, "vbus"); in exynos5_usbdrd_phy_probe()
889 if (IS_ERR(phy_drd->vbus)) { in exynos5_usbdrd_phy_probe()
890 ret = PTR_ERR(phy_drd->vbus); in exynos5_usbdrd_phy_probe()
894 dev_warn(dev, "Failed to get VBUS supply regulator\n"); in exynos5_usbdrd_phy_probe()
895 phy_drd->vbus = NULL; in exynos5_usbdrd_phy_probe()
898 phy_drd->vbus_boost = devm_regulator_get(dev, "vbus-boost"); in exynos5_usbdrd_phy_probe()
904 dev_warn(dev, "Failed to get VBUS boost supply regulator\n"); in exynos5_usbdrd_phy_probe()