Searched refs:notify_req (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_acm.c | 50 /* lock is mostly for pending and notify_req ... they get accessed 52 * and notify_req.complete() which can't use that lock. 57 struct usb_request *notify_req; member in struct:f_acm 503 req = acm->notify_req; acm_cdc_notify() 504 acm->notify_req = NULL; acm_cdc_notify() 528 acm->notify_req = req; acm_cdc_notify() 540 if (acm->notify_req) { acm_notify_serial_state() 564 acm->notify_req = req; acm_cdc_notify_complete() 666 acm->notify_req = gs_alloc_req(ep, acm_bind() 669 if (!acm->notify_req) acm_bind() 672 acm->notify_req->complete = acm_cdc_notify_complete; acm_bind() 673 acm->notify_req->context = acm; acm_bind() 702 if (acm->notify_req) acm_bind() 703 gs_free_req(acm->notify, acm->notify_req); acm_bind() 716 if (acm->notify_req) acm_unbind() 717 gs_free_req(acm->notify, acm->notify_req); acm_unbind()
|
H A D | f_ecm.c | 57 struct usb_request *notify_req; member in struct:f_ecm 380 struct usb_request *req = ecm->notify_req; ecm_do_notify() 427 ecm->notify_req = NULL; ecm_do_notify() 430 ecm->notify_req = req; ecm_do_notify() 465 ecm->notify_req = req; ecm_notify_complete() 765 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); ecm_bind() 766 if (!ecm->notify_req) ecm_bind() 768 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); ecm_bind() 769 if (!ecm->notify_req->buf) ecm_bind() 771 ecm->notify_req->context = ecm; ecm_bind() 772 ecm->notify_req->complete = ecm_notify_complete; ecm_bind() 809 if (ecm->notify_req) { ecm_bind() 810 kfree(ecm->notify_req->buf); ecm_bind() 811 usb_ep_free_request(ecm->notify, ecm->notify_req); ecm_bind() 908 kfree(ecm->notify_req->buf); ecm_unbind() 909 usb_ep_free_request(ecm->notify, ecm->notify_req); ecm_unbind()
|
H A D | f_rndis.c | 82 struct usb_request *notify_req; member in struct:f_rndis 387 struct usb_request *req = rndis->notify_req; rndis_response_available() 763 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); rndis_bind() 764 if (!rndis->notify_req) rndis_bind() 766 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); rndis_bind() 767 if (!rndis->notify_req->buf) rndis_bind() 769 rndis->notify_req->length = STATUS_BYTECOUNT; rndis_bind() 770 rndis->notify_req->context = rndis; rndis_bind() 771 rndis->notify_req->complete = rndis_response_complete; rndis_bind() 821 if (rndis->notify_req) { rndis_bind() 822 kfree(rndis->notify_req->buf); rndis_bind() 823 usb_ep_free_request(rndis->notify, rndis->notify_req); rndis_bind() 949 kfree(rndis->notify_req->buf); rndis_unbind() 950 usb_ep_free_request(rndis->notify, rndis->notify_req); rndis_unbind()
|
H A D | f_ncm.c | 58 struct usb_request *notify_req; member in struct:f_ncm 476 struct usb_request *req = ncm->notify_req; ncm_do_notify() 523 ncm->notify_req = NULL; ncm_do_notify() 533 ncm->notify_req = req; ncm_do_notify() 578 ncm->notify_req = req; ncm_notify_complete() 1415 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); ncm_bind() 1416 if (!ncm->notify_req) ncm_bind() 1418 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); ncm_bind() 1419 if (!ncm->notify_req->buf) ncm_bind() 1421 ncm->notify_req->context = ncm; ncm_bind() 1422 ncm->notify_req->complete = ncm_notify_complete; ncm_bind() 1459 if (ncm->notify_req) { ncm_bind() 1460 kfree(ncm->notify_req->buf); ncm_bind() 1461 usb_ep_free_request(ncm->notify, ncm->notify_req); ncm_bind() 1562 kfree(ncm->notify_req->buf); ncm_unbind() 1563 usb_ep_free_request(ncm->notify, ncm->notify_req); ncm_unbind()
|
/linux-4.4.14/drivers/misc/mei/ |
H A D | main.c | 505 u32 notify_get, notify_req; mei_ioctl() local 548 if (copy_from_user(¬ify_req, mei_ioctl() 549 (char __user *)data, sizeof(notify_req))) { mei_ioctl() 554 rets = mei_ioctl_client_notify_request(file, notify_req); mei_ioctl()
|
Completed in 179 milliseconds