1USB_GADGET_SET_SELFP(9)     Kernel Mode Gadget API     USB_GADGET_SET_SELFP(9)
2
3
4

NAME

6       usb_gadget_set_selfpowered - sets the device selfpowered feature.
7

SYNOPSIS

9       int usb_gadget_set_selfpowered(struct usb_gadget * gadget);
10

ARGUMENTS

12       gadget
13           the device being declared as self-powered
14

DESCRIPTION

16       this affects the device status reported by the hardware driver to
17       reflect that it now has a local power supply.
18
19       returns zero on success, else negative errno.
20

AUTHOR

22       David Brownell <dbrownell@users.sourceforge.net>
23           Author.
24
26Kernel Hackers Manual 2.6.       November 2011         USB_GADGET_SET_SELFP(9)
Impressum