Searched refs:notify_req (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/gadget/function/ |
D | f_acm.c | 57 struct usb_request *notify_req; member 503 req = acm->notify_req; in acm_cdc_notify() 504 acm->notify_req = NULL; in acm_cdc_notify() 528 acm->notify_req = req; in acm_cdc_notify() 541 if (acm->notify_req) { in acm_notify_serial_state() 566 acm->notify_req = req; in acm_cdc_notify_complete() 668 acm->notify_req = gs_alloc_req(ep, in acm_bind() 671 if (!acm->notify_req) in acm_bind() 674 acm->notify_req->complete = acm_cdc_notify_complete; in acm_bind() 675 acm->notify_req->context = acm; in acm_bind() [all …]
|
D | f_ecm.c | 57 struct usb_request *notify_req; member 381 struct usb_request *req = ecm->notify_req; in ecm_do_notify() 772 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind() 773 if (!ecm->notify_req) in ecm_bind() 775 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind() 776 if (!ecm->notify_req->buf) in ecm_bind() 778 ecm->notify_req->context = ecm; in ecm_bind() 779 ecm->notify_req->complete = ecm_notify_complete; in ecm_bind() 816 if (ecm->notify_req) { in ecm_bind() 817 kfree(ecm->notify_req->buf); in ecm_bind() [all …]
|
D | f_rndis.c | 92 struct usb_request *notify_req; member 399 struct usb_request *req = rndis->notify_req; in rndis_response_available() 793 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in rndis_bind() 794 if (!rndis->notify_req) in rndis_bind() 796 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); in rndis_bind() 797 if (!rndis->notify_req->buf) in rndis_bind() 799 rndis->notify_req->length = STATUS_BYTECOUNT; in rndis_bind() 800 rndis->notify_req->context = rndis; in rndis_bind() 801 rndis->notify_req->complete = rndis_response_complete; in rndis_bind() 852 if (rndis->notify_req) { in rndis_bind() [all …]
|
D | f_ncm.c | 58 struct usb_request *notify_req; member 477 struct usb_request *req = ncm->notify_req; in ncm_do_notify() 1419 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind() 1420 if (!ncm->notify_req) in ncm_bind() 1422 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind() 1423 if (!ncm->notify_req->buf) in ncm_bind() 1425 ncm->notify_req->context = ncm; in ncm_bind() 1426 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind() 1463 if (ncm->notify_req) { in ncm_bind() 1464 kfree(ncm->notify_req->buf); in ncm_bind() [all …]
|
/drivers/misc/mei/ |
D | main.c | 505 u32 notify_get, notify_req; in mei_ioctl() local 548 if (copy_from_user(¬ify_req, in mei_ioctl() 549 (char __user *)data, sizeof(notify_req))) { in mei_ioctl() 554 rets = mei_ioctl_client_notify_request(file, notify_req); in mei_ioctl()
|