1USB_INTERFACE_CLAIME(9) Host-Side Data Types and Macro USB_INTERFACE_CLAIME(9)
2
3
4

NAME

6       usb_interface_claimed - returns true iff an interface is claimed
7

SYNOPSIS

9       int usb_interface_claimed(struct usb_interface * iface);
10

ARGUMENTS

12       iface
13           the interface being checked
14

DESCRIPTION

16       Returns true (nonzero) iff the interface is claimed, else false (zero).
17       Callers must own the driver model's usb bus readlock. So driver probe
18       entries don't need extra locking, but other call contexts may need to
19       explicitly claim that lock.
20
22Kernel Hackers Manual 2.6.       November 2011         USB_INTERFACE_CLAIME(9)
Impressum