Query: usb_autopm_get_interface_async
OS: centos
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_async - increment a USB interface's PM-usage counterSYNOPSISint usb_autopm_get_interface_async(struct usb_interface * intf);ARGUMENTSintf the usb_interface whose counter should be incrementedDESCRIPTIONThis routine does much the same thing as usb_autopm_get_interface: It increments intf's usage counter and queues an autoresume request if the device is suspended. The differences are that it does not perform any synchronization (callers should hold a private lock and handle all synchronization issues themselves), and it does not autoresume the device directly (it only queues a request). After a successful call, the device may not yet be resumed. This routine can run in atomic context.RETURN0 on success. A negative error code otherwise.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_AUTOPM_GET_INTER(9)