Home
last modified time | relevance | path

Searched refs:bNumInterfaces (Results 1 - 5 of 5) sorted by relevance

/third_party/backends/sanei/
H A Dusb_manager.cpp147 size_t bNumInterfaces = usbAlt.size(); in GetRetConfigAndInterface() local
148 if (bNumInterfaces == 0 || bNumInterfaces > maxUsbInterfaceNum) { in GetRetConfigAndInterface()
149 SANE_HILOG_ERROR("%s: bNumInterfaces(%u) is invalid.", __func__, bNumInterfaces); in GetRetConfigAndInterface()
163 retConfig->bNumInterfaces = static_cast<uint8_t>(bNumInterfaces); in GetRetConfigAndInterface()
165 retInterface = new (std::nothrow) usb_manager_interface[bNumInterfaces]{}; in GetRetConfigAndInterface()
439 for (int i = 0; i < config->bNumInterfaces; i++) { in usb_manager_free_config_descriptor()
H A Dsanei_usb.c1833 interface < dev->config[0].bNumInterfaces && !found; in libusb_scan_devices()
2008 for (interface = 0; (interface < config0->bNumInterfaces) && !found; interface++) in libusb_scan_devices()
2186 for (interface = 0; (interface < config0->bNumInterfaces) && !found; interface++) in libusb_scan_devices()
2837 for (i = 0; i < dev->config[c].bNumInterfaces; i++) in sanei_usb_open()
3032 for (i = 0; i < config->bNumInterfaces; i++) in sanei_usb_open()
3251 for (i = 0; i < config->bNumInterfaces; i++) in sanei_usb_open()
/third_party/backends/tools/
H A Dsane-find-scanner.c559 printf (" bNumInterfaces %d\n", c->bNumInterfaces); in check_libusb_device()
571 for (interface_nr = 0; interface_nr < c->bNumInterfaces; in check_libusb_device()
655 for (interface_nr = 0; interface_nr < dev->config[0].bNumInterfaces && is_scanner <= 0; interface_nr++) in check_libusb_device()
932 printf (" bNumInterfaces %d\n", c->bNumInterfaces); in check_libusb_device()
945 for (intf = 0; intf < c->bNumInterfaces; intf++) in check_libusb_device()
1043 for (intf = 0; (intf < config0->bNumInterfaces) && (is_scanner <= 0); intf++) in check_libusb_device()
1482 dev->config[current_config].bNumInterfaces = number; in parse_file()
H A Dcheck-usb-chip.c253 if (dev->config[0].bNumInterfaces != 0x01) in check_gt6816()
256 printf (" this is not a GT-6816 (bNumInterfaces = 0x%x)\n", in check_gt6816()
257 dev->config[0].bNumInterfaces); in check_gt6816()
465 if (dev->config[0].bNumInterfaces < 2) in check_gt8911()
468 printf (" this is not a GT-8911 (check 8, bNumInterfaces = %d)\n", in check_gt8911()
469 dev->config[0].bNumInterfaces); in check_gt8911()
3783 if (config0->bNumInterfaces != 0x01) in check_gt6816()
3786 printf (" this is not a GT-6816 (bNumInterfaces = 0x%x)\n", in check_gt6816()
3787 config0->bNumInterfaces); in check_gt6816()
/third_party/backends/include/sane/
H A Dusb_manager.h378 uint8_t bNumInterfaces; member
396 * this array is determined by the bNumInterfaces field. */

Completed in 26 milliseconds