Home
last modified time | relevance | path

Searched refs:notify_req (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/usb/gadget/function/
Df_ecm.c53 struct usb_request *notify_req; member
376 struct usb_request *req = ecm->notify_req; in ecm_do_notify()
423 ecm->notify_req = NULL; in ecm_do_notify()
426 ecm->notify_req = req; in ecm_do_notify()
461 ecm->notify_req = req; in ecm_notify_complete()
763 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind()
764 if (!ecm->notify_req) in ecm_bind()
766 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind()
767 if (!ecm->notify_req->buf) in ecm_bind()
769 ecm->notify_req->context = ecm; in ecm_bind()
[all …]
Df_acm.c54 struct usb_request *notify_req; member
500 req = acm->notify_req; in acm_cdc_notify()
501 acm->notify_req = NULL; in acm_cdc_notify()
525 acm->notify_req = req; in acm_cdc_notify()
538 if (acm->notify_req) { in acm_notify_serial_state()
563 acm->notify_req = req; in acm_cdc_notify_complete()
665 acm->notify_req = gs_alloc_req(ep, in acm_bind()
668 if (!acm->notify_req) in acm_bind()
671 acm->notify_req->complete = acm_cdc_notify_complete; in acm_bind()
672 acm->notify_req->context = acm; in acm_bind()
[all …]
Df_rndis.c78 struct usb_request *notify_req; member
386 struct usb_request *req = rndis->notify_req; in rndis_response_available()
766 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in rndis_bind()
767 if (!rndis->notify_req) in rndis_bind()
769 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); in rndis_bind()
770 if (!rndis->notify_req->buf) in rndis_bind()
772 rndis->notify_req->length = STATUS_BYTECOUNT; in rndis_bind()
773 rndis->notify_req->context = rndis; in rndis_bind()
774 rndis->notify_req->complete = rndis_response_complete; in rndis_bind()
824 if (rndis->notify_req) { in rndis_bind()
[all …]
Df_ncm.c55 struct usb_request *notify_req; member
543 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
590 ncm->notify_req = NULL; in ncm_do_notify()
600 ncm->notify_req = req; in ncm_do_notify()
645 ncm->notify_req = req; in ncm_notify_complete()
1464 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1465 if (!ncm->notify_req) in ncm_bind()
1467 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1468 if (!ncm->notify_req->buf) in ncm_bind()
1470 ncm->notify_req->context = ncm; in ncm_bind()
[all …]
/Linux-v4.19/drivers/misc/mei/
Dmain.c461 u32 notify_get, notify_req; in mei_ioctl() local
504 if (copy_from_user(&notify_req, in mei_ioctl()
505 (char __user *)data, sizeof(notify_req))) { in mei_ioctl()
510 rets = mei_ioctl_client_notify_request(file, notify_req); in mei_ioctl()