/drivers/usb/gadget/ |
D | f_adb.c | 56 struct usb_request *rx_req; 126 static struct usb_request *adb_request_new(struct usb_ep *ep, int buffer_size) in adb_request_new() 128 struct usb_request *req = usb_ep_alloc_request(ep, GFP_KERNEL); in adb_request_new() 142 static void adb_request_free(struct usb_request *req, struct usb_ep *ep) in adb_request_free() 167 struct usb_request *req) in adb_req_put() 177 struct usb_request *adb_req_get(struct adb_dev *dev, struct list_head *head) in adb_req_get() 180 struct usb_request *req; in adb_req_get() 186 req = list_first_entry(head, struct usb_request, list); in adb_req_get() 193 static void adb_complete_in(struct usb_ep *ep, struct usb_request *req) in adb_complete_in() 205 static void adb_complete_out(struct usb_ep *ep, struct usb_request *req) in adb_complete_out() [all …]
|
D | printer.c | 78 struct usb_request *req; /* for control responses */ 94 struct usb_request *current_rx_req; 353 static struct usb_request * 356 struct usb_request *req; in printer_req_alloc() 373 printer_req_free(struct usb_ep *ep, struct usb_request *req) in printer_req_free() 383 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete() 432 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete() 511 struct usb_request *req; in setup_rx_reqs() 517 struct usb_request, list); in setup_rx_reqs() 547 struct usb_request *req; in printer_read() [all …]
|
D | f_audio_source.c | 271 static struct usb_request *audio_request_new(struct usb_ep *ep, int buffer_size) in audio_request_new() 273 struct usb_request *req = usb_ep_alloc_request(ep, GFP_KERNEL); in audio_request_new() 286 static void audio_request_free(struct usb_request *req, struct usb_ep *ep) in audio_request_free() 294 static void audio_req_put(struct audio_dev *audio, struct usb_request *req) in audio_req_put() 303 static struct usb_request *audio_req_get(struct audio_dev *audio) in audio_req_get() 306 struct usb_request *req; in audio_req_get() 312 req = list_first_entry(&audio->idle_reqs, struct usb_request, in audio_req_get() 324 struct usb_request *req; in audio_send() 400 static void audio_control_complete(struct usb_ep *ep, struct usb_request *req) in audio_control_complete() 405 static void audio_data_complete(struct usb_ep *ep, struct usb_request *req) in audio_data_complete() [all …]
|
D | u_serial.c | 293 struct usb_request * 296 struct usb_request *req; in gs_alloc_req() 317 void gs_free_req(struct usb_ep *ep, struct usb_request *req) in gs_free_req() 368 struct usb_request *req; in gs_start_tx() 374 req = list_entry(pool->next, struct usb_request, list); in gs_start_tx() 433 struct usb_request *req; in gs_start_rx() 445 req = list_entry(pool->next, struct usb_request, list); in gs_start_rx() 493 struct usb_request *req; in gs_rx_push() 495 req = list_first_entry(queue, struct usb_request, list); in gs_rx_push() 585 static void gs_read_complete(struct usb_ep *ep, struct usb_request *req) in gs_read_complete() [all …]
|
D | f_accessory.c | 106 struct usb_request *rx_req[RX_REQ_MAX]; 202 static struct usb_request *acc_request_new(struct usb_ep *ep, int buffer_size) in acc_request_new() 204 struct usb_request *req = usb_ep_alloc_request(ep, GFP_KERNEL); in acc_request_new() 218 static void acc_request_free(struct usb_request *req, struct usb_ep *ep) in acc_request_free() 228 struct usb_request *req) in req_put() 238 static struct usb_request *req_get(struct acc_dev *dev, struct list_head *head) in req_get() 241 struct usb_request *req; in req_get() 247 req = list_first_entry(head, struct usb_request, list); in req_get() 260 static void acc_complete_in(struct usb_ep *ep, struct usb_request *req) in acc_complete_in() 274 static void acc_complete_out(struct usb_ep *ep, struct usb_request *req) in acc_complete_out() [all …]
|
D | f_mtp.c | 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() [all …]
|
D | u_ether.c | 196 static void rx_complete(struct usb_ep *ep, struct usb_request *req); 199 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit() 270 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete() 365 struct usb_request *req; in prealloc() 396 req = container_of(next, struct usb_request, list); in prealloc() 422 struct usb_request *req; in rx_fill() 429 struct usb_request, list); in rx_fill() 456 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete() 495 struct usb_request *req = NULL; in eth_start_xmit() 548 req = container_of(dev->tx_reqs.next, struct usb_request, list); in eth_start_xmit() [all …]
|
D | uvc.h | 124 struct usb_request *req[UVC_NUM_REQUESTS]; 129 void (*encode) (struct usb_request *req, struct uvc_video *video, 163 struct usb_request *control_req;
|
D | f_phonet.c | 51 struct usb_request *in_req; 52 struct usb_request *out_reqv[0]; 201 static void pn_tx_complete(struct usb_ep *ep, struct usb_request *req) in pn_tx_complete() 228 struct usb_request *req; in pn_net_xmit() 299 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() 318 static void pn_rx_complete(struct usb_ep *ep, struct usb_request *req) in pn_rx_complete() 530 struct usb_request *req; in pn_bind() 588 size = sizeof(*fp) + (phonet_rxq_size * sizeof(struct usb_request *)); in phonet_bind_config()
|
D | g_zero.h | 16 struct usb_request *alloc_ep_req(struct usb_ep *ep); 17 void free_ep_req(struct usb_ep *ep, struct usb_request *req);
|
D | uvc_video.c | 60 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() 100 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc() 161 uvc_video_complete(struct usb_ep *ep, struct usb_request *req) in uvc_video_complete() 276 struct usb_request *req; in uvc_video_pump() 294 req = list_first_entry(&video->req_free, struct usb_request, in uvc_video_pump()
|
D | f_midi.c | 94 static void f_midi_transmit(struct f_midi *midi, struct usb_request *req); 195 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req() 197 struct usb_request *req; in alloc_ep_req() 211 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req() 240 static void f_midi_handle_out_data(struct usb_ep *ep, struct usb_request *req) in f_midi_handle_out_data() 254 f_midi_complete(struct usb_ep *ep, struct usb_request *req) in f_midi_complete() 368 struct usb_request *req = in f_midi_set_alt() 428 static void f_midi_transmit_packet(struct usb_request *req, uint8_t p0, in f_midi_transmit_packet() 444 static void f_midi_transmit_byte(struct usb_request *req, in f_midi_transmit_byte() 542 static void f_midi_transmit(struct f_midi *midi, struct usb_request *req) in f_midi_transmit()
|
D | dbgp.c | 32 struct usb_request *req; 99 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) in dbgp_complete() 138 struct usb_request *req; in dbgp_enable_ep_req() 342 struct usb_request *req) in dbgp_setup_complete() 351 struct usb_request *req = dbgp.req; in dbgp_setup()
|
D | u_serial.h | 49 struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t flags); 50 void gs_free_req(struct usb_ep *, struct usb_request *req);
|
D | zero.c | 173 struct usb_request *alloc_ep_req(struct usb_ep *ep) in alloc_ep_req() 175 struct usb_request *req; in alloc_ep_req() 189 void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
|
D | f_sourcesink.c | 248 static int check_read_data(struct f_sourcesink *ss, struct usb_request *req) in check_read_data() 282 static void reinit_write_data(struct usb_ep *ep, struct usb_request *req) in reinit_write_data() 298 static void source_sink_complete(struct usb_ep *ep, struct usb_request *req) in source_sink_complete() 350 struct usb_request *req; in source_sink_start_ep() 479 struct usb_request *req = c->cdev->req; in sourcesink_setup()
|
D | f_uac1.c | 298 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_out_ep_complete() 329 static void f_audio_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_complete() 358 struct usb_request *req = cdev->req; in audio_set_intf_req() 394 struct usb_request *req = cdev->req; in audio_get_intf_req() 494 struct usb_request *req = cdev->req; in f_audio_setup() 547 struct usb_request *req; in f_audio_set_alt()
|
D | inode.c | 135 struct usb_request *req; 193 struct usb_request *req; 269 static void epio_complete (struct usb_ep *ep, struct usb_request *req) in epio_complete() 330 struct usb_request *req = epdata->req; in ep_io() 515 struct usb_request *req; 577 static void ep_aio_complete(struct usb_ep *ep, struct usb_request *req) in ep_aio_complete() 626 struct usb_request *req; in ep_aio_rwtail() 916 static void clean_req (struct usb_ep *ep, struct usb_request *req) in clean_req() 929 static void ep0_complete (struct usb_ep *ep, struct usb_request *req) in ep0_complete() 952 static int setup_req (struct usb_ep *ep, struct usb_request *req, u16 len) in setup_req() [all …]
|
D | ci13xxx_udc.h | 73 struct usb_request req; 124 struct usb_request *status; /* ep0 status request */
|
D | f_acm.c | 56 struct usb_request *notify_req; 309 struct usb_request *req) in acm_complete_set_line_coding() 343 struct usb_request *req = cdev->req; in acm_setup() 495 struct usb_request *req; in acm_cdc_notify() 551 static void acm_cdc_notify_complete(struct usb_ep *ep, struct usb_request *req) in acm_cdc_notify_complete()
|
D | f_rndis.c | 79 struct usb_request *notify_req; 385 struct usb_request *req = rndis->notify_req; in rndis_response_available() 408 static void rndis_response_complete(struct usb_ep *ep, struct usb_request *req) in rndis_response_complete() 447 static void rndis_command_complete(struct usb_ep *ep, struct usb_request *req) in rndis_command_complete() 467 struct usb_request *req = cdev->req; in rndis_setup()
|
D | s3c-hsotg.c | 164 struct usb_request *ep0_reply; 165 struct usb_request *ctrl_req; 181 struct usb_request req; 188 static inline struct s3c_hsotg_req *our_req(struct usb_request *req) in our_req() 383 static struct usb_request *s3c_hsotg_ep_alloc_request(struct usb_ep *ep, in s3c_hsotg_ep_alloc_request() 423 struct usb_request *req = &hs_req->req; in s3c_hsotg_unmap_dma() 653 struct usb_request *ureq = &hs_req->req; in s3c_hsotg_start_req() 810 struct usb_request *req) in s3c_hsotg_map_dma() 853 static int s3c_hsotg_ep_queue(struct usb_ep *ep, struct usb_request *req, in s3c_hsotg_ep_queue() 892 struct usb_request *req) in s3c_hsotg_ep_free_request() [all …]
|
/drivers/usb/musb/ |
D | musb_gadget.h | 47 struct usb_request request; 56 static inline struct musb_request *to_musb_request(struct usb_request *req) in to_musb_request() 61 extern struct usb_request * 63 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req); 117 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
|
D | musb_gadget_ep0.c | 196 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 489 struct usb_request *req; in ep0_rxstate() 544 struct usb_request *request; in ep0_txstate() 928 musb_g_ep0_queue(struct usb_ep *e, struct usb_request *r, gfp_t gfp_flags) in musb_g_ep0_queue() 1009 static int musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in musb_g_ep0_dequeue()
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 30 struct usb_request req; 152 struct usb_request *req = &ureq->req; in usbhsg_queue_push() 171 struct usb_request *req = &ureq->req; in usbhsg_dma_map_ctrl() 284 struct usb_request *req) in __usbhsg_recip_send_complete() 299 struct usb_request *req; in __usbhsg_recip_send_status() 612 static struct usb_request *usbhsg_ep_alloc_request(struct usb_ep *ep, in usbhsg_ep_alloc_request() 627 struct usb_request *req) in usbhsg_ep_free_request() 635 static int usbhsg_ep_queue(struct usb_ep *ep, struct usb_request *req, in usbhsg_ep_queue() 654 static int usbhsg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usbhsg_ep_dequeue()
|