Lines Matching refs:notify_req
54 struct usb_request *notify_req; member
527 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1503 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1504 if (!ncm->notify_req) in ncm_bind()
1506 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1507 if (!ncm->notify_req->buf) in ncm_bind()
1509 ncm->notify_req->context = ncm; in ncm_bind()
1510 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1553 if (ncm->notify_req) { in ncm_bind()
1554 kfree(ncm->notify_req->buf); in ncm_bind()
1555 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_bind()
1677 usb_ep_dequeue(ncm->notify, ncm->notify_req); in ncm_unbind()
1681 kfree(ncm->notify_req->buf); in ncm_unbind()
1682 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_unbind()