usb_autopm_get_interface(9) suse man page | unix.com

Man Page: usb_autopm_get_interface

Operating Environment: suse

Section: 9

USB_AUTOPM_GET_INTER(9) 					   USB Core APIs					   USB_AUTOPM_GET_INTER(9)

NAME
usb_autopm_get_interface - increment a USB interface's PM-usage counter
SYNOPSIS
int usb_autopm_get_interface(struct usb_interface * intf);
ARGUMENTS
intf the usb_interface whose counter should be incremented
DESCRIPTION
This 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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 USB_AUTOPM_GET_INTER(9)
Related Man Pages
sppptun(1m) - opensolaris
usb_match_id(9) - centos
struct_usb_driver(9) - suse
struct_usb_interface(9) - suse
sppptun(1m) - sunos
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Is UNIX an open source OS ?
Getting command output to putty window title.
Cut command on RHEL 6.8 compatibility issues
32 bit process addressing more than 4GB