Searched defs:urb (Results 1 - 2 of 2) sorted by relevance

/system/core/adb/
H A Dusb_linux.c313 struct usbdevfs_urb *urb = &h->urb_out; local
318 memset(urb, 0, sizeof(*urb));
319 urb->type = USBDEVFS_URB_TYPE_BULK;
320 urb->endpoint = h->ep_out;
321 urb->status = -1;
322 urb->buffer = (void*) data;
323 urb->buffer_length = len;
333 res = ioctl(h->desc, USBDEVFS_SUBMITURB, urb);
352 if(urb
366 struct usbdevfs_urb *urb = &h->urb_in; local
[all...]
/system/core/libusbhost/
H A Dusbhost.c549 struct usbdevfs_urb *urb = calloc(1, sizeof(struct usbdevfs_urb)); local
550 if (!urb)
554 urb->type = USBDEVFS_URB_TYPE_BULK;
556 urb->type = USBDEVFS_URB_TYPE_INTERRUPT;
559 free(urb);
562 urb->endpoint = ep_desc->bEndpointAddress;
566 free(urb);
572 req->private_data = urb;
573 req->endpoint = urb->endpoint;
574 urb
587 struct usbdevfs_urb *urb = (struct usbdevfs_urb*)req->private_data; local
607 struct usbdevfs_urb *urb = NULL; local
633 struct usbdevfs_urb *urb = ((struct usbdevfs_urb*)req->private_data); local
[all...]

Completed in 18 milliseconds