Lines Matching defs:data
37 * Alternatively, control and data functions can be combined in a
49 /* driver specific data */
55 struct usb_interface *data;
171 hdr = (struct qmimux_hdr *)(skb->data + offset);
195 switch (skb->data[offset + qmimux_hdr_sz] & 0xf0) {
208 skb_put_data(skbn, skb->data + offset + qmimux_hdr_sz, pkt_len);
309 struct qmi_wwan_state *info = (void *)&dev->data;
335 struct qmi_wwan_state *info = (void *)&dev->data;
343 struct qmi_wwan_state *info = (void *)&dev->data;
412 struct qmi_wwan_state *info = (void *)&dev->data;
450 struct qmi_wwan_state *info = (void *)&dev->data;
483 info = (void *)&dev->data;
499 info = (void *)&dev->data;
565 struct qmi_wwan_state *info = (void *)&dev->data;
581 switch (skb->data[0] & 0xf0) {
591 if (is_multicast_ether_addr(skb->data))
621 static bool possibly_iphdr(const char *data)
623 return (data[0] & 0xd0) == 0x40;
657 struct qmi_wwan_state *info = (void *)&dev->data;
691 struct qmi_wwan_state *info = (void *)&dev->data;
694 rv = usbnet_get_endpoints(dev, info->data);
699 if (info->control != info->data)
754 struct qmi_wwan_state *info = (void *)&dev->data;
757 BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data) <
762 info->data = intf;
769 /* Use separate control and data interfaces if we found a CDC Union */
771 info->data = usb_ifnum_to_if(dev->udev,
774 !info->data) {
782 info->data = intf;
792 /* claim data interface and set it up */
793 if (info->control != info->data) {
794 status = usb_driver_claim_interface(driver, info->data, dev);
800 if (status < 0 && info->control != info->data) {
801 usb_set_intfdata(info->data, NULL);
802 usb_driver_release_interface(driver, info->data);
822 if (dev->driver_info->data & QMI_WWAN_QUIRK_DTR ||
852 struct qmi_wwan_state *info = (void *)&dev->data;
865 /* allow user to unbind using either control or data */
867 other = info->data;
878 info->data = NULL;
891 struct qmi_wwan_state *info = (void *)&dev->data;
914 struct qmi_wwan_state *info = (void *)&dev->data;
946 .data = QMI_WWAN_QUIRK_DTR,
1563 /* called twice if separate control and data intf */
1566 info = (void *)&dev->data;