Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/usb/
H A Dgadget.h614 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA);
634 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() function
/openbmc/linux/drivers/usb/gadget/
H A Dcomposite.c1059 usb_gadget_vbus_draw(gadget, power); in set_config()
2329 usb_gadget_vbus_draw(gadget, 0); in composite_disconnect()
2340 usb_gadget_vbus_draw(gadget, 100); in composite_reset()
2623 usb_gadget_vbus_draw(gadget, 2); in composite_suspend()
2662 usb_gadget_vbus_draw(gadget, maxpower); in composite_resume()
2666 usb_gadget_vbus_draw(gadget, maxpower); in composite_resume()
/openbmc/u-boot/include/linux/usb/
H A Dgadget.h665 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() function
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtrace.h114 DEFINE_EVENT(udc_log_gadget, usb_gadget_vbus_draw,
H A Dcore.c653 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() function
671 EXPORT_SYMBOL_GPL(usb_gadget_vbus_draw);
/openbmc/linux/drivers/usb/gadget/legacy/
H A Dinode.c960 usb_gadget_vbus_draw(dev->gadget, 2 * power); in ep0_read()
1420 usb_gadget_vbus_draw(gadget, 8 /* mA */ ); in gadgetfs_setup()
1437 usb_gadget_vbus_draw(gadget, 2 * power); in gadgetfs_setup()
H A Draw_gadget.c1177 usb_gadget_vbus_draw(dev->gadget, 2 * value); in raw_ioctl_vbus_draw()
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c1079 usb_gadget_vbus_draw(dev->gadget, in eth_set_config()
1086 usb_gadget_vbus_draw(dev->gadget, power); in eth_set_config()
H A Dcomposite.c397 usb_gadget_vbus_draw(gadget, power); in set_config()
/openbmc/linux/Documentation/driver-api/usb/
H A Dgadget.rst270 ``usb_gadget_vbus_draw`` to let more power be drawn from VBUS, as