Man Page: usb_gadget_vbus_draw
Operating Environment: centos
Section: 9
USB_GADGET_VBUS_DRAW(9) Kernel Mode Gadget API USB_GADGET_VBUS_DRAW(9)NAMEusb_gadget_vbus_draw - constrain controller's VBUS power usageSYNOPSISint usb_gadget_vbus_draw(struct usb_gadget * gadget, unsigned mA);ARGUMENTSgadget The device whose VBUS usage is being described mA How much current to draw, in milliAmperes. This should be twice the value listed in the configuration descriptor bMaxPower field.DESCRIPTIONThis call is used by gadget drivers during SET_CONFIGURATION calls, reporting how much power the device may consume. For example, this could affect how quickly batteries are recharged. Returns zero on success, else negative errno.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_GADGET_VBUS_DRAW(9)
| Related Man Pages |
|---|
| struct_usb_composite_dev(9) - centos |
| struct_usb_gadget(9) - centos |
| struct_usb_configuration(9) - centos |
| struct_usb_gadget_driver(9) - centos |
| usb_interface_id(9) - centos |
| Similar Topics in the Unix Linux Community |
|---|
| Set hard block limit for user using quota |
| Tar Command |
| Shopt -s histappend |
| CentOS 6 ran out of space, need to reclaim it |
| [TIP] Processing YAML files with yq |