Query: usb_autopm_get_interface
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_AUTOPM_GET_INTER(9) USB Core APIs USB_AUTOPM_GET_INTER(9)NAMEusb_autopm_get_interface - increment a USB interface's PM-usage counterSYNOPSISint usb_autopm_get_interface(struct usb_interface * intf);ARGUMENTSintf the usb_interface whose counter should be incrementedDESCRIPTIONThis routine should be called by an interface driver when it wants to use intf and needs to guarantee that it is not suspended. In addition, the routine prevents intf from being autosuspended subsequently. (Note that this will not prevent suspend events originating in the PM core.) This prevention will persist until usb_autopm_put_interface is called or intf is unbound. A typical example would be a character-device driver when its device file is opened. intf's usage counter is incremented to prevent subsequent autosuspends. However if the autoresume fails then the counter is re-decremented. This routine can run only in process context.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_AUTOPM_GET_INTER(9)
Related Man Pages |
---|
usb_poison_urb(9) - centos |
usb_match_id(9) - centos |
jocamlprof(1) - debian |
hfa(4) - debian |
usb_queue_reset_device(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. |
Migrating to UNIX |
A (ksh) Library For and From UNIX.com |
Docker learning Phase-I |