Lines Matching refs:PTP_USB
64 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()
1214 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_senddata()
1226 ((PTP_USB*) params->data)->current_transfer_complete = 0; in ptp_usb_senddata()
1227 ((PTP_USB*) params->data)->current_transfer_total = size + PTP_USB_BULK_HDR_LEN; in ptp_usb_senddata()
1282 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_getpacket()
1312 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_getdata()
1509 PTP_USB *ptp_usb = (PTP_USB *) (params->data); in ptp_usb_getresp()
1576 PTP_USB *ptp_usb = (PTP_USB *) (params->data); in ptp_usb_event()
1710 PTP_USB *ptp_usb = (PTP_USB *) (params->data); in ptp_usb_control_cancel_request()
1741 static int init_ptp_usb(PTPParams* params, PTP_USB* ptp_usb, openusb_dev_handle_t* dev) { in init_ptp_usb()
1886 static void clear_stall(PTP_USB* ptp_usb) { in clear_stall()
1921 static void clear_halt(PTP_USB* ptp_usb) { in clear_halt()
1940 static void close_usb(PTP_USB* ptp_usb) { in close_usb()
2062 PTP_USB *ptp_usb; in configure_usb_device()
2099 ptp_usb = (PTP_USB *) malloc(sizeof (PTP_USB)); in configure_usb_device()
2105 memset(ptp_usb, 0, sizeof (PTP_USB)); in configure_usb_device()
2188 void close_device(PTP_USB *ptp_usb, PTPParams *params) { in close_device()
2194 void set_usb_device_timeout(PTP_USB *ptp_usb, int timeout) { in set_usb_device_timeout()
2198 void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout) { in get_usb_device_timeout()
2202 int guess_usb_speed(PTP_USB *ptp_usb) { in guess_usb_speed()
2230 static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status) { in usb_get_endpoint_status()