Lines Matching refs:notify_req
54 struct usb_request *notify_req; member
544 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1508 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1509 if (!ncm->notify_req) in ncm_bind()
1511 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1512 if (!ncm->notify_req->buf) in ncm_bind()
1514 ncm->notify_req->context = ncm; in ncm_bind()
1515 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1560 if (ncm->notify_req) { in ncm_bind()
1561 kfree(ncm->notify_req->buf); in ncm_bind()
1562 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_bind()
1684 usb_ep_dequeue(ncm->notify, ncm->notify_req); in ncm_unbind()
1688 kfree(ncm->notify_req->buf); in ncm_unbind()
1689 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_unbind()