Home
last modified time | relevance | path

Searched refs:bNumConfigurations (Results 1 – 18 of 18) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb01.c522 for (c = 0; c != dev->descriptor.bNumConfigurations; c++) { in usb_destroy_configuration()
554 if (dev->descriptor.bNumConfigurations == 0) { in usb_fetch_and_parse_descriptors()
558 size = dev->descriptor.bNumConfigurations * in usb_fetch_and_parse_descriptors()
568 for (x = 0; x != dev->descriptor.bNumConfigurations; x++) { in usb_fetch_and_parse_descriptors()
744 if (i == dev->descriptor.bNumConfigurations) { in usb_set_configuration()
940 udev->descriptor.bNumConfigurations = in usb_find_devices()
941 ddesc->bNumConfigurations; in usb_find_devices()
942 if (udev->descriptor.bNumConfigurations > USB_MAXCONFIG) { in usb_find_devices()
944 udev->descriptor.bNumConfigurations = USB_MAXCONFIG; in usb_find_devices()
H A Dlibusb10_desc.c76 desc->bNumConfigurations = pdesc->bNumConfigurations; in libusb_get_device_descriptor()
280 for (i = 0; i < pdesc->bNumConfigurations; i++) { in libusb_get_config_descriptor_by_value()
H A Dusb.h179 uint8_t bNumConfigurations; member
H A Dlibusb20_ugen20.c169 if (pdev->ddesc.bNumConfigurations == 0) { in ugen20_enumerate()
172 } else if (pdev->ddesc.bNumConfigurations >= 8) { in ugen20_enumerate()
H A Dlibusb20_desc.h222 m(n, UINT8_T, bNumConfigurations, ) \
H A Dlibusb.h327 uint8_t bNumConfigurations; member
H A Dlibusb20.c968 if (configIndex >= pdev->ddesc.bNumConfigurations) in libusb20_dev_alloc_config()
/freebsd/sys/dev/usb/
H A Dusb.h308 uByte bNumConfigurations; member
667 uByte bNumConfigurations; member
H A Dusb_device.c2021 if (udev->ddesc.bNumConfigurations != 0) { in usb_alloc_device()
2041 if (!config_quirk && config_index + 1 < udev->ddesc.bNumConfigurations) { in usb_alloc_device()
/freebsd/sys/dev/usb/template/
H A Dusb_template.c557 utd->udd.bNumConfigurations = temp->bConfigurationValue - 1; in usb_make_device_desc()
571 utd->udq.bNumConfigurations = 0; in usb_make_device_desc()
1120 if (index >= dd->bNumConfigurations) { in usb_temp_get_config_desc()
/freebsd/tools/tools/usbtest/
H A Dusb_control_ep_test.c351 exp = ddesc->bNumConfigurations + 1; in usb_set_config_test()
/freebsd/usr.sbin/usbconfig/
H A Ddump.c664 cfg_index_end = ddesc->bNumConfigurations; in dump_config()
/freebsd/sys/dev/usb/controller/
H A Davr32dci.c1406 .bNumConfigurations = 1,
1417 .bNumConfigurations = 0,
H A Duss820dci.c1751 .bNumConfigurations = 1,
1762 .bNumConfigurations = 0,
H A Datmegadci.c1468 .bNumConfigurations = 1,
H A Dmusb_otg.c3483 .bNumConfigurations = 1,
3494 .bNumConfigurations = 0,
H A Ddwc_otg.c4249 .bNumConfigurations = 1,
/freebsd/usr.sbin/bhyve/
H A Dusb_mouse.c164 .bNumConfigurations = 1,