Lines Matching refs:notify
57 struct usb_ep *notify; member
432 if (acm->notify->driver_data) { in acm_set_alt()
435 usb_ep_disable(acm->notify); in acm_set_alt()
438 if (!acm->notify->desc) in acm_set_alt()
439 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
442 usb_ep_enable(acm->notify); in acm_set_alt()
443 acm->notify->driver_data = acm; in acm_set_alt()
478 usb_ep_disable(acm->notify); in acm_disable()
479 acm->notify->driver_data = NULL; in acm_disable()
501 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
503 struct usb_cdc_notification *notify; in acm_cdc_notify() local
504 const unsigned len = sizeof(*notify) + length; in acm_cdc_notify()
513 notify = req->buf; in acm_cdc_notify()
514 buf = notify + 1; in acm_cdc_notify()
516 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS in acm_cdc_notify()
518 notify->bNotificationType = type; in acm_cdc_notify()
519 notify->wValue = cpu_to_le16(value); in acm_cdc_notify()
520 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
521 notify->wLength = cpu_to_le16(length); in acm_cdc_notify()
672 acm->notify = ep; in acm_bind()
708 acm->notify->name); in acm_bind()
713 gs_free_req(acm->notify, acm->notify_req); in acm_bind()
716 if (acm->notify) in acm_bind()
717 acm->notify->driver_data = NULL; in acm_bind()
735 gs_free_req(acm->notify, acm->notify_req); in acm_unbind()