Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/gadget/function/
Df_ecm.c57 struct usb_request *notify_req; member
380 struct usb_request *req = ecm->notify_req; in ecm_do_notify()
427 ecm->notify_req = NULL; in ecm_do_notify()
430 ecm->notify_req = req; in ecm_do_notify()
465 ecm->notify_req = req; in ecm_notify_complete()
774 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind()
775 if (!ecm->notify_req) in ecm_bind()
777 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind()
778 if (!ecm->notify_req->buf) in ecm_bind()
780 ecm->notify_req->context = ecm; in ecm_bind()
[all …]
Df_acm.c58 struct usb_request *notify_req; member
508 req = acm->notify_req; in acm_cdc_notify()
509 acm->notify_req = NULL; in acm_cdc_notify()
533 acm->notify_req = req; in acm_cdc_notify()
545 if (acm->notify_req) { in acm_notify_serial_state()
569 acm->notify_req = req; in acm_cdc_notify_complete()
674 acm->notify_req = gs_alloc_req(ep, in acm_bind()
677 if (!acm->notify_req) in acm_bind()
680 acm->notify_req->complete = acm_cdc_notify_complete; in acm_bind()
681 acm->notify_req->context = acm; in acm_bind()
[all …]
Df_rndis.c82 struct usb_request *notify_req; member
387 struct usb_request *req = rndis->notify_req; in rndis_response_available()
769 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in rndis_bind()
770 if (!rndis->notify_req) in rndis_bind()
772 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); in rndis_bind()
773 if (!rndis->notify_req->buf) in rndis_bind()
775 rndis->notify_req->length = STATUS_BYTECOUNT; in rndis_bind()
776 rndis->notify_req->context = rndis; in rndis_bind()
777 rndis->notify_req->complete = rndis_response_complete; in rndis_bind()
827 if (rndis->notify_req) { in rndis_bind()
[all …]
Df_ncm.c58 struct usb_request *notify_req; member
476 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
523 ncm->notify_req = NULL; in ncm_do_notify()
533 ncm->notify_req = req; in ncm_do_notify()
578 ncm->notify_req = req; in ncm_notify_complete()
1423 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1424 if (!ncm->notify_req) in ncm_bind()
1426 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1427 if (!ncm->notify_req->buf) in ncm_bind()
1429 ncm->notify_req->context = ncm; in ncm_bind()
[all …]