Searched refs:usb_read (Results 1 - 13 of 13) sorted by relevance

/system/core/fastboot/
H A Dusb.h63 int usb_read(usb_handle *h, void *_data, int len);
H A Dusb_windows.c79 int usb_read(usb_handle *handle, void* data, int len);
196 int usb_read(usb_handle *handle, void* data, int len) { function
201 DBG("usb_read %d\n", len);
212 DBG("usb_read got: %ld, expected: %d, errno: %d\n", read, xfer, errno);
224 DBG("usb_read NULL handle\n");
228 DBG("usb_read failed: %d\n", errno);
H A Dusbtest.c116 if(usb_read(usb, buf, arg_size) != arg_size) {
H A Dprotocol.c56 r = usb_read(usb, status, 64);
H A Dusb_linux.c361 int usb_read(usb_handle *h, void *_data, int len) function
H A Dusb_osx.c470 int usb_read(usb_handle *h, void *data, int len) { function
483 ERR("usb_read interface was null\n");
498 ERR("usb_read failed with status %x\n", result);
/system/core/adb/
H A Dtransport_usb.c55 if(usb_read(t->usb, &p->msg, sizeof(amessage))){
68 if(usb_read(t->usb, p->data, p->msg.data_length)){
H A Dusb_windows.c102 int usb_read(usb_handle *handle, void* data, int len);
302 int usb_read(usb_handle *handle, void* data, int len) { function
307 D("usb_read %d\n", len);
334 D("usb_read NULL handle\n");
338 D("usb_read failed: %d\n", errno);
H A Dadb.h449 int usb_read(usb_handle *h, void *data, int len);
H A Dusb_libusb.c177 usb_read(struct usb_handle *uh, void *_data, int len) function
182 D("usb_read(): %p:%d <- transport %p\n", _data, len, uh);
196 D("usb_read(): failed for transport %p (%d bytes left)\n", uh, len);
H A Dusb_linux_client.c480 int usb_read(usb_handle *h, void *data, int len) function
H A Dusb_osx.c492 int usb_read(usb_handle *handle, void *buf, int len) function
506 DBG("ERR: usb_read interface was null\n");
522 DBG("ERR: usb_read failed with status %d\n", result);
H A Dusb_linux.c474 int usb_read(usb_handle *h, void *_data, int len) function
479 D("++ usb_read ++\n");
504 D("-- usb_read --\n");

Completed in 101 milliseconds