Lines Matching refs:retdevs
614 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
641 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof(LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
642 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
654 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
655 retdevs[i].device_entry.vendor_id = dev->libusb_device->descriptor.idVendor; in LIBMTP_Detect_Raw_Devices()
656 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
657 retdevs[i].device_entry.product_id = dev->libusb_device->descriptor.idProduct; in LIBMTP_Detect_Raw_Devices()
658 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
664 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
665 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
666 retdevs[i].device_entry.device_flags = mtp_device_table[j].device_flags; in LIBMTP_Detect_Raw_Devices()
684 retdevs[i].bus_location = dev->bus_location; in LIBMTP_Detect_Raw_Devices()
685 retdevs[i].devnum = dev->libusb_device->devnum; in LIBMTP_Detect_Raw_Devices()
689 *devices = retdevs; in LIBMTP_Detect_Raw_Devices()