Searched refs:hdesc (Results 1 – 1 of 1) sorted by relevance
1277 struct hid_descriptor *hdesc; in usb_hid_configure() local1291 if (usb_get_extra_descriptor(interface, USB_DT_HID, &hdesc) && ((!interface->bNumEndpoints) || in usb_hid_configure()1292 usb_get_extra_descriptor(&interface->endpoint[0], USB_DT_HID, &hdesc))) { in usb_hid_configure()1297 for (n = 0; n < hdesc->bNumDescriptors; n++) in usb_hid_configure()1298 if (hdesc->desc[n].bDescriptorType == USB_DT_REPORT) in usb_hid_configure()1299 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength); in usb_hid_configure()1359 hid->version = hdesc->bcdHID; in usb_hid_configure()1360 hid->country = hdesc->bCountryCode; in usb_hid_configure()