Home
last modified time | relevance | path

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

12

/external/crosvm/usb_util/src/
Ddescriptor.rs182 for cfg_idx in 0..device_descriptor.bNumConfigurations { in parse_usbfs_descriptors()
277 assert_eq!(d.bNumConfigurations, 1); in parse_descriptors_mass_storage()
352 assert_eq!(d.bNumConfigurations, 1); in parse_descriptors_servo()
524 assert_eq!(d.bNumConfigurations, 1); in parse_descriptors_adb()
596 assert_eq!(d.bNumConfigurations, 1); in parse_descriptors_multiple_altsettings()
Ddevice.rs318 if self.device_descriptor_tree.bNumConfigurations == 1 { in get_active_configuration()
352 self.device_descriptor_tree.bNumConfigurations in get_num_configurations()
Dtypes.rs55 pub bNumConfigurations: u8, field
/external/libusb/libusb/os/
Dwindows_usbdk.c249 …priv->config_descriptors = calloc(info->DeviceDescriptor.bNumConfigurations, sizeof(PUSB_CONFIGURA… in usbdk_cache_config_descriptors()
255 for (i = 0; i < info->DeviceDescriptor.bNumConfigurations; i++) { in usbdk_cache_config_descriptors()
382 for (index = 0; index < dev->device_descriptor.bNumConfigurations; index++) { in usbdk_get_config_descriptor_by_value()
509 usbdk_release_config_descriptors(priv, dev->device_descriptor.bNumConfigurations); in usbdk_destroy_device()
Ddarwin_usb.c751 if (dev->dev_descriptor.bNumConfigurations < 1) { in darwin_check_configuration()
793 if (dev->dev_descriptor.bNumConfigurations == 1) in darwin_check_configuration()
862 if (kIOReturnSuccess == ret && (0 == dev->dev_descriptor.bNumConfigurations || in darwin_cache_device_descriptor()
951 usbi_dbg (ctx, " bNumConfigurations: 0x%02x", dev->dev_descriptor.bNumConfigurations); in darwin_cache_device_descriptor()
1783 cached_configurations = alloca (sizeof (*cached_configurations) * descriptor.bNumConfigurations); in darwin_reenumerate_device()
1785 for (i = 0 ; i < descriptor.bNumConfigurations ; ++i) { in darwin_reenumerate_device()
1846 for (i = 0 ; i < descriptor.bNumConfigurations ; ++i) { in darwin_reenumerate_device()
Dwindows_winusb.h200 if ((dev->device_descriptor.bNumConfigurations > 0) && (priv->config_descriptor != NULL)) { in winusb_device_priv_release()
201 for (i = 0; i < dev->device_descriptor.bNumConfigurations; i++) { in winusb_device_priv_release()
Dwindows_common.h178 UCHAR bNumConfigurations; member
Dlinux_usbfs.c174 for (idx = 0; idx < dev->device_descriptor.bNumConfigurations; idx++) { in dev_has_config0()
684 num_configs = device_desc->bNumConfigurations; in parse_config_descriptors()
777 for (idx = 0; idx < dev->device_descriptor.bNumConfigurations; idx++) { in op_get_config_descriptor_by_value()
825 if (config_index >= dev->device_descriptor.bNumConfigurations) in op_get_config_descriptor()
Dwindows_winusb.c720 num_configurations = dev->device_descriptor.bNumConfigurations; in cache_config_descriptors()
990 dev->device_descriptor.bNumConfigurations = 1; in init_root_hub()
1149 dev->device_descriptor.bNumConfigurations); in init_device()
1166 dev->device_descriptor.bNumConfigurations); in init_device()
1169 …nd %u configurations (current config: %u)", dev->device_descriptor.bNumConfigurations, priv->activ… in init_device()
1897 for (index = 0; index < dev->device_descriptor.bNumConfigurations; index++) { in winusb_get_config_descriptor_by_value()
3326 d.bNumConfigurations = 1; in _hid_get_device_descriptor()
/external/kernel-headers/original/uapi/linux/usb/
Dch9.h304 __u8 bNumConfigurations; member
736 __u8 bNumConfigurations; member
/external/libusb/android/examples/
Dunrooted_android.c250 for (i = 0; i < desc.bNumConfigurations; i++) { in print_device()
/external/libusb/examples/
Dtestlibusb.c214 for (i = 0; i < desc.bNumConfigurations; i++) { in print_device()
Dxusb.c848 printf(" nb confs: %d\n", dev_desc.bNumConfigurations); in test_device()
/external/libusb/libusb/
Ddescriptor.c605 if (config_index >= dev->device_descriptor.bNumConfigurations) in libusb_get_config_descriptor()
660 for (idx = 0; idx < dev->device_descriptor.bNumConfigurations; idx++) { in libusb_get_config_descriptor_by_value()
Dlibusb.h580 uint8_t bNumConfigurations; member
Dlibusbi.h652 uint8_t bNumConfigurations; member
Dcore.c764 num_configurations = dev->device_descriptor.bNumConfigurations; in usbi_sanitize_device()
/external/libcups/backend/
Dusb-libusb.c853 if (!devdesc.bNumConfigurations || !devdesc.idVendor || in find_device()
866 for (conf = 0; conf < devdesc.bNumConfigurations; conf ++) in find_device()
/external/libusb/include/libusb/
Dlibusb.h580 uint8_t bNumConfigurations; member
Dlibusbi.h652 uint8_t bNumConfigurations; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h91828 __u8 bNumConfigurations; member
92581 __u8 bNumConfigurations; member
Dvmlinux.h91828 __u8 bNumConfigurations; member
92581 __u8 bNumConfigurations; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h77036 __u8 bNumConfigurations; member
Dvmlinux_510.h77036 __u8 bNumConfigurations; member
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi44543 …<var-decl name="bNumConfigurations" type-id="8f048e17" visibility="default" filepath="include/uapi…
65870 …<var-decl name="bNumConfigurations" type-id="8f048e17" visibility="default" filepath="include/uapi…

12