Lines Matching refs:retdevs
633 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
660 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof(LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
661 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
675 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
676 retdevs[i].device_entry.vendor_id = desc.idVendor; in LIBMTP_Detect_Raw_Devices()
677 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
678 retdevs[i].device_entry.product_id = desc.idProduct; in LIBMTP_Detect_Raw_Devices()
679 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
685 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
686 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
687 retdevs[i].device_entry.device_flags = mtp_device_table[j].device_flags; in LIBMTP_Detect_Raw_Devices()
703 retdevs[i].bus_location = libusb_get_bus_number (dev->device); in LIBMTP_Detect_Raw_Devices()
704 retdevs[i].devnum = libusb_get_device_address (dev->device); in LIBMTP_Detect_Raw_Devices()
708 *devices = retdevs; in LIBMTP_Detect_Raw_Devices()