Home
last modified time | relevance | path

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

/system/core/libusbhost/include/usbhost/
Dusbhost.h42 struct usb_request struct
251 struct usb_request *usb_request_new(struct usb_device *dev,
255 void usb_request_free(struct usb_request *req);
258 int usb_request_queue(struct usb_request *req);
264 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis);
267 int usb_request_cancel(struct usb_request *req);
/system/core/libusbhost/
Dusbhost.c692 struct usb_request *usb_request_new(struct usb_device *dev, in usb_request_new()
710 struct usb_request *req = calloc(1, sizeof(struct usb_request)); in usb_request_new()
725 void usb_request_free(struct usb_request *req) in usb_request_free()
731 int usb_request_queue(struct usb_request *req) in usb_request_queue()
747 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis) in usb_request_wait()
774 struct usb_request *req = (struct usb_request*)urb->usercontext; in usb_request_wait()
781 int usb_request_cancel(struct usb_request *req) in usb_request_cancel()