Searched refs:PTP_USB_BULK_HDR_LEN (Results 1 - 3 of 3) sorted by relevance
/external/libmtp/src/ |
H A D | libusb-glue.c | 1183 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN+size); 1189 ((PTP_USB*)params->data)->current_transfer_total = size+PTP_USB_BULK_HDR_LEN; 1193 wlen = PTP_USB_BULK_HDR_LEN; 1198 wlen = PTP_USB_BULK_HDR_LEN + datawlen; 1311 params, handler->priv, rlen - PTP_USB_BULK_HDR_LEN, usbdata.payload.data, 1338 * PTP_USB_BULK_HDR_LEN 1351 if (surplen >= PTP_USB_BULK_HDR_LEN) { 1371 len=dtoh32(usbdata.length)-PTP_USB_BULK_HDR_LEN; 1380 params, handler->priv, rlen - PTP_USB_BULK_HDR_LEN, usbdata.payload.data, 1387 len+PTP_USB_BULK_HDR_LEN [all...] |
H A D | ptp.h | 80 #define PTP_USB_BULK_HDR_LEN (2*sizeof(uint32_t)+2*sizeof(uint16_t)) macro 81 #define PTP_USB_BULK_PAYLOAD_LEN_WRITE (PTP_USB_BULK_HS_MAX_PACKET_LEN_WRITE-PTP_USB_BULK_HDR_LEN) 82 #define PTP_USB_BULK_PAYLOAD_LEN_READ (PTP_USB_BULK_HS_MAX_PACKET_LEN_READ-PTP_USB_BULK_HDR_LEN) 83 #define PTP_USB_BULK_REQ_LEN (PTP_USB_BULK_HDR_LEN+5*sizeof(uint32_t))
|
H A D | libmtp.c | 4808 PTP_USB_BULK_HDR_LEN+sizeof(uint32_t); // Request length, one parameter 4873 PTP_USB_BULK_HDR_LEN+sizeof(uint32_t); // Request length, one parameter 5388 ptp_usb->current_transfer_total = filedata->filesize+PTP_USB_BULK_HDR_LEN*2; 5491 ptp_usb->current_transfer_total = filedata->filesize+PTP_USB_BULK_HDR_LEN*2;
|
Completed in 76 milliseconds