Lines Matching refs:notify
54 struct usb_ep *notify; member
429 if (acm->notify->enabled) { in acm_set_alt()
432 usb_ep_disable(acm->notify); in acm_set_alt()
435 if (!acm->notify->desc) in acm_set_alt()
436 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
439 usb_ep_enable(acm->notify); in acm_set_alt()
442 if (acm->notify->enabled) { in acm_set_alt()
474 usb_ep_disable(acm->notify); in acm_disable()
496 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
498 struct usb_cdc_notification *notify; in acm_cdc_notify() local
499 const unsigned len = sizeof(*notify) + length; in acm_cdc_notify()
508 notify = req->buf; in acm_cdc_notify()
509 buf = notify + 1; in acm_cdc_notify()
511 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS in acm_cdc_notify()
513 notify->bNotificationType = type; in acm_cdc_notify()
514 notify->wValue = cpu_to_le16(value); in acm_cdc_notify()
515 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
516 notify->wLength = cpu_to_le16(length); in acm_cdc_notify()
665 acm->notify = ep; in acm_bind()
701 acm->notify->name); in acm_bind()
706 gs_free_req(acm->notify, acm->notify_req); in acm_bind()
720 gs_free_req(acm->notify, acm->notify_req); in acm_unbind()