Searched refs:ptp_usb (Results 1 – 6 of 6) sorted by relevance
/external/libmtp/src/ |
D | libusb-glue.c | 62 static inline int get_timeout(PTP_USB* ptp_usb) in get_timeout() argument 64 if (FLAG_LONG_TIMEOUT(ptp_usb)) { in get_timeout() 87 PTP_USB *ptp_usb; member 101 static void close_usb(PTP_USB* ptp_usb); 111 static void clear_stall(PTP_USB* ptp_usb); 112 static int init_ptp_usb(PTPParams* params, PTP_USB* ptp_usb, struct usb_device* dev); 115 static int usb_clear_stall_feature(PTP_USB* ptp_usb, int ep); 116 static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status); 700 void dump_usbinfo(PTP_USB *ptp_usb) in dump_usbinfo() argument 709 res = usb_get_driver_np(ptp_usb->handle, (int) ptp_usb->interface, devname, sizeof(devname)); in dump_usbinfo() [all …]
|
D | libusb1-glue.c | 57 static inline int get_timeout(PTP_USB* ptp_usb) in get_timeout() argument 59 if (FLAG_LONG_TIMEOUT(ptp_usb)) { in get_timeout() 74 PTP_USB *ptp_usb; member 95 static void close_usb(PTP_USB* ptp_usb); 105 static void clear_stall(PTP_USB* ptp_usb); 107 PTP_USB* ptp_usb, libusb_device* dev); 112 static int usb_get_endpoint_status(PTP_USB* ptp_usb, 719 void dump_usbinfo(PTP_USB *ptp_usb) in dump_usbinfo() argument 724 if (libusb_kernel_driver_active(ptp_usb->handle, ptp_usb->interface)) in dump_usbinfo() 727 dev = libusb_get_device (ptp_usb->handle); in dump_usbinfo() [all …]
|
D | libopenusb1-glue.c | 64 static inline int get_timeout(PTP_USB* ptp_usb) { in get_timeout() argument 65 if (FLAG_LONG_TIMEOUT(ptp_usb)) { in get_timeout() 80 PTP_USB *ptp_usb; member 94 static void close_usb(PTP_USB* ptp_usb); 104 static void clear_stall(PTP_USB* ptp_usb); 105 static int init_ptp_usb(PTPParams* params, PTP_USB* ptp_usb, openusb_dev_handle_t * dev); 108 static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status); 683 void dump_usbinfo(PTP_USB *ptp_usb) { in dump_usbinfo() argument 686 openusb_parse_device_desc(libmtp_openusb_handle, *ptp_usb->handle, NULL, 0, &desc); in dump_usbinfo() 694 LIBMTP_INFO(" IN endpoint maxpacket: %d bytes\n", ptp_usb->inep_maxpacket); in dump_usbinfo() [all …]
|
D | libusb-glue.h | 114 void dump_usbinfo(PTP_USB *ptp_usb); 115 const char *get_playlist_extension(PTP_USB *ptp_usb); 116 void close_device(PTP_USB *ptp_usb, PTPParams *params); 120 void set_usb_device_timeout(PTP_USB *ptp_usb, int timeout); 121 void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout); 122 int guess_usb_speed(PTP_USB *ptp_usb);
|
D | libmtp.c | 1837 PTP_USB *ptp_usb; in LIBMTP_Open_Raw_Device_Uncached() local 1901 ptp_usb = (PTP_USB*) mtp_device->usbinfo; in LIBMTP_Open_Raw_Device_Uncached() 1903 ptp_usb->params = current_params; in LIBMTP_Open_Raw_Device_Uncached() 1969 ptp_usb->rawdevice.device_entry.device_flags |= DEVICE_FLAGS_ARICENT_BUGS; in LIBMTP_Open_Raw_Device_Uncached() 1976 ptp_usb->rawdevice.device_entry.device_flags |= DEVICE_FLAGS_ANDROID_BUGS; in LIBMTP_Open_Raw_Device_Uncached() 1980 ptp_usb->rawdevice.device_entry.device_flags |= DEVICE_FLAGS_SONY_NWZ_BUGS; in LIBMTP_Open_Raw_Device_Uncached() 1989 if (FLAG_OGG_IS_UNKNOWN(ptp_usb)) { in LIBMTP_Open_Raw_Device_Uncached() 1993 ptp_usb->rawdevice.device_entry.device_flags &= in LIBMTP_Open_Raw_Device_Uncached() 1999 if (FLAG_FLAC_IS_UNKNOWN(ptp_usb)) { in LIBMTP_Open_Raw_Device_Uncached() 2003 ptp_usb->rawdevice.device_entry.device_flags &= in LIBMTP_Open_Raw_Device_Uncached() [all …]
|
D | playlist-spl.c | 208 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in playlist_t_to_spl() local 209 if(FLAG_PLAYLIST_SPL_V2(ptp_usb)) ver_major = 2; in playlist_t_to_spl()
|