Searched refs:bos_desc (Results 1 – 1 of 1) sorted by relevance
801 struct libusb_bos_descriptor *bos_desc; in test_device() local854 if (libusb_get_bos_descriptor(handle, &bos_desc) == LIBUSB_SUCCESS) { in test_device()855 printf("%d caps\n", bos_desc->bNumDeviceCaps); in test_device()856 for (i = 0; i < bos_desc->bNumDeviceCaps; i++) in test_device()857 print_device_cap(bos_desc->dev_capability[i]); in test_device()858 libusb_free_bos_descriptor(bos_desc); in test_device()