HomeSort by relevance Sort by last modified time
    Searched refs:usb_request (Results 1 - 19 of 19) sorted by null

  /frameworks/av/media/mtp/
MtpRequestPacket.h 23 struct usb_request;
40 int write(struct usb_request *request);
MtpDataPacket.h 24 struct usb_request;
106 int read(struct usb_request *request);
107 int readData(struct usb_request *request, void* buffer, int length);
108 int readDataAsync(struct usb_request *req);
110 int readDataHeader(struct usb_request *ep);
112 int writeDataHeader(struct usb_request *ep, uint32_t length);
113 int write(struct usb_request *ep);
114 int write(struct usb_request *ep, void* buffer, uint32_t length);
MtpEventPacket.h 38 int read(struct usb_request *request);
MtpResponsePacket.h 38 int read(struct usb_request *request);
MtpDevice.h 28 struct usb_request;
41 struct usb_request* mRequestIn1;
42 struct usb_request* mRequestIn2;
43 struct usb_request* mRequestOut;
44 struct usb_request* mRequestIntr;
MtpPacket.h 22 struct usb_request;
60 int transfer(struct usb_request* request);
MtpRequestPacket.cpp 50 int MtpRequestPacket::write(struct usb_request *request)
MtpResponsePacket.cpp 47 int MtpResponsePacket::read(struct usb_request *request) {
MtpEventPacket.cpp 57 int MtpEventPacket::read(struct usb_request *request) {
MtpDataPacket.cpp 378 int MtpDataPacket::read(struct usb_request *request) {
404 int MtpDataPacket::readData(struct usb_request *request, void* buffer, int length) {
419 int MtpDataPacket::readDataAsync(struct usb_request *req) {
429 struct usb_request *req = usb_request_wait(device);
433 int MtpDataPacket::readDataHeader(struct usb_request *request) {
442 int MtpDataPacket::writeDataHeader(struct usb_request *request, uint32_t length) {
451 int MtpDataPacket::write(struct usb_request *request) {
467 int MtpDataPacket::write(struct usb_request *request, void* buffer, uint32_t length) {
MtpPacket.cpp 155 int MtpPacket::transfer(struct usb_request* request) {
MtpDevice.cpp 611 struct usb_request* req = mRequestIn1;
712 struct usb_request* req = mRequestIn1;
  /bootable/bootloader/legacy/include/boot/
usb.h 67 struct usb_request struct
74 void (*complete)(struct usb_request *req, unsigned actual, int status);
78 struct usb_request *usb_request_alloc();
80 int usb_queue_req(struct usb_endpoint *ept, struct usb_request *req);
  /system/core/include/usbhost/
usbhost.h 42 struct usb_request struct
198 /* Creates a new usb_request. */
199 struct usb_request *usb_request_new(struct usb_device *dev,
203 void usb_request_free(struct usb_request *req);
206 int usb_request_queue(struct usb_request *req);
209 * Returns a usb_request, or NULL for error.
211 struct usb_request *usb_request_wait(struct usb_device *dev);
214 int usb_request_cancel(struct usb_request *req);
  /frameworks/base/core/jni/
android_hardware_UsbRequest.cpp 33 struct usb_request* get_request_from_object(JNIEnv* env, jobject java_request)
35 return (struct usb_request*)env->GetIntField(java_request, field_context);
62 struct usb_request* request = usb_request_new(device, &desc);
72 struct usb_request* request = get_request_from_object(env, thiz);
83 struct usb_request* request = get_request_from_object(env, thiz);
120 struct usb_request* request = get_request_from_object(env, thiz);
139 struct usb_request* request = get_request_from_object(env, thiz);
169 struct usb_request* request = get_request_from_object(env, thiz);
181 struct usb_request* request = get_request_from_object(env, thiz);
android_hardware_UsbDeviceConnection.cpp 207 struct usb_request* request = usb_request_wait(device);
  /bootable/bootloader/legacy/usbloader/
usbloader.c 243 static struct usb_request *rx_req, *tx_req;
249 static void usb_rx_cmd_complete(struct usb_request *req, unsigned actual, int status);
250 static void usb_rx_data_complete(struct usb_request *req, unsigned actual, int status);
254 struct usb_request *req = rx_req;
263 struct usb_request *req = rx_req;
272 struct usb_request *req = tx_req;
281 static void usb_rx_data_complete(struct usb_request *req, unsigned actual, int status)
342 static void usb_rx_cmd_complete(struct usb_request *req, unsigned actual, int status)
  /bootable/bootloader/legacy/arch_msm7k/
hsusb.c 45 struct usb_request *req;
112 struct usb_request *usb_request_alloc(unsigned bufsiz)
114 struct usb_request *req;
121 int usb_queue_req(struct usb_endpoint *ept, struct usb_request *req)
147 struct usb_request *req;
190 static struct usb_request *ep0req;
199 static void ep0in_complete(struct usb_request *req, unsigned actual, int status)
  /system/core/libusbhost/
usbhost.c 495 struct usb_request *usb_request_new(struct usb_device *dev,
513 struct usb_request *req = calloc(1, sizeof(struct usb_request));
528 void usb_request_free(struct usb_request *req)
534 int usb_request_queue(struct usb_request *req)
554 struct usb_request *usb_request_wait(struct usb_device *dev)
557 struct usb_request *req = NULL;
572 req = (struct usb_request*)urb->usercontext;
580 int usb_request_cancel(struct usb_request *req)

Completed in 858 milliseconds