Lines Matching refs:notify_req
54 struct usb_request *notify_req; member
546 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1514 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1515 if (!ncm->notify_req) in ncm_bind()
1517 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1518 if (!ncm->notify_req->buf) in ncm_bind()
1520 ncm->notify_req->context = ncm; in ncm_bind()
1521 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1566 if (ncm->notify_req) { in ncm_bind()
1567 kfree(ncm->notify_req->buf); in ncm_bind()
1568 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_bind()
1690 usb_ep_dequeue(ncm->notify, ncm->notify_req); in ncm_unbind()
1694 kfree(ncm->notify_req->buf); in ncm_unbind()
1695 usb_ep_free_request(ncm->notify, ncm->notify_req); in ncm_unbind()