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

/linux-master/drivers/usb/gadget/function/
H A Df_rndis.c78 struct usb_request *notify_req; member in struct:f_rndis
375 struct usb_request *req = rndis->notify_req;
756 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL);
757 if (!rndis->notify_req)
759 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL);
760 if (!rndis->notify_req->buf)
762 rndis->notify_req->length = STATUS_BYTECOUNT;
763 rndis->notify_req->context = rndis;
764 rndis->notify_req->complete = rndis_response_complete;
812 if (rndis->notify_req) {
[all...]
H A Df_ecm.c53 struct usb_request *notify_req; member in struct:f_ecm
366 struct usb_request *req = ecm->notify_req;
755 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL);
756 if (!ecm->notify_req)
758 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL);
759 if (!ecm->notify_req->buf)
761 ecm->notify_req->context = ecm;
762 ecm->notify_req->complete = ecm_notify_complete;
797 if (ecm->notify_req) {
798 kfree(ecm->notify_req
[all...]
H A Df_acm.c47 /* lock is mostly for pending and notify_req ... they get accessed
49 * and notify_req.complete() which can't use that lock.
54 struct usb_request *notify_req; member in struct:f_acm
502 req = acm->notify_req;
503 acm->notify_req = NULL;
527 acm->notify_req = req;
540 if (acm->notify_req) {
565 acm->notify_req = req;
667 acm->notify_req = gs_alloc_req(ep,
670 if (!acm->notify_req)
[all...]
H A Df_ncm.c54 struct usb_request *notify_req; member in struct:f_ncm
536 struct usb_request *req = ncm->notify_req;
1523 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL);
1524 if (!ncm->notify_req)
1526 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL);
1527 if (!ncm->notify_req->buf)
1529 ncm->notify_req->context = ncm;
1530 ncm->notify_req->complete = ncm_notify_complete;
1573 if (ncm->notify_req) {
1574 kfree(ncm->notify_req
[all...]
/linux-master/drivers/misc/mei/
H A Dmain.c650 u32 notify_get, notify_req; local
741 if (copy_from_user(&notify_req,
742 (char __user *)data, sizeof(notify_req))) {
747 rets = mei_ioctl_client_notify_request(file, notify_req);

Completed in 168 milliseconds