Lines Matching defs:event
378 struct usb_cdc_notification *event;
387 event = req->buf;
393 event->bNotificationType = USB_CDC_NOTIFY_NETWORK_CONNECTION;
395 event->wValue = cpu_to_le16(1);
397 event->wValue = cpu_to_le16(0);
398 event->wLength = 0;
399 req->length = sizeof *event;
407 event->bNotificationType = USB_CDC_NOTIFY_SPEED_CHANGE;
408 event->wValue = cpu_to_le16(0);
409 event->wLength = cpu_to_le16(8);
413 data = req->buf + sizeof *event;
421 event->bmRequestType = 0xA1;
422 event->wIndex = cpu_to_le16(ecm->ctrl_id);
447 struct usb_cdc_notification *event = req->buf;
460 DBG(cdev, "event %02x --> %d\n",
461 event->bNotificationType, req->status);