Lines Matching full:vbus
62 * @bvalidfall_det_en: vbus valid fall detection enable register.
63 * @bvalidfall_det_st: vbus valid fall detection status register.
64 * @bvalidfall_det_clr: vbus valid fall detection clear register.
65 * @bvalidrise_det_en: vbus valid rise detection enable register.
66 * @bvalidrise_det_st: vbus valid rise detection status register.
67 * @bvalidrise_det_clr: vbus valid rise detection clear register.
85 * @utmi_bvalid: utmi vbus bvalid status register.
143 * @vbus_supply: vbus supply for usb host.
218 /* Check USB-Vbus status first */ in rockchip_chg_get_type()
272 struct udevice *vbus = NULL; in rockchip_usb2phy_check_vbus() local
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()
286 return vbus; in rockchip_usb2phy_check_vbus()
334 struct udevice *vbus = NULL; in rockchip_usb2phy_power_on() local
337 vbus = rockchip_usb2phy_check_vbus(phy); in rockchip_usb2phy_power_on()
338 if (vbus) { in rockchip_usb2phy_power_on()
339 ret = regulator_set_enable(vbus, true); in rockchip_usb2phy_power_on()
341 pr_err("%s: Failed to en VBus supply\n", __func__); in rockchip_usb2phy_power_on()
351 struct udevice *vbus = NULL; in rockchip_usb2phy_power_off() local
354 vbus = rockchip_usb2phy_check_vbus(phy); in rockchip_usb2phy_power_off()
355 if (vbus) { in rockchip_usb2phy_power_off()
356 ret = regulator_set_enable(vbus, false); in rockchip_usb2phy_power_off()
358 pr_err("%s: Failed to dis VBus supply\n", __func__); in rockchip_usb2phy_power_off()