Lines Matching refs:devs
93 libusb_device** devs;
106 cnt = libusb_get_device_list(fdctx,&devs);
113 libusb_get_device_descriptor(devs[i],&desc);
121 if ((ret = libusb_open(devs[i],&dh)) == 0)
135 libusb_free_device_list(devs,1);
142 libusb_free_device_list(devs,1);
149 libusb_device** devs;
153 cnt = libusb_get_device_list(ctx,&devs);
159 libusb_get_device_descriptor(devs[i],&desc);
167 if (libusb_open(devs[i],&dh) != 0) continue;
197 libusb_free_device_list(devs,1);
201 libusb_free_device_list(devs,1);