Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
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
502 req = acm->notify_req; in acm_cdc_notify()
503 acm->notify_req = NULL; in acm_cdc_notify()
527 acm->notify_req = req; in acm_cdc_notify()
540 if (acm->notify_req) { in acm_notify_serial_state()
565 acm->notify_req = req; in acm_cdc_notify_complete()
667 acm->notify_req = gs_alloc_req(ep, in acm_bind()
670 if (!acm->notify_req) in acm_bind()
[all...]
H A Df_ecm.c53 struct usb_request *notify_req; member
377 struct usb_request *req = ecm->notify_req; in ecm_do_notify()
770 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind()
771 if (!ecm->notify_req) in ecm_bind()
773 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind()
774 if (!ecm->notify_req->buf) in ecm_bind()
776 ecm->notify_req->context = ecm; in ecm_bind()
777 ecm->notify_req->complete = ecm_notify_complete; in ecm_bind()
814 if (ecm->notify_req) { in ecm_bind()
815 kfree(ecm->notify_req in ecm_bind()
[all...]
H A Df_rndis.c78 struct usb_request *notify_req; member
388 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...]
H A Df_ncm.c54 struct usb_request *notify_req; member
548 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1523 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1524 if (!ncm->notify_req) in ncm_bind()
1526 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1527 if (!ncm->notify_req->buf) in ncm_bind()
1529 ncm->notify_req->context = ncm; in ncm_bind()
1530 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1575 if (ncm->notify_req) { in ncm_bind()
1576 kfree(ncm->notify_req in ncm_bind()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
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
502 req = acm->notify_req; in acm_cdc_notify()
503 acm->notify_req = NULL; in acm_cdc_notify()
527 acm->notify_req = req; in acm_cdc_notify()
540 if (acm->notify_req) { in acm_notify_serial_state()
565 acm->notify_req = req; in acm_cdc_notify_complete()
667 acm->notify_req = gs_alloc_req(ep, in acm_bind()
670 if (!acm->notify_req) in acm_bind()
[all...]
H A Df_ecm.c53 struct usb_request *notify_req; member
366 struct usb_request *req = ecm->notify_req; in ecm_do_notify()
755 ecm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ecm_bind()
756 if (!ecm->notify_req) in ecm_bind()
758 ecm->notify_req->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL); in ecm_bind()
759 if (!ecm->notify_req->buf) in ecm_bind()
761 ecm->notify_req->context = ecm; in ecm_bind()
762 ecm->notify_req->complete = ecm_notify_complete; in ecm_bind()
797 if (ecm->notify_req) { in ecm_bind()
798 kfree(ecm->notify_req in ecm_bind()
[all...]
H A Df_rndis.c78 struct usb_request *notify_req; member
375 struct usb_request *req = rndis->notify_req; in rndis_response_available()
756 rndis->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in rndis_bind()
757 if (!rndis->notify_req) in rndis_bind()
759 rndis->notify_req->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL); in rndis_bind()
760 if (!rndis->notify_req->buf) in rndis_bind()
762 rndis->notify_req->length = STATUS_BYTECOUNT; in rndis_bind()
763 rndis->notify_req->context = rndis; in rndis_bind()
764 rndis->notify_req->complete = rndis_response_complete; in rndis_bind()
812 if (rndis->notify_req) { in rndis_bind()
[all...]
H A Df_ncm.c54 struct usb_request *notify_req; member
527 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
1506 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()
1507 if (!ncm->notify_req) in ncm_bind()
1509 ncm->notify_req->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL); in ncm_bind()
1510 if (!ncm->notify_req->buf) in ncm_bind()
1512 ncm->notify_req->context = ncm; in ncm_bind()
1513 ncm->notify_req->complete = ncm_notify_complete; in ncm_bind()
1556 if (ncm->notify_req) { in ncm_bind()
1557 kfree(ncm->notify_req in ncm_bind()
[all...]
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dmain.c650 u32 notify_get, notify_req; in mei_ioctl() local
741 if (copy_from_user(&notify_req, in mei_ioctl()
742 (char __user *)data, sizeof(notify_req))) { in mei_ioctl()
747 rets = mei_ioctl_client_notify_request(file, notify_req); in mei_ioctl()
/kernel/linux/linux-6.6/drivers/misc/mei/
H A Dmain.c650 u32 notify_get, notify_req; in mei_ioctl() local
741 if (copy_from_user(&notify_req, in mei_ioctl()
742 (char __user *)data, sizeof(notify_req))) { in mei_ioctl()
747 rets = mei_ioctl_client_notify_request(file, notify_req); in mei_ioctl()

Completed in 13 milliseconds