Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/eth/
Dmcs7830.c513 int gotlen; in mcs7830_send_common() local
520 &buf[0], length, &gotlen, in mcs7830_send_common()
523 __func__, length, gotlen, rc); in mcs7830_send_common()
529 int rc, wantlen, gotlen; in mcs7830_recv_common() local
538 &buf[0], wantlen, &gotlen, in mcs7830_recv_common()
541 __func__, wantlen, gotlen, rc); in mcs7830_recv_common()
546 if (gotlen > wantlen) { in mcs7830_recv_common()
547 pr_err("RX: got too many bytes (%d)\n", gotlen); in mcs7830_recv_common()
555 if (gotlen < sizeof(sts)) in mcs7830_recv_common()
557 gotlen -= sizeof(sts); in mcs7830_recv_common()
[all …]
/external/libmtp/src/
Dlibusb-glue.c1065 unsigned long *gotlen in memory_getfunc() argument
1074 *gotlen = tocopy; in memory_getfunc()
1226 unsigned long gotlen; in ptp_usb_senddata() local
1231 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1234 if (gotlen != datawlen) in ptp_usb_senddata()
Dlibusb1-glue.c1090 unsigned long *gotlen in memory_getfunc() argument
1099 *gotlen = tocopy; in memory_getfunc()
1251 unsigned long gotlen; in ptp_usb_senddata() local
1256 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1259 if (gotlen != datawlen) in ptp_usb_senddata()
Dlibopenusb1-glue.c1073 unsigned long *gotlen in memory_getfunc() argument
1082 *gotlen = tocopy; in memory_getfunc()
1233 unsigned long gotlen; in ptp_usb_senddata() local
1238 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata()
1243 if (gotlen != datawlen){ in ptp_usb_senddata()
Dlibmtp.h.in482 * @param gotlen pointer to the number of bytes actually written
489 uint32_t wantlen, unsigned char *data, uint32_t *gotlen);
Dptp.c245 unsigned long *gotlen in memory_getfunc() argument
254 *gotlen = tocopy; in memory_getfunc()
342 unsigned long *gotlen in fd_getfunc() argument
349 *gotlen = got; in fd_getfunc()
Dptp.h2377 unsigned char *data, unsigned long *gotlen);
Dlibmtp.c237 …(PTPParams* params, void* priv, unsigned long wantlen, unsigned char *data, unsigned long *gotlen);
5142 …r(PTPParams* params, void* priv, unsigned long wantlen, unsigned char *data, unsigned long *gotlen) in get_func_wrapper() argument
5148 *gotlen = local_gotlen; in get_func_wrapper()