Lines Matching refs:usb_request
94 struct usb_request *rx_req[RX_REQ_MAX];
280 static struct usb_request *mtp_request_new(struct usb_ep *ep, int buffer_size) in mtp_request_new()
282 struct usb_request *req = usb_ep_alloc_request(ep, GFP_KERNEL); in mtp_request_new()
296 static void mtp_request_free(struct usb_request *req, struct usb_ep *ep) in mtp_request_free()
321 struct usb_request *req) in mtp_req_put()
331 static struct usb_request
335 struct usb_request *req; in mtp_req_get()
341 req = list_first_entry(head, struct usb_request, list); in mtp_req_get()
348 static void mtp_complete_in(struct usb_ep *ep, struct usb_request *req) in mtp_complete_in()
360 static void mtp_complete_out(struct usb_ep *ep, struct usb_request *req) in mtp_complete_out()
371 static void mtp_complete_intr(struct usb_ep *ep, struct usb_request *req) in mtp_complete_intr()
389 struct usb_request *req; in mtp_create_bulk_endpoints()
457 struct usb_request *req; in mtp_read()
534 struct usb_request *req = 0; in mtp_write()
626 struct usb_request *req = 0; in send_file_work()
729 struct usb_request *read_req = NULL, *write_req = NULL; in receive_file_work()
811 struct usb_request *req = NULL; in mtp_send_event()
1113 struct usb_request *req; in mtp_function_unbind()