![]() |
![]() |
![]() |
![]() |
Map the device instance identifier to an opaque device handle (from usbd_attach())
#include <sys/usbdi.h>
struct usbd_device *usbd_device_lookup(
struct usbd_connection *connection,
usbd_device_instance_t *instance );
libusbdi
You use the usbd_device_lookup() function to map the device instance identifier to an opaque device handle. This is typically required in the removal callback.
An opaque device handle, or NULL.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
usbd_args_lookup(), usbd_attach(), usbd_configuration_descriptor(), usbd_device_extra(), usbd_device_descriptor(), usbd_endpoint_descriptor(), usbd_hcd_info(), usbd_hub_descriptor(), usbd_interface_descriptor(), usbd_languages_descriptor(), usbd_parse_descriptors(), usbd_string(), usbd_urb_status()
![]() |
![]() |
![]() |
![]() |