Lines Matching refs:notify_req
54 struct usb_request *notify_req; member
536 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1523 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1524 if (!ncm->notify_req) in ncm_bind()
1526 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1527 if (!ncm->notify_req->buf) in ncm_bind()
1529 ncm->notify_req->context = ncm; in ncm_bind()
1530 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1573 if (ncm->notify_req) { in ncm_bind()
1574 kfree(ncm->notify_req->buf); in ncm_bind()
1575 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_bind()
1743 usb_ep_dequeue(ncm->notify, ncm->notify_req); in ncm_unbind()
1747 kfree(ncm->notify_req->buf); in ncm_unbind()
1748 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_unbind()