Home
last modified time | relevance | path

Searched refs:gpio_vbus (Results 1 – 1 of 1) sorted by relevance

/drivers/usb/phy/
Dphy-gpio-vbus-usb.c60 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA) in set_vbus_draw() argument
62 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw()
69 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw()
76 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw()
83 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw()
86 gpio_vbus->mA = mA; in set_vbus_draw()
93 vbus = gpio_get_value(pdata->gpio_vbus); in is_vbus_powered()
102 struct gpio_vbus_data *gpio_vbus = in gpio_vbus_work() local
104 struct gpio_vbus_mach_info *pdata = dev_get_platdata(gpio_vbus->dev); in gpio_vbus_work()
107 if (!gpio_vbus->phy.otg->gadget) in gpio_vbus_work()
[all …]