Home
last modified time | relevance | path

Searched refs:current_interface (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Dwindows_winusb.c575 int current_interface = *interface_number; in auto_claim() local
587 if (current_interface < 0) { // No serviceable interface was found in auto_claim()
588 for (current_interface = 0; current_interface < USB_MAXINTERFACES; current_interface++) { in auto_claim()
590 if ((priv->usb_interface[current_interface].apib->id == api_type) in auto_claim()
591 && (libusb_claim_interface(transfer->dev_handle, current_interface) == LIBUSB_SUCCESS)) { in auto_claim()
592 usbi_dbg("auto-claimed interface %d for control request", current_interface); in auto_claim()
593 if (handle_priv->autoclaim_count[current_interface] != 0) in auto_claim()
595 handle_priv->autoclaim_count[current_interface]++; in auto_claim()
599 if (current_interface == USB_MAXINTERFACES) { in auto_claim()
606 if (handle_priv->autoclaim_count[current_interface] != 0) in auto_claim()
[all …]