Home
last modified time | relevance | path

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

/external/libmtp/src/
Dlibusb-glue.c1173 int wlen, datawlen; in ptp_usb_senddata() local
1192 datawlen = 0; in ptp_usb_senddata()
1197 datawlen = (size<PTP_USB_BULK_PAYLOAD_LEN_WRITE)?size:PTP_USB_BULK_PAYLOAD_LEN_WRITE; in ptp_usb_senddata()
1198 wlen = PTP_USB_BULK_HDR_LEN + datawlen; in ptp_usb_senddata()
1200 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1203 if (gotlen != datawlen) in ptp_usb_senddata()
1213 if (size <= datawlen) return ret; in ptp_usb_senddata()
1215 bytes_left_to_transfer = size-datawlen; in ptp_usb_senddata()