Rechercher une page de manuel
usb_autopm_get_interface_async
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
usb_autopm_get_interface_async - increment a USB interface's PM-usage counterSYNOPSIS
- int usb_autopm_get_interface_async(struct usb_interface * intf);
ARGUMENTS
intf
- the usb_interface whose counter should be incremented
DESCRIPTION
This routine does much the same thing as usb_autopm_get_interface: it increments intf's usage counter and queues an autoresume request if the result is > 0. The differences are that it does not acquire the device's pm_mutex (callers must handle all synchronization issues themselves), and it does not autoresume the device directly (it only queues a request). After a successful call, the device will generally not yet be resumed.
This routine can run in atomic context.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre