Home
last modified time | relevance | path

Searched refs:PTP_USB (Results 1 – 8 of 8) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c62 static inline int get_timeout(PTP_USB* ptp_usb) in get_timeout()
87 PTP_USB *ptp_usb;
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()
743 const char *get_playlist_extension(PTP_USB *ptp_usb) in get_playlist_extension()
822 PTP_USB *ptp_usb = (PTP_USB *)data; in ptp_read_func()
[all …]
Dlibusb1-glue.c57 static inline int get_timeout(PTP_USB* ptp_usb) in get_timeout()
74 PTP_USB *ptp_usb;
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()
758 const char *get_playlist_extension(PTP_USB *ptp_usb) in get_playlist_extension()
837 PTP_USB *ptp_usb = (PTP_USB *)data; in ptp_read_func()
983 PTP_USB *ptp_usb = (PTP_USB *)data; in ptp_write_func()
[all …]
Dlibopenusb1-glue.c64 static inline int get_timeout(PTP_USB* ptp_usb) { in get_timeout()
80 PTP_USB *ptp_usb;
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()
716 const char *get_playlist_extension(PTP_USB *ptp_usb) { in get_playlist_extension()
788 PTP_USB *ptp_usb = (PTP_USB *) data; in ptp_read_func()
950 PTP_USB *ptp_usb = (PTP_USB *) data; in ptp_write_func()
[all …]
Dlibusb-glue.h82 typedef struct _PTP_USB PTP_USB; typedef
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);
Dlibmtp.c1837 PTP_USB *ptp_usb; in LIBMTP_Open_Raw_Device_Uncached()
1901 ptp_usb = (PTP_USB*) mtp_device->usbinfo; in LIBMTP_Open_Raw_Device_Uncached()
2423 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Release_Device()
2586 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Set_Device_Timeout()
2592 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Get_Device_Timeout()
2615 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in get_all_metadata_fast()
2802 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in flush_handles()
3166 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Dump_Device_Info()
3840 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Get_Batterylevel()
3998 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Get_Supported_Filetypes()
[all …]
Dplaylist-spl.c208 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in playlist_t_to_spl()
Dlibmtp.h.in637 * \c (PTP_USB*) before internal use.
/external/libmtp/
DChangeLog905 * src/libusb-glue.c: refactor PTP_USB to use the raw