Lines Matching refs:event
405 struct usb_cdc_notification *event;
407 if (urb->actual_length < sizeof(*event))
416 event = urb->transfer_buffer;
417 switch (event->bNotificationType) {
420 event->wValue ? "on" : "off");
421 usbnet_link_change(dev, !!event->wValue, 0);
426 if (urb->actual_length != (sizeof(*event) + 8))
429 speed_change(dev, (__le32 *) &event[1]);
436 event->bNotificationType);
478 * device sends packets with a static, bogus, random MAC address (event if
502 struct usb_cdc_notification *event;
504 if (urb->actual_length < sizeof(*event))
507 event = urb->transfer_buffer;
509 if (event->bNotificationType != USB_CDC_NOTIFY_NETWORK_CONNECTION) {
515 event->wValue ? "on" : "off");
517 if (event->wValue &&
521 usbnet_link_change(dev, !!event->wValue, 0);