Lines Matching defs:descriptor
63 // Conforming device, find the HID descriptor and get the report
64 // descriptor from the device.
81 TRACE_ALWAYS("didn't find a HID descriptor in the configuration, "
87 TRACE_ALWAYS("failed to allocate buffer for hid descriptor\n");
98 TRACE("get hid descriptor: result: 0x%08" B_PRIx32 "; length: %lu"
105 TRACE_ALWAYS("failed to get HID descriptor, trying with a "
106 "fallback report descriptor length of %lu\n",
115 TRACE_ALWAYS("failed to allocate buffer for report descriptor\n");
126 TRACE("get report descriptor: result: 0x%08" B_PRIx32 "; length: %"
129 TRACE_ALWAYS("failed tot get report descriptor\n");
134 TRACE_ALWAYS("found quirky device, using patched descriptor\n");
138 // save report descriptor for troubleshooting
156 TRACE_ALWAYS("parsing the report descriptor failed\n");
169 usb_endpoint_descriptor *descriptor = interface->endpoint[i].descr;
170 if ((descriptor->endpoint_address & USB_ENDPOINT_ADDR_DIR_IN)
171 && (descriptor->attributes & USB_ENDPOINT_ATTR_MASK)
173 fEndpointAddress = descriptor->endpoint_address;