Lines Matching full:devs
515 libusb_device **devs = NULL;
523 nrofdevs = libusb_get_device_list (NULL, &devs);
525 libusb_device *dev = devs[i];
572 libusb_free_device_list (devs, 0);
592 libusb_device **devs = NULL;
600 nrofdevs = libusb_get_device_list (NULL, &devs);
602 if (libusb_get_bus_number(devs[i]) != busno)
604 if (libusb_get_device_address(devs[i]) != devno)
606 if (probe_device_descriptor(devs[i], NULL))
634 int devs = 0;
651 devs++;
654 if (devs == 0) {
660 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof(LIBMTP_raw_device_t) * devs);
2096 libusb_device **devs = NULL;
2105 nrofdevs = libusb_get_device_list(NULL, &devs);
2107 if (libusb_get_bus_number(devs[i]) != device->bus_location)
2109 if (libusb_get_device_address(devs[i]) != device->devnum)
2112 ret = libusb_get_device_descriptor(devs[i], &desc);
2117 ldevice = devs[i];
2124 libusb_free_device_list (devs, 0);
2131 libusb_free_device_list (devs, 0);
2161 libusb_free_device_list (devs, 0);
2174 libusb_free_device_list (devs, 0);
2190 libusb_free_device_list (devs, 0);
2198 libusb_free_device_list (devs, 0);
2216 libusb_free_device_list (devs, 0);
2223 libusb_free_device_list (devs, 0);