Home
last modified time | relevance | path

Searched refs:usbreq (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/usb/gadget/udc/
Dpch_udc.c1773 struct usb_request *usbreq) in pch_udc_free_request() argument
1779 if (!usbep || !usbreq) in pch_udc_free_request()
1782 req = container_of(usbreq, struct pch_udc_request, req); in pch_udc_free_request()
1807 static int pch_udc_pcd_queue(struct usb_ep *usbep, struct usb_request *usbreq, in pch_udc_pcd_queue() argument
1816 if (!usbep || !usbreq || !usbreq->complete || !usbreq->buf) in pch_udc_pcd_queue()
1822 req = container_of(usbreq, struct pch_udc_request, req); in pch_udc_pcd_queue()
1829 if (usbreq->length && in pch_udc_pcd_queue()
1830 ((usbreq->dma == DMA_ADDR_INVALID) || !usbreq->dma)) { in pch_udc_pcd_queue()
1831 if (!((unsigned long)(usbreq->buf) & 0x03)) { in pch_udc_pcd_queue()
1833 usbreq->dma = dma_map_single(&dev->pdev->dev, in pch_udc_pcd_queue()
[all …]
Dsnps_udc_core.c43 static void udc_free_request(struct usb_ep *usbep, struct usb_request *usbreq);
585 udc_free_request(struct usb_ep *usbep, struct usb_request *usbreq) in udc_free_request() argument
590 if (!usbep || !usbreq) in udc_free_request()
594 req = container_of(usbreq, struct udc_request, req); in udc_free_request()
1052 udc_queue(struct usb_ep *usbep, struct usb_request *usbreq, gfp_t gfp) in udc_queue() argument
1063 req = container_of(usbreq, struct udc_request, req); in udc_queue()
1065 if (!usbep || !usbreq || !usbreq->complete || !usbreq->buf in udc_queue()
1082 retval = usb_gadget_map_request(&udc->gadget, usbreq, ep->in); in udc_queue()
1088 usbep->name, usbreq, usbreq->length, in udc_queue()
1089 req->td_data, usbreq->buf); in udc_queue()
[all …]