Lines Matching refs:notify
53 struct usb_ep *notify; member
428 if (acm->notify->enabled) { in acm_set_alt()
431 usb_ep_disable(acm->notify); in acm_set_alt()
434 if (!acm->notify->desc) in acm_set_alt()
435 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
438 usb_ep_enable(acm->notify); in acm_set_alt()
441 if (acm->notify->enabled) { in acm_set_alt()
473 usb_ep_disable(acm->notify); in acm_disable()
495 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
497 struct usb_cdc_notification *notify; in acm_cdc_notify() local
498 const unsigned len = sizeof(*notify) + length; in acm_cdc_notify()
507 notify = req->buf; in acm_cdc_notify()
508 buf = notify + 1; in acm_cdc_notify()
510 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS in acm_cdc_notify()
512 notify->bNotificationType = type; in acm_cdc_notify()
513 notify->wValue = cpu_to_le16(value); in acm_cdc_notify()
514 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
515 notify->wLength = cpu_to_le16(length); in acm_cdc_notify()
664 acm->notify = ep; in acm_bind()
699 acm->notify->name); in acm_bind()
704 gs_free_req(acm->notify, acm->notify_req); in acm_bind()
718 gs_free_req(acm->notify, acm->notify_req); in acm_unbind()