Lines Matching refs:PTP_USB
62 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()
967 PTP_USB *ptp_usb = (PTP_USB *)data; in ptp_write_func()
1206 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_senddata()
1219 ((PTP_USB*)params->data)->current_transfer_complete = 0; in ptp_usb_senddata()
1220 ((PTP_USB*)params->data)->current_transfer_total = size+PTP_USB_BULK_HDR_LEN; in ptp_usb_senddata()
1272 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_getpacket()
1302 PTP_USB *ptp_usb = (PTP_USB *) params->data; in ptp_usb_getdata()
1477 PTP_USB *ptp_usb = (PTP_USB *)(params->data); in ptp_usb_getresp()
1549 PTP_USB *ptp_usb = (PTP_USB *)(params->data); in ptp_usb_event()
1636 PTP_USB *ptp_usb = (PTP_USB *)(params->data); in ptp_usb_control_cancel_request()
1653 static int init_ptp_usb(PTPParams* params, PTP_USB* ptp_usb, struct usb_device* dev) in init_ptp_usb()
1781 static void clear_stall(PTP_USB* ptp_usb) in clear_stall()
1815 static void clear_halt(PTP_USB* ptp_usb) in clear_halt()
1833 static void close_usb(PTP_USB* ptp_usb) in close_usb()
1958 PTP_USB *ptp_usb; in configure_usb_device()
1990 ptp_usb = (PTP_USB *) malloc(sizeof(PTP_USB)); in configure_usb_device()
1995 memset(ptp_usb, 0, sizeof(PTP_USB)); in configure_usb_device()
2078 void close_device (PTP_USB *ptp_usb, PTPParams *params) in close_device()
2085 void set_usb_device_timeout(PTP_USB *ptp_usb, int timeout) in set_usb_device_timeout()
2090 void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout) in get_usb_device_timeout()
2095 int guess_usb_speed(PTP_USB *ptp_usb) in guess_usb_speed()
2124 static int usb_clear_stall_feature(PTP_USB* ptp_usb, int ep) in usb_clear_stall_feature()
2136 static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status) in usb_get_endpoint_status()