Lines Matching refs:retdevs
597 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
624 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof (LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
625 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
639 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
640 retdevs[i].device_entry.vendor_id = desc.idVendor; in LIBMTP_Detect_Raw_Devices()
641 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
642 retdevs[i].device_entry.product_id = desc.idProduct; in LIBMTP_Detect_Raw_Devices()
643 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
649 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
650 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
651 retdevs[i].device_entry.device_flags = mtp_device_table[j].device_flags; in LIBMTP_Detect_Raw_Devices()
667 retdevs[i].bus_location = 0; in LIBMTP_Detect_Raw_Devices()
668 retdevs[i].devnum = openusb_get_devid(libmtp_openusb_handle, &dev->device); in LIBMTP_Detect_Raw_Devices()
672 *devices = retdevs; in LIBMTP_Detect_Raw_Devices()