Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_winusb.c597 int current_interface = *interface_number; in auto_claim() local
609 if (current_interface < 0) { // No serviceable interface was found in auto_claim()
610 for (current_interface = 0; current_interface < USB_MAXINTERFACES; current_interface++) { in auto_claim()
612 if ((priv->usb_interface[current_interface].apib->id == api_type) in auto_claim()
613 && (libusb_claim_interface(transfer->dev_handle, current_interface) == LIBUSB_SUCCESS)) { in auto_claim()
614 usbi_dbg("auto-claimed interface %d for control request", current_interface); in auto_claim()
615 if (handle_priv->autoclaim_count[current_interface] != 0) in auto_claim()
617 handle_priv->autoclaim_count[current_interface]++; in auto_claim()
621 if (current_interface == USB_MAXINTERFACES) { in auto_claim()
628 if (handle_priv->autoclaim_count[current_interface] != 0) in auto_claim()
[all …]