Lines Matching defs:notify
45 struct usb_endpoint_descriptor *notify;
64 struct usb_ep *notify;
399 if (acm->notify->driver_data) {
401 usb_ep_disable(acm->notify);
405 acm->hs.notify,
406 acm->fs.notify);
408 usb_ep_enable(acm->notify, acm->notify_desc);
409 acm->notify->driver_data = acm;
437 usb_ep_disable(acm->notify);
438 acm->notify->driver_data = NULL;
460 struct usb_ep *ep = acm->notify;
462 struct usb_cdc_notification *notify;
463 const unsigned len = sizeof(*notify) + length;
472 notify = req->buf;
473 buf = notify + 1;
475 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS
477 notify->bNotificationType = type;
478 notify->wValue = cpu_to_le16(value);
479 notify->wIndex = cpu_to_le16(acm->ctrl_id);
480 notify->wLength = cpu_to_le16(length);
490 "acm ttyGS%d can't notify serial state, %d\n",
615 acm->notify = ep;
637 acm->fs.notify = usb_find_endpoint(acm_fs_function,
659 acm->hs.notify = usb_find_endpoint(acm_hs_function,
667 acm->notify->name);
672 gs_free_req(acm->notify, acm->notify_req);
675 if (acm->notify)
676 acm->notify->driver_data = NULL;
695 gs_free_req(acm->notify, acm->notify_req);