Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/gadget/
Df_ecm.c54 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()
736 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind()
737 if (!ecm->notify_req) in ecm_bind()
739 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind()
740 if (!ecm->notify_req->buf) in ecm_bind()
742 ecm->notify_req->context = ecm; in ecm_bind()
[all …]
Df_rndis.c77 struct usb_request *notify_req; member
383 struct usb_request *req = rndis->notify_req; in rndis_response_available()
713 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in rndis_bind()
714 if (!rndis->notify_req) in rndis_bind()
716 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); in rndis_bind()
717 if (!rndis->notify_req->buf) in rndis_bind()
719 rndis->notify_req->length = STATUS_BYTECOUNT; in rndis_bind()
720 rndis->notify_req->context = rndis; in rndis_bind()
721 rndis->notify_req->complete = rndis_response_complete; in rndis_bind()
798 if (rndis->notify_req) { in rndis_bind()
[all …]
Df_acm.c56 struct usb_request *notify_req; member
501 req = acm->notify_req; in acm_cdc_notify()
502 acm->notify_req = NULL; in acm_cdc_notify()
526 acm->notify_req = req; in acm_cdc_notify()
538 if (acm->notify_req) { in acm_notify_serial_state()
562 acm->notify_req = req; in acm_cdc_notify_complete()
653 acm->notify_req = gs_alloc_req(ep, in acm_bind()
656 if (!acm->notify_req) in acm_bind()
659 acm->notify_req->complete = acm_cdc_notify_complete; in acm_bind()
660 acm->notify_req->context = acm; in acm_bind()
[all …]
Df_ncm.c55 struct usb_request *notify_req; member
452 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
499 ncm->notify_req = NULL; in ncm_do_notify()
509 ncm->notify_req = req; in ncm_do_notify()
554 ncm->notify_req = req; in ncm_notify_complete()
1202 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1203 if (!ncm->notify_req) in ncm_bind()
1205 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1206 if (!ncm->notify_req->buf) in ncm_bind()
1208 ncm->notify_req->context = ncm; in ncm_bind()
[all …]