Searched refs:dcap_20 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libusb/
H A Dlibusb10_desc.c434 struct libusb_usb_2_0_device_capability_descriptor *dcap_20 = NULL; local
460 ptr = malloc(sizeof(*ptr) + sizeof(*dcap_20) +
481 dcap_20 = (void *)(ptr + 1);
482 ss_cap = (void *)(dcap_20 + 1);
498 if (ptr->usb_2_0_ext_cap != NULL || dcap_20 == NULL)
503 ptr->usb_2_0_ext_cap = dcap_20;
505 dcap_20->bLength = LIBUSB_USB_2_0_EXTENSION_DEVICE_CAPABILITY_SIZE;
506 dcap_20->bDescriptorType = dtype;
507 dcap_20->bDevCapabilityType = ((const uint8_t *)buf)[2];
508 dcap_20
[all...]

Completed in 93 milliseconds