Home
last modified time | relevance | path

Searched refs:mtp_device_table (Results 1 – 3 of 3) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c93 static const LIBMTP_device_entry_t mtp_device_table[] = { variable
97 static const int mtp_device_table_size = sizeof(mtp_device_table) / sizeof(LIBMTP_device_entry_t);
138 *devices = (LIBMTP_device_entry_t *) &mtp_device_table; in LIBMTP_Get_Supported_Devices_List()
523 if(dev->descriptor.idVendor == mtp_device_table[i].vendor_id && in get_mtp_usb_device_list()
524 dev->descriptor.idProduct == mtp_device_table[i].product_id) { in get_mtp_usb_device_list()
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()
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()
[all …]
Dlibusb1-glue.c86 static const LIBMTP_device_entry_t mtp_device_table[] = { variable
91 sizeof(mtp_device_table) / sizeof(LIBMTP_device_entry_t);
136 *devices = (LIBMTP_device_entry_t *) &mtp_device_table; in LIBMTP_Get_Supported_Devices_List()
539 if(desc.idVendor == mtp_device_table[i].vendor_id && in get_mtp_usb_device_list()
540 desc.idProduct == mtp_device_table[i].product_id) { in get_mtp_usb_device_list()
682 if(desc.idVendor == mtp_device_table[j].vendor_id && in LIBMTP_Detect_Raw_Devices()
683 desc.idProduct == mtp_device_table[j].product_id) { 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()
[all …]
Dlibopenusb1-glue.c86 static const LIBMTP_device_entry_t mtp_device_table[] = { variable
90 static const int mtp_device_table_size = sizeof (mtp_device_table) / sizeof (LIBMTP_device_entry_t);
132 *devices = (LIBMTP_device_entry_t *) & mtp_device_table; in LIBMTP_Get_Supported_Devices_List()
511 if (desc.idVendor == mtp_device_table[i].vendor_id && in get_mtp_usb_device_list()
512 desc.idProduct == mtp_device_table[i].product_id) { in get_mtp_usb_device_list()
646 if (desc.idVendor == mtp_device_table[j].vendor_id && in LIBMTP_Detect_Raw_Devices()
647 desc.idProduct == mtp_device_table[j].product_id) { 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()
[all …]