Lines Matching refs:libusb_device
85 struct usb_device *libusb_device; member
188 new_list_entry->libusb_device = newdevice; in append_to_mtpdevice_list()
655 retdevs[i].device_entry.vendor_id = dev->libusb_device->descriptor.idVendor; in LIBMTP_Detect_Raw_Devices()
657 retdevs[i].device_entry.product_id = dev->libusb_device->descriptor.idProduct; in LIBMTP_Detect_Raw_Devices()
661 if(dev->libusb_device->descriptor.idVendor == mtp_device_table[j].vendor_id && in LIBMTP_Detect_Raw_Devices()
662 dev->libusb_device->descriptor.idProduct == mtp_device_table[j].product_id) { in LIBMTP_Detect_Raw_Devices()
671 dev->libusb_device->descriptor.idVendor, in LIBMTP_Detect_Raw_Devices()
672 dev->libusb_device->descriptor.idProduct, in LIBMTP_Detect_Raw_Devices()
680 dev->libusb_device->descriptor.idVendor, in LIBMTP_Detect_Raw_Devices()
681 dev->libusb_device->descriptor.idProduct); in LIBMTP_Detect_Raw_Devices()
685 retdevs[i].devnum = dev->libusb_device->devnum; in LIBMTP_Detect_Raw_Devices()
1959 struct usb_device *libusb_device; in configure_usb_device() local
1975 libusb_device = dev; in configure_usb_device()
2006 (void) probe_device_descriptor(libusb_device, NULL); in configure_usb_device()
2010 err = find_interface_and_endpoints(libusb_device, in configure_usb_device()
2026 ptp_usb->bcdusb = libusb_device->descriptor.bcdUSB; in configure_usb_device()
2029 if (init_ptp_usb(params, ptp_usb, libusb_device) < 0) { in configure_usb_device()
2044 if(init_ptp_usb(params, ptp_usb, libusb_device) <0) { in configure_usb_device()