Home
last modified time | relevance | path

Searched refs:ep0req (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Du_fs.h154 * at a time. As a consequence protects ep0req and company.
175 struct usb_request *ep0req; /* P: mutex */ member
H A Du_generic.h202 * at a time. As a consequence protects ep0req and company.
224 struct usb_request *ep0req; /* P: mutex */ member
H A Df_generic.c291 struct usb_request *req = ffs->ep0req;
651 req = ffs->ep0req; in ffs_ep0_iorw()
707 list_add(&req->list, &ffs->ep0req->list); in ffs_ep0_iorw()
792 list_for_each_entry(req, &ffs->ep0req->list, list) { in ffs_ep0_ioctl()
813 list_for_each_entry(req, &ffs->ep0req->list, list) { in ffs_ep0_ioctl()
1722 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); in functionfs_bind()
1723 if (unlikely(!ffs->ep0req)) in functionfs_bind()
1725 ffs->ep0req->complete = ffs_ep0_complete; in functionfs_bind()
1726 ffs->ep0req->context = ffs; in functionfs_bind()
1727 INIT_LIST_HEAD(&ffs->ep0req in functionfs_bind()
[all...]
H A Df_fs.c278 struct usb_request *req = ffs->ep0req;
1867 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); in functionfs_bind()
1868 if (unlikely(!ffs->ep0req)) in functionfs_bind()
1870 ffs->ep0req->complete = ffs_ep0_complete; in functionfs_bind()
1871 ffs->ep0req->context = ffs; in functionfs_bind()
1893 /* dequeue before freeing ep0req */ in functionfs_unbind()
1894 usb_ep_dequeue(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind()
1896 usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind()
1897 ffs->ep0req = NULL; in functionfs_unbind()
H A Df_mass_storage.c276 struct usb_request *ep0req; /* Copy of cdev->req */ member
429 rc = usb_ep_queue(common->ep0, common->ep0req, GFP_ATOMIC); in ep0_queue()
491 struct usb_request *req = fsg->common->ep0req; in fsg_setup()
2702 common->ep0req = cdev->req; in fsg_common_set_cdev()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Du_fs.h152 * at a time. As a consequence protects ep0req and company.
173 struct usb_request *ep0req; /* P: mutex */ member
H A Du_generic.h202 * at a time. As a consequence protects ep0req and company.
224 struct usb_request *ep0req; /* P: mutex */ member
H A Df_generic.c292 struct usb_request *req = ffs->ep0req;
652 req = ffs->ep0req; in ffs_ep0_iorw()
708 list_add(&req->list, &ffs->ep0req->list); in ffs_ep0_iorw()
793 list_for_each_entry(req, &ffs->ep0req->list, list) { in ffs_ep0_ioctl()
814 list_for_each_entry(req, &ffs->ep0req->list, list) { in ffs_ep0_ioctl()
1724 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); in functionfs_bind()
1725 if (unlikely(!ffs->ep0req)) in functionfs_bind()
1727 ffs->ep0req->complete = ffs_ep0_complete; in functionfs_bind()
1728 ffs->ep0req->context = ffs; in functionfs_bind()
1729 INIT_LIST_HEAD(&ffs->ep0req in functionfs_bind()
[all...]
H A Df_fs.c279 struct usb_request *req = ffs->ep0req;
1816 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); in functionfs_bind()
1817 if (!ffs->ep0req) in functionfs_bind()
1819 ffs->ep0req->complete = ffs_ep0_complete; in functionfs_bind()
1820 ffs->ep0req->context = ffs; in functionfs_bind()
1840 /* dequeue before freeing ep0req */ in functionfs_unbind()
1841 usb_ep_dequeue(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind()
1843 usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); in functionfs_unbind()
1844 ffs->ep0req = NULL; in functionfs_unbind()
H A Df_mass_storage.c248 struct usb_request *ep0req; /* Copy of cdev->req */ member
399 rc = usb_ep_queue(common->ep0, common->ep0req, GFP_ATOMIC); in ep0_queue()
461 struct usb_request *req = fsg->common->ep0req; in fsg_setup()
2818 common->ep0req = cdev->req; in fsg_common_set_cdev()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dmax3420_udc.c178 struct max3420_req ep0req; member
1240 udc->ep0req.ep = &udc->ep[0]; in max3420_probe()
1241 udc->ep0req.usb_req.buf = udc->ep0buf; in max3420_probe()
1242 INIT_LIST_HEAD(&udc->ep0req.queue); in max3420_probe()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dmax3420_udc.c176 struct max3420_req ep0req; member
1236 udc->ep0req.ep = &udc->ep[0]; in max3420_probe()
1237 udc->ep0req.usb_req.buf = udc->ep0buf; in max3420_probe()
1238 INIT_LIST_HEAD(&udc->ep0req.queue); in max3420_probe()

Completed in 30 milliseconds