| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | ehci-generic.c | 28 struct udevice *vbus_supply; member 41 &priv->vbus_supply); in ehci_enable_vbus_supply() 45 if (priv->vbus_supply) { in ehci_enable_vbus_supply() 46 ret = regulator_set_enable(priv->vbus_supply, true); in ehci_enable_vbus_supply() 60 if (priv->vbus_supply) in ehci_disable_vbus_supply() 61 return regulator_set_enable(priv->vbus_supply, false); in ehci_disable_vbus_supply()
|
| H A D | ehci-mx6.c | 420 struct udevice *vbus_supply; member 437 if (priv->vbus_supply) { in mx6_init_after_reset() 438 ret = regulator_set_enable(priv->vbus_supply, in mx6_init_after_reset() 587 &priv->vbus_supply); in ehci_usb_probe() 596 if (priv->vbus_supply) { in ehci_usb_probe() 597 ret = regulator_set_enable(priv->vbus_supply, in ehci_usb_probe()
|
| H A D | ehci-mx5.c | 278 struct udevice *vbus_supply; member 327 &priv->vbus_supply); in ehci_usb_probe() 331 if (!ret && priv->vbus_supply) { in ehci_usb_probe() 332 ret = regulator_set_enable(priv->vbus_supply, in ehci_usb_probe()
|
| H A D | dwc2.c | 39 struct udevice *vbus_supply; member 181 &priv->vbus_supply); in dwc_vbus_supply_init() 187 ret = regulator_set_enable(priv->vbus_supply, true); in dwc_vbus_supply_init() 201 if (priv->vbus_supply) { in dwc_vbus_supply_exit() 202 ret = regulator_set_enable(priv->vbus_supply, false); in dwc_vbus_supply_exit()
|
| H A D | r8a66597-hcd.c | 829 &priv->vbus_supply); in r8a66597_usb_probe() 836 ret = regulator_set_enable(priv->vbus_supply, true); in r8a66597_usb_probe() 866 ret = regulator_set_enable(priv->vbus_supply, false); in r8a66597_usb_remove()
|
| H A D | r8a66597.h | 400 struct udevice *vbus_supply; member
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-inno-usb3.c | 121 struct udevice *vbus_supply; member 189 if (!u3phy->vbus_supply) { in rockchip_u3phy_power_on() 191 &u3phy->vbus_supply); in rockchip_u3phy_power_on() 197 ret = regulator_set_enable(u3phy->vbus_supply, true); in rockchip_u3phy_power_on() 214 if (u3phy->vbus_supply) { in rockchip_u3phy_power_off() 215 ret = regulator_set_enable(u3phy->vbus_supply, false); in rockchip_u3phy_power_off() 221 u3phy->vbus_supply = NULL; in rockchip_u3phy_power_off()
|
| H A D | phy-rockchip-naneng-usb2.c | 149 struct udevice *vbus_supply[USB2PHY_NUM_PORTS]; member 276 vbus = rphy->vbus_supply[USB2PHY_PORT_HOST]; in rockchip_usb2phy_check_vbus() 282 vbus = rphy->vbus_supply[USB2PHY_PORT_OTG]; in rockchip_usb2phy_check_vbus() 376 &rphy->vbus_supply[USB2PHY_PORT_HOST]); in rockchip_usb2phy_of_xlate() 380 &rphy->vbus_supply[USB2PHY_PORT_OTG]); in rockchip_usb2phy_of_xlate()
|
| H A D | phy-rockchip-inno-usb2.c | 162 struct udevice *vbus_supply[USB2PHY_NUM_PORTS]; member 482 struct udevice *vbus = rphy->vbus_supply[phy->id]; in rockchip_usb2phy_power_on() 500 struct udevice *vbus = rphy->vbus_supply[phy->id]; in rockchip_usb2phy_power_off() 524 &rphy->vbus_supply[USB2PHY_PORT_HOST]); in rockchip_usb2phy_of_xlate() 528 &rphy->vbus_supply[USB2PHY_PORT_OTG]); in rockchip_usb2phy_of_xlate() 529 if (!rphy->vbus_supply[USB2PHY_PORT_OTG]) in rockchip_usb2phy_of_xlate() 531 &rphy->vbus_supply[USB2PHY_PORT_OTG]); in rockchip_usb2phy_of_xlate()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | dwc3-meson-g12a.c | 118 struct udevice *vbus_supply; member 279 if (priv->vbus_supply) { in dwc3_meson_g12a_force_mode() 280 int ret = regulator_set_enable(priv->vbus_supply, in dwc3_meson_g12a_force_mode() 383 &priv->vbus_supply); in dwc3_meson_g12a_probe() 389 if (priv->vbus_supply) { in dwc3_meson_g12a_probe() 390 ret = regulator_set_enable(priv->vbus_supply, true); in dwc3_meson_g12a_probe()
|
| /OK3568_Linux_fs/kernel/drivers/usb/musb/ |
| H A D | da8xx.c | 431 struct regulator *vbus_supply; in get_vbus_power() local 434 vbus_supply = regulator_get_optional(dev, "vbus"); in get_vbus_power() 435 if (IS_ERR(vbus_supply)) in get_vbus_power() 437 current_uA = regulator_get_current_limit(vbus_supply); in get_vbus_power() 438 regulator_put(vbus_supply); in get_vbus_power()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | platform.c | 530 hsotg->vbus_supply = devm_regulator_get_optional(hsotg->dev, "vbus"); in dwc2_driver_probe() 531 if (IS_ERR(hsotg->vbus_supply)) { in dwc2_driver_probe() 532 retval = PTR_ERR(hsotg->vbus_supply); in dwc2_driver_probe() 533 hsotg->vbus_supply = NULL; in dwc2_driver_probe()
|
| H A D | core.h | 1076 struct regulator *vbus_supply; member
|
| H A D | hcd.c | 171 if (hsotg->vbus_supply) in dwc2_vbus_supply_init() 172 return regulator_enable(hsotg->vbus_supply); in dwc2_vbus_supply_init() 179 if (hsotg->vbus_supply) in dwc2_vbus_supply_exit() 180 return regulator_disable(hsotg->vbus_supply); in dwc2_vbus_supply_exit()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | tegra114-tn7.dts | 261 /* Should be changed to "otg" once we have vbus_supply */
|
| H A D | tegra114-roth.dts | 991 /* Should be changed to "otg" once we have vbus_supply */
|