Lines Matching defs:configuration
707 * configuration or interface alt setting is selected.
829 * Device (USB_DT_DEVICE) and configuration descriptors (USB_DT_CONFIG)
883 * Strings may be referenced in device, configuration, interface, or other
1565 * Within any given configuration, each interface may have several
1577 * allocate bandwidth early, when a configuration is chosen.
1735 * @dev: the device whose configuration is being reset
1738 * the current configuration. The effect is to reset most USB-related
1749 * configuration would affect other drivers' interfaces.
1777 /* Disable LPM, and re-enable it once the configuration is reset, so
2018 * @dev: the device whose configuration is being updated
2019 * @configuration: the configuration being chosen.
2025 * configuration.
2027 * @configuration is the value of the configuration to be installed.
2028 * According to the USB spec (e.g. section 9.1.1.5), configuration values
2031 * configuration values. To help manage such devices, this routine will
2032 * accept @configuration = -1 as indicating the device should be put in
2037 * the default configuration is limited to using 100mA of bus power,
2040 * non-default device configuration. Other device modes may also be
2041 * reflected as configuration options, such as whether two ISDN
2058 * in the original device configuration has been destroyed, and each one
2059 * in the new configuration has been probed by all relevant usb device
2062 int usb_set_configuration(struct usb_device *dev, int configuration)
2070 if (dev->authorized == 0 || configuration == -1)
2071 configuration = 0;
2075 configuration) {
2081 if ((!cp && configuration != 0))
2084 /* The USB spec says configuration 0 means unconfigured.
2085 * But if a device includes a configuration numbered 0,
2089 if (cp && configuration == 0)
2118 configuration, -i);
2136 * configuration. Remove endpoints from the schedule if we're dropping
2137 * this configuration to set configuration 0. After this point, the
2142 /* Disable LPM, and re-enable it once the new configuration is
2197 configuration, ifnum);
2210 dev->devpath, configuration, ifnum);
2216 configuration, 0, NULL, 0,
2271 dev_name(&intf->dev), configuration,
2317 /* Cancel pending Set-Config requests for a device whose configuration
2334 * @udev: the device whose configuration is being updated
2335 * @config: the configuration being chosen.