Lines Matching refs:descriptor
237 bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB);
330 if (udev->descriptor.bDeviceClass == USB_CLASS_HUB)
355 if (udev->descriptor.bDeviceClass != USB_CLASS_HUB)
698 le16_to_cpu(udev->descriptor.field)); \
714 return sysfs_emit(buf, format_string, udev->descriptor.field); \
866 /* The binary attribute begins with the device descriptor.
867 * Following that are the raw descriptor entries for all the
870 for (cfgno = -1; cfgno < udev->descriptor.bNumConfigurations &&
873 src = &udev->descriptor;
892 static BIN_ATTR_RO(descriptors, 18 + 65535); /* dev descr + max-size raw descriptor */
934 * be visible because all devices have a device descriptor. The
1170 le16_to_cpu(udev->descriptor.idVendor),
1171 le16_to_cpu(udev->descriptor.idProduct),
1172 le16_to_cpu(udev->descriptor.bcdDevice),
1173 udev->descriptor.bDeviceClass,
1174 udev->descriptor.bDeviceSubClass,
1175 udev->descriptor.bDeviceProtocol,
1354 dev_dbg(&intf->dev, "interface string descriptor file not created\n");