centos man page for usb_gadget_vbus_draw

Query: usb_gadget_vbus_draw

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 3.10 June 2014 USB_GADGET_VBUS_DRAW(9)
Related Man Pages
usb_interface_id(9) - suse
struct_usb_gadget(9) - centos
struct_usb_composite_dev(9) - suse
struct_usb_configuration(9) - suse
usb_gadget_config_buf(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Tar Command
CentOS7 restoring file capabilities
Shopt -s histappend
Please Welcome Dave Munro to the Moderator Team!