Lines Matching refs:os_desc_req
1595 else if (cdev->os_desc_req == req) in composite_setup_complete()
1610 else if (cdev->os_desc_req == req) in composite_ep0_queue()
2105 req = cdev->os_desc_req; in composite_setup()
2470 cdev->os_desc_req = usb_ep_alloc_request(ep0, GFP_KERNEL); in composite_os_desc_req_prepare()
2471 if (!cdev->os_desc_req) { in composite_os_desc_req_prepare()
2476 cdev->os_desc_req->buf = kmalloc(USB_COMP_EP0_OS_DESC_BUFSIZ, in composite_os_desc_req_prepare()
2478 if (!cdev->os_desc_req->buf) { in composite_os_desc_req_prepare()
2480 usb_ep_free_request(ep0, cdev->os_desc_req); in composite_os_desc_req_prepare()
2483 cdev->os_desc_req->context = cdev; in composite_os_desc_req_prepare()
2484 cdev->os_desc_req->complete = composite_setup_complete; in composite_os_desc_req_prepare()
2498 if (cdev->os_desc_req) { in composite_dev_cleanup()
2500 usb_ep_dequeue(cdev->gadget->ep0, cdev->os_desc_req); in composite_dev_cleanup()
2502 kfree(cdev->os_desc_req->buf); in composite_dev_cleanup()
2503 cdev->os_desc_req->buf = NULL; in composite_dev_cleanup()
2504 usb_ep_free_request(cdev->gadget->ep0, cdev->os_desc_req); in composite_dev_cleanup()
2505 cdev->os_desc_req = NULL; in composite_dev_cleanup()