Home
last modified time | relevance | path

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

12345

/linux-6.1.9/include/linux/usb/
Dgadget.h98 struct usb_request { struct
115 struct usb_request *req); argument
140 struct usb_request *(*alloc_request) (struct usb_ep *ep, argument
142 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
144 int (*queue) (struct usb_ep *ep, struct usb_request *req,
146 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
249 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
250 void usb_ep_free_request(struct usb_ep *ep, struct usb_request *req);
251 int usb_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags);
252 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
[all …]
/linux-6.1.9/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;
Df_printer.c82 struct usb_request *current_rx_req;
231 static struct usb_request *
234 struct usb_request *req; in printer_req_alloc()
251 printer_req_free(struct usb_ep *ep, struct usb_request *req) in printer_req_free()
261 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
310 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
394 struct usb_request *req; in setup_rx_reqs()
400 struct usb_request, list); in setup_rx_reqs()
434 struct usb_request *req; in printer_read()
436 struct usb_request *current_rx_req; in printer_read()
[all …]
Duvc.h26 struct usb_request;
78 struct usb_request *req;
111 void (*encode) (struct usb_request *req, struct uvc_video *video,
150 struct usb_request *control_req;
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()
308 struct usb_request *req; in gs_start_rx()
320 req = list_entry(pool->next, struct usb_request, list); in gs_start_rx()
369 struct usb_request *req; in gs_rx_push()
371 req = list_first_entry(queue, struct usb_request, list); in gs_rx_push()
[all …]
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.c174 static void rx_complete(struct usb_ep *ep, struct usb_request *req);
177 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
255 static void rx_complete(struct usb_ep *ep, struct usb_request *req) in rx_complete()
350 struct usb_request *req; in prealloc()
381 req = container_of(next, struct usb_request, list); in prealloc()
407 struct usb_request *req; in rx_fill()
413 req = list_first_entry(&dev->rx_reqs, struct usb_request, list); in rx_fill()
440 static void tx_complete(struct usb_ep *ep, struct usb_request *req) in tx_complete()
480 struct usb_request *req = NULL; in eth_start_xmit()
534 req = list_first_entry(&dev->tx_reqs, struct usb_request, list); in eth_start_xmit()
[all …]
Duvc_video.c87 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk()
130 uvc_video_encode_isoc_sg(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc_sg()
197 uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_isoc()
230 static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) in uvcg_video_ep_queue()
251 uvc_video_complete(struct usb_ep *ep, struct usb_request *req) in uvc_video_complete()
385 struct usb_request *req = NULL; in uvcg_video_pump()
400 req = list_first_entry(&video->req_free, struct usb_request, in uvcg_video_pump()
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()
295 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit()
314 static void pn_rx_complete(struct usb_ep *ep, struct usb_request *req) in pn_rx_complete()
546 struct usb_request *req; in pn_bind()
Df_hid.c34 struct usb_request *req;
72 struct usb_request *req;
292 struct usb_request *req; in f_hidg_intout_read()
413 static void f_hidg_req_complete(struct usb_ep *ep, struct usb_request *req) in f_hidg_req_complete()
433 struct usb_request *req; in f_hidg_write()
567 static inline struct usb_request *hidg_alloc_ep_req(struct usb_ep *ep, in hidg_alloc_ep_req()
573 static void hidg_intout_complete(struct usb_ep *ep, struct usb_request *req) in hidg_intout_complete()
608 static void hidg_ssreport_complete(struct usb_ep *ep, struct usb_request *req) in hidg_ssreport_complete()
644 struct usb_request *req = cdev->req; in hidg_setup()
805 struct usb_request *req_in = NULL; in hidg_set_alt()
[all …]
/linux-6.1.9/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);
/linux-6.1.9/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()
/linux-6.1.9/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.c180 struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
183 struct usb_request *req = NULL; in usb_ep_alloc_request()
203 struct usb_request *req) in usb_ep_free_request()
279 struct usb_request *req, gfp_t gfp_flags) in usb_ep_queue()
314 int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
827 struct usb_request *req, int is_in) in usb_gadget_map_request_by_dev()
868 struct usb_request *req, int is_in) in usb_gadget_map_request()
875 struct usb_request *req, int is_in) in usb_gadget_unmap_request_by_dev()
894 struct usb_request *req, int is_in) in usb_gadget_unmap_request()
913 struct usb_request *req) in usb_gadget_giveback_request()
Dbcm63xx_udc.c257 struct usb_request req;
327 struct usb_request *ep0_reply;
328 struct usb_request *ep0_request;
347 static inline struct bcm63xx_req *our_req(struct usb_request *req) in our_req()
1113 static struct usb_request *bcm63xx_udc_alloc_request(struct usb_ep *ep, in bcm63xx_udc_alloc_request()
1130 struct usb_request *req) in bcm63xx_udc_free_request()
1150 static int bcm63xx_udc_queue(struct usb_ep *ep, struct usb_request *req, in bcm63xx_udc_queue()
1203 static int bcm63xx_udc_dequeue(struct usb_ep *ep, struct usb_request *req) in bcm63xx_udc_dequeue()
1382 struct usb_request *req) in bcm63xx_ep0_map_write()
1403 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 */
/linux-6.1.9/drivers/usb/mtu3/
Dmtu3.h296 struct usb_request request;
374 static inline struct mtu3_request *to_mtu3_request(struct usb_request *req) in to_mtu3_request()
417 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
418 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
420 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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-gadget.c72 struct usb_request *request,
76 struct usb_request *request);
79 struct usb_request *request);
130 struct usb_request *cdns3_next_request(struct list_head *list) in cdns3_next_request()
132 return list_first_entry_or_null(list, struct usb_request, list); in cdns3_next_request()
386 struct usb_request *request; in cdns3_start_all_request()
441 static void __cdns3_descmiss_copy_data(struct usb_request *request, in __cdns3_descmiss_copy_data()
442 struct usb_request *descmiss_req) in __cdns3_descmiss_copy_data()
478 struct usb_request *request) in cdns3_wa2_descmiss_copy_data()
480 struct usb_request *descmiss_req; in cdns3_wa2_descmiss_copy_data()
[all …]
Dcdns3-ep0.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()
/linux-6.1.9/drivers/usb/usbip/
Dvudc.h40 struct usb_request req;
128 struct usb_request *_req) in to_vrequest()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dvhub.h235 struct usb_request req;
519 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep,
521 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);

12345