Query: usb_gadget_set_selfpowered
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_GADGET_SET_SELFP(9) Kernel Mode Gadget API USB_GADGET_SET_SELFP(9)NAMEusb_gadget_set_selfpowered - sets the device selfpowered feature.SYNOPSISint usb_gadget_set_selfpowered(struct usb_gadget * gadget);ARGUMENTSgadget the device being declared as self-poweredDESCRIPTIONthis affects the device status reported by the hardware driver to reflect that it now has a local power supply. returns zero on success, else negative errno.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_GADGET_SET_SELFP(9)