Lines Matching defs:notify
53 struct usb_ep *notify;
428 if (acm->notify->enabled) {
431 usb_ep_disable(acm->notify);
434 if (!acm->notify->desc)
435 if (config_ep_by_speed(cdev->gadget, f, acm->notify))
438 usb_ep_enable(acm->notify);
441 if (acm->notify->enabled) {
473 usb_ep_disable(acm->notify);
495 struct usb_ep *ep = acm->notify;
497 struct usb_cdc_notification *notify;
498 const unsigned len = sizeof(*notify) + length;
507 notify = req->buf;
508 buf = notify + 1;
510 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS
512 notify->bNotificationType = type;
513 notify->wValue = cpu_to_le16(value);
514 notify->wIndex = cpu_to_le16(acm->ctrl_id);
515 notify->wLength = cpu_to_le16(length);
525 "acm ttyGS%d can't notify serial state, %d\n",
664 acm->notify = ep;
699 acm->notify->name);
704 gs_free_req(acm->notify, acm->notify_req);
718 gs_free_req(acm->notify, acm->notify_req);