Home
last modified time | relevance | path

Searched refs:active_config (Results 1 – 5 of 5) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c143 int active_config; /* cache val for !sysfs_can_relate_devices */ member
799 config = priv->active_config; in op_get_active_config_descriptor()
848 unsigned char active_config = 0; in usbfs_get_active_config() local
858 .data = &active_config in usbfs_get_active_config()
869 priv->active_config = -1; in usbfs_get_active_config()
871 if (active_config > 0) { in usbfs_get_active_config()
872 priv->active_config = active_config; in usbfs_get_active_config()
881 priv->active_config = -1; in usbfs_get_active_config()
976 priv->active_config = config.bConfigurationValue; in initialize_device()
978 priv->active_config = -1; /* No config dt */ in initialize_device()
[all …]
Ddarwin_usb.h127 UInt8 first_config, active_config, port; member
Ddarwin_usb.c600 if (0 == priv->active_config) in darwin_get_active_config_descriptor()
603 config_index = get_configuration_index (dev, priv->active_config); in darwin_get_active_config_descriptor()
657 dev->active_config = 0; in darwin_check_configuration()
691 dev->active_config = dev->first_config; in darwin_check_configuration()
694 (*darwin_device)->GetConfiguration (darwin_device, &dev->active_config); in darwin_check_configuration()
697 dev->active_config = 0; in darwin_check_configuration()
699 usbi_dbg ("active config: %u, first config: %u", dev->active_config, dev->first_config); in darwin_check_configuration()
1144 *config = (int) dpriv->active_config; in darwin_get_configuration()
1169 dpriv->active_config = config; in darwin_set_configuration()
Dwindows_winusb.c865 priv->active_config = 1; in force_hcd_device_descriptor()
1081 priv->active_config = conn_info.CurrentConfigurationValue; in init_device()
1082 …sbi_dbg("found %u configurations (active conf: %u)", dev->num_configurations, priv->active_config); in init_device()
1753 if (priv->active_config == 0) in windows_get_active_config_descriptor()
1756 r = windows_get_config_descriptor_by_value(dev, priv->active_config, &config_desc, host_endian); in windows_get_active_config_descriptor()
1789 if (priv->active_config == 0) { in windows_get_configuration()
1794 *config = priv->active_config; in windows_get_configuration()
1817 priv->active_config = (uint8_t)config; in windows_set_configuration()
2741 if (setup->value != priv->active_config) { in winusbx_submit_control_transfer()
3755 if (setup->value == priv->active_config) { in hid_submit_control_transfer()
Dwindows_winusb.h203 uint8_t active_config; member
239 p->active_config = 0; in windows_device_priv_init()