usb_gadget_vbus_draw(9) suse man page | unix.com

Man Page: usb_gadget_vbus_draw

Operating Environment: suse

Section: 9

USB_GADGET_VBUS_DRAW(9) 				      Kernel Mode Gadget API					   USB_GADGET_VBUS_DRAW(9)

NAME
usb_gadget_vbus_draw - constrain controller's VBUS power usage
SYNOPSIS
int usb_gadget_vbus_draw(struct usb_gadget * gadget, unsigned mA);
ARGUMENTS
gadget 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.
DESCRIPTION
This 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.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 USB_GADGET_VBUS_DRAW(9)
Related Man Pages
struct_usb_gadget_driver(9) - centos
usb_gadget_config_buf(9) - centos
usb_gstrings_attach(9) - centos
struct_usb_composite_dev(9) - suse
usb_gadget_config_buf(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com