Lines Matching refs:dcap_20
434 struct libusb_usb_2_0_device_capability_descriptor *dcap_20 = NULL;
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->bmAttributes = ((const uint8_t *)buf)[3] |