Home
last modified time | relevance | path

Searched refs:ptp_usb (Results 1 – 4 of 4) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c88 PTP_USB *ptp_usb; member
102 static void close_usb(PTP_USB* ptp_usb);
110 static void clear_stall(PTP_USB* ptp_usb);
111 static int init_ptp_usb (PTPParams* params, PTP_USB* ptp_usb, struct usb_device* dev);
114 static int usb_clear_stall_feature(PTP_USB* ptp_usb, int ep);
115 static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status);
693 void dump_usbinfo(PTP_USB *ptp_usb) in dump_usbinfo() argument
702 res = usb_get_driver_np(ptp_usb->handle, (int) ptp_usb->interface, devname, sizeof(devname)); in dump_usbinfo()
707 dev = usb_device(ptp_usb->handle); in dump_usbinfo()
714 printf(" IN endpoint maxpacket: %d bytes\n", ptp_usb->inep_maxpacket); in dump_usbinfo()
[all …]
Dlibusb-glue.h70 int open_device (int busn, int devn, short force, PTP_USB *ptp_usb, PTPParams *params, struct usb_d…
71 void dump_usbinfo(PTP_USB *ptp_usb);
72 const char *get_playlist_extension(PTP_USB *ptp_usb);
73 void close_device(PTP_USB *ptp_usb, PTPParams *params);
77 void set_usb_device_timeout(PTP_USB *ptp_usb, int timeout);
78 void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout);
Dlibmtp.c1676 PTP_USB *ptp_usb; in LIBMTP_Open_Raw_Device() local
1738 ptp_usb = (PTP_USB*) mtp_device->usbinfo; in LIBMTP_Open_Raw_Device()
1740 ptp_usb->params = current_params; in LIBMTP_Open_Raw_Device()
1809 if(!FLAG_BROKEN_BATTERY_LEVEL(ptp_usb) && in LIBMTP_Open_Raw_Device()
1972 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Release_Device() local
1974 close_device(ptp_usb, params); in LIBMTP_Release_Device()
1980 free(ptp_usb); in LIBMTP_Release_Device()
2116 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Set_Device_Timeout() local
2117 set_usb_device_timeout(ptp_usb, milliseconds); in LIBMTP_Set_Device_Timeout()
2122 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in LIBMTP_Get_Device_Timeout() local
[all …]
Dplaylist-spl.c207 PTP_USB *ptp_usb = (PTP_USB*) device->usbinfo; in playlist_t_to_spl() local
208 if(FLAG_PLAYLIST_SPL_V2(ptp_usb)) ver_major = 2; in playlist_t_to_spl()