Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/usb/
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
/linux-6.6.21/drivers/usb/gadget/
Dcomposite.c1058 usb_gadget_vbus_draw(gadget, power); in set_config()
2316 usb_gadget_vbus_draw(gadget, 0); in composite_disconnect()
2327 usb_gadget_vbus_draw(gadget, 100); in composite_reset()
2607 usb_gadget_vbus_draw(gadget, 2); in composite_suspend()
2643 usb_gadget_vbus_draw(gadget, maxpower); in composite_resume()
2647 usb_gadget_vbus_draw(gadget, maxpower); in composite_resume()
/linux-6.6.21/drivers/usb/gadget/udc/
Dtrace.h114 DEFINE_EVENT(udc_log_gadget, usb_gadget_vbus_draw,
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);
/linux-6.6.21/drivers/usb/gadget/legacy/
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()
Draw_gadget.c1177 usb_gadget_vbus_draw(dev->gadget, 2 * value); in raw_ioctl_vbus_draw()
/linux-6.6.21/Documentation/driver-api/usb/
Dgadget.rst270 ``usb_gadget_vbus_draw`` to let more power be drawn from VBUS, as