Lines Matching refs:os_desc_req
1501 else if (cdev->os_desc_req == req) in composite_setup_complete()
1516 else if (cdev->os_desc_req == req) in composite_ep0_queue()
1964 req = cdev->os_desc_req; in composite_setup()
2283 cdev->os_desc_req = usb_ep_alloc_request(ep0, GFP_KERNEL); in composite_os_desc_req_prepare()
2284 if (!cdev->os_desc_req) { in composite_os_desc_req_prepare()
2289 cdev->os_desc_req->buf = kmalloc(USB_COMP_EP0_OS_DESC_BUFSIZ, in composite_os_desc_req_prepare()
2291 if (!cdev->os_desc_req->buf) { in composite_os_desc_req_prepare()
2293 usb_ep_free_request(ep0, cdev->os_desc_req); in composite_os_desc_req_prepare()
2296 cdev->os_desc_req->context = cdev; in composite_os_desc_req_prepare()
2297 cdev->os_desc_req->complete = composite_setup_complete; in composite_os_desc_req_prepare()
2311 if (cdev->os_desc_req) { in composite_dev_cleanup()
2313 usb_ep_dequeue(cdev->gadget->ep0, cdev->os_desc_req); in composite_dev_cleanup()
2315 kfree(cdev->os_desc_req->buf); in composite_dev_cleanup()
2316 cdev->os_desc_req->buf = NULL; in composite_dev_cleanup()
2317 usb_ep_free_request(cdev->gadget->ep0, cdev->os_desc_req); in composite_dev_cleanup()
2318 cdev->os_desc_req = NULL; in composite_dev_cleanup()