Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/include/linux/usb/
Dgadget.h100 struct usb_request { struct
117 struct usb_request *req); argument
142 struct usb_request *(*alloc_request) (struct usb_ep *ep, argument
144 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
146 int (*queue) (struct usb_ep *ep, struct usb_request *req,
148 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
251 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
252 void usb_ep_free_request(struct usb_ep *ep, struct usb_request *req);
253 int usb_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags);
254 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Dtcm.h93 struct usb_request *req_in;
94 struct usb_request *req_out;
95 struct usb_request *req_status;
99 struct usb_request *req;
104 struct usb_request *req;
131 struct usb_request *bot_req_in;
132 struct usb_request *bot_req_out;
Duvc.h25 struct usb_request;
92 struct usb_request *req[UVC_NUM_REQUESTS];
97 void (*encode) (struct usb_request *req, struct uvc_video *video,
133 struct usb_request *control_req;
Df_printer.c80 struct usb_request *current_rx_req;
229 static struct usb_request *
232 struct usb_request *req; in printer_req_alloc()
249 printer_req_free(struct usb_ep *ep, struct usb_request *req) in printer_req_free()
259 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
308 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
392 struct usb_request *req; in setup_rx_reqs()
398 struct usb_request, list); in setup_rx_reqs()
432 struct usb_request *req; in printer_read()
434 struct usb_request *current_rx_req; in printer_read()
[all …]
Du_serial.c89 struct usb_request *req;
161 struct usb_request *
164 struct usb_request *req; in gs_alloc_req()
186 void gs_free_req(struct usb_ep *ep, struct usb_request *req) in gs_free_req()
243 struct usb_request *req; in gs_start_tx()
249 req = list_entry(pool->next, struct usb_request, list); in gs_start_tx()
310 struct usb_request *req; in gs_start_rx()
322 req = list_entry(pool->next, struct usb_request, list); in gs_start_rx()
371 struct usb_request *req; in gs_rx_push()
373 req = list_first_entry(queue, struct usb_request, list); in gs_rx_push()
[all …]
Duvc_video.c58 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk()
98 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc()
128 static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) in uvcg_video_ep_queue()
146 uvc_video_complete(struct usb_ep *ep, struct usb_request *req) in uvc_video_complete()
250 struct usb_request *req; in uvcg_video_pump()
264 req = list_first_entry(&video->req_free, struct usb_request, in uvcg_video_pump()
Du_serial.h53 struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t flags);
54 void gs_free_req(struct usb_ep *, struct usb_request *req);
Du_ether.c173 static void rx_complete(struct usb_ep *ep, struct usb_request *req);
176 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
254 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
349 struct usb_request *req; in prealloc()
380 req = container_of(next, struct usb_request, list); in prealloc()
406 struct usb_request *req; in rx_fill()
412 req = list_first_entry(&dev->rx_reqs, struct usb_request, list); in rx_fill()
439 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
479 struct usb_request *req = NULL; in eth_start_xmit()
533 req = list_first_entry(&dev->tx_reqs, struct usb_request, list); in eth_start_xmit()
[all …]
Df_phonet.c50 struct usb_request *in_req;
51 struct usb_request *out_reqv[];
200 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()
292 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit()
311 static void pn_rx_complete(struct usb_ep *ep, struct usb_request *req) in pn_rx_complete()
543 struct usb_request *req; in pn_bind()
670 size = sizeof(*fp) + (phonet_rxq_size * sizeof(struct usb_request *)); in phonet_alloc()
Df_hid.c34 struct usb_request *req;
59 struct usb_request *req;
249 struct usb_request *req; in f_hidg_read()
316 static void f_hidg_req_complete(struct usb_ep *ep, struct usb_request *req) in f_hidg_req_complete()
336 struct usb_request *req; in f_hidg_write()
464 static inline struct usb_request *hidg_alloc_ep_req(struct usb_ep *ep, in hidg_alloc_ep_req()
470 static void hidg_set_report_complete(struct usb_ep *ep, struct usb_request *req) in hidg_set_report_complete()
510 struct usb_request *req = cdev->req; in hidg_setup()
664 struct usb_request *req_in = NULL; in hidg_set_alt()
716 struct usb_request *req = in hidg_set_alt()
Df_midi.c97 DECLARE_KFIFO_PTR(in_req_fifo, struct usb_request *);
227 static inline struct usb_request *midi_alloc_ep_req(struct usb_ep *ep, in midi_alloc_ep_req()
256 static void f_midi_handle_out_data(struct usb_ep *ep, struct usb_request *req) in f_midi_handle_out_data()
270 f_midi_complete(struct usb_ep *ep, struct usb_request *req) in f_midi_complete()
383 struct usb_request *req = in f_midi_set_alt()
397 struct usb_request *req = in f_midi_set_alt()
421 struct usb_request *req = NULL; in f_midi_disable()
447 static void f_midi_transmit_byte(struct usb_request *req, in f_midi_transmit_byte()
608 struct usb_request *req = NULL; in f_midi_do_transmit()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_gadget.h54 struct usb_request request;
65 extern struct usb_request *
67 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
112 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
/kernel/linux/linux-5.10/drivers/usb/gadget/
Du_f.h61 struct usb_request;
75 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len);
78 static inline void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
Du_f.c14 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len) in alloc_ep_req()
16 struct usb_request *req; in alloc_ep_req()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dtrace.h214 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
228 __field(struct usb_request *, req)
255 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
260 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
265 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
270 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
275 TP_PROTO(struct usb_ep *ep, struct usb_request *req, int ret),
Dcore.c173 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
176 struct usb_request *req = NULL; in usb_ep_alloc_request()
196 struct usb_request *req) in usb_ep_free_request()
272 struct usb_request *req, gfp_t gfp_flags) in usb_ep_queue()
307 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
818 struct usb_request *req, int is_in) in usb_gadget_map_request_by_dev()
859 struct usb_request *req, int is_in) in usb_gadget_map_request()
866 struct usb_request *req, int is_in) in usb_gadget_unmap_request_by_dev()
885 struct usb_request *req, int is_in) in usb_gadget_unmap_request()
906 struct usb_request *req) in usb_gadget_giveback_request()
Dbcm63xx_udc.c257 struct usb_request req;
328 struct usb_request *ep0_reply;
329 struct usb_request *ep0_request;
350 static inline struct bcm63xx_req *our_req(struct usb_request *req) in our_req()
1116 static struct usb_request *bcm63xx_udc_alloc_request(struct usb_ep *ep, in bcm63xx_udc_alloc_request()
1133 struct usb_request *req) in bcm63xx_udc_free_request()
1153 static int bcm63xx_udc_queue(struct usb_ep *ep, struct usb_request *req, in bcm63xx_udc_queue()
1206 static int bcm63xx_udc_dequeue(struct usb_ep *ep, struct usb_request *req) in bcm63xx_udc_dequeue()
1385 struct usb_request *req) in bcm63xx_ep0_map_write()
1406 struct usb_request *req, int status) in bcm63xx_ep0_complete()
[all …]
Dfotg210.h211 struct usb_request req;
242 struct usb_request *ep0_req; /* for internal request */
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3.h299 struct usb_request request;
373 static inline struct mtu3_request *to_mtu3_request(struct usb_request *req) in to_mtu3_request()
416 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
417 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
419 struct usb_request *req, int status);
Dmtu3_gadget_ep0.c57 static void ep0_req_giveback(struct mtu3 *mtu, struct usb_request *req) in ep0_req_giveback()
167 static void ep0_dummy_complete(struct usb_ep *ep, struct usb_request *req) in ep0_dummy_complete()
170 static void ep0_set_sel_complete(struct usb_ep *ep, struct usb_request *req) in ep0_set_sel_complete()
512 struct usb_request *req; in ep0_rx_state()
566 struct usb_request *req; in ep0_tx_state()
837 struct usb_request *req, gfp_t gfp) in mtu3_ep0_queue()
858 static int mtu3_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in mtu3_ep0_dequeue()
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Ddbgp.c28 struct usb_request *req;
92 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) in dbgp_complete()
131 struct usb_request *req; in dbgp_enable_ep_req()
331 struct usb_request *req) in dbgp_setup_complete()
340 struct usb_request *req = dbgp.req; in dbgp_setup()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c71 struct usb_request *request,
75 struct usb_request *request);
78 struct usb_request *request);
129 struct usb_request *cdns3_next_request(struct list_head *list) in cdns3_next_request()
131 return list_first_entry_or_null(list, struct usb_request, list); in cdns3_next_request()
414 struct usb_request *request; in cdns3_start_all_request()
471 static void __cdns3_descmiss_copy_data(struct usb_request *request, in __cdns3_descmiss_copy_data()
472 struct usb_request *descmiss_req) in __cdns3_descmiss_copy_data()
508 struct usb_request *request) in cdns3_wa2_descmiss_copy_data()
510 struct usb_request *descmiss_req; in cdns3_wa2_descmiss_copy_data()
[all …]
Dep0.c108 struct usb_request *request; in cdns3_ep0_complete_setup()
507 struct usb_request *request = priv_dev->pending_status_request; in __pending_setup_status_handler()
542 struct usb_request *request; in cdns3_ep0_setup_phase()
574 struct usb_request *request; in cdns3_transfer_completed()
688 struct usb_request *request, in cdns3_gadget_ep0_queue()
825 struct usb_request *request; in cdns3_ep0_config()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc.h40 struct usb_request req;
128 struct usb_request *_req) in to_vrequest()
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dmod_gadget.c23 struct usb_request req;
171 struct usb_request *req = &ureq->req; in usbhsg_queue_push()
191 struct usb_request *req = &ureq->req; in usbhsg_dma_map_ctrl()
302 struct usb_request *req) in __usbhsg_recip_send_complete()
317 struct usb_request *req; in __usbhsg_recip_send_status()
659 static struct usb_request *usbhsg_ep_alloc_request(struct usb_ep *ep, in usbhsg_ep_alloc_request()
674 struct usb_request *req) in usbhsg_ep_free_request()
682 static int usbhsg_ep_queue(struct usb_ep *ep, struct usb_request *req, in usbhsg_ep_queue()
701 static int usbhsg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usbhsg_ep_dequeue()

123456