Lines Matching refs:devh
236 libusb_device_handle *devh; in probe_device_descriptor() local
267 ret = libusb_open(dev, &devh); in probe_device_descriptor()
331 libusb_close(devh); in probe_device_descriptor()
342 ret = libusb_get_string_descriptor_ascii(devh, in probe_device_descriptor()
355 libusb_close(devh); in probe_device_descriptor()
358 if (libusb_kernel_driver_active(devh, config->interface[j].altsetting[k].iInterface)) in probe_device_descriptor()
368 libusb_close(devh); in probe_device_descriptor()
385 ret = libusb_get_descriptor(devh, 0x03, 0xee, buf, sizeof(buf)); in probe_device_descriptor()
394 libusb_clear_halt (devh, 0); in probe_device_descriptor()
395 libusb_close(devh); in probe_device_descriptor()
407 libusb_close(devh); in probe_device_descriptor()
414 libusb_close(devh); in probe_device_descriptor()
420 ret = libusb_control_transfer (devh, in probe_device_descriptor()
439 libusb_close(devh); in probe_device_descriptor()
446 libusb_close(devh); in probe_device_descriptor()
460 ret = libusb_control_transfer (devh, in probe_device_descriptor()
490 libusb_close(devh); in probe_device_descriptor()
495 libusb_close(devh); in probe_device_descriptor()