Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 20 of 20) sorted by relevance

/system/fidl/fuchsia-hardware-usb-device/
A Dusb-device.fidl21 /// Returns the total size of the USB configuration descriptor for the given configuration.
24 /// Returns the device's USB configuration descriptor for the given configuration.
61 /// Returns the device's current configuration.
62 9: GetConfiguration() -> (uint8 configuration);
64 /// Sets the device's current configuration.
65 10: SetConfiguration(uint8 configuration) -> (zx.status s);
/system/banjo/ddk-protocol-usb/
A Dusb.banjo44 /// Returns the currently selected configuration for the device.
45 GetConfiguration() -> (uint8 configuration);
47 /// Selects the configuration for the device.
48 SetConfiguration(uint8 configuration) -> (zx.status s);
61 /// Resets the device and restores the prior configuration.
76 /// Returns the length of the configuration descriptor for the specified configuration.
77 GetConfigurationDescriptorLength(uint8 configuration) -> (zx.status s, usize length);
79 /// Returns the configuration descriptor for the specified configuration.
80 GetConfigurationDescriptor(uint8 configuration) -> (zx.status s, vector<voidptr> desc);
/system/dev/usb/usb-bus/
A Dusb-device.c46 uint8_t configuration; member
336 if (descriptor->bConfigurationValue == configuration) { in usb_device_set_configuration()
408 if (config_desc->bConfigurationValue == configuration) { in usb_device_get_configuration_descriptor_length()
423 if (config_desc->bConfigurationValue == configuration) { in usb_device_get_configuration_descriptor()
577 zx_status_t status = usb_device_set_configuration(dev, configuration); in fidl_SetConfiguration()
673 uint8_t configuration = 1; in usb_device_add() local
675 while (override->configuration) { in usb_device_add()
678 configuration = override->configuration; in usb_device_add()
683 if (configuration > num_configurations) { in usb_device_add()
687 dev->current_config_index = configuration - 1; in usb_device_add()
[all …]
/system/uapp/lsusb/
A Dlsusb.c60 static int do_list_device(zx_handle_t svc, int configuration, bool verbose, const char* devname, in do_list_device() argument
114 if (configuration == -1) { in do_list_device()
118 configuration = config; in do_list_device()
124 ret = fuchsia_hardware_usb_device_DeviceGetConfigurationDescriptorSize(svc, configuration, in do_list_device()
140 svc, configuration, &status, desc, desc_size, &actual); in do_list_device()
249 static int list_device(const char* device_id, int configuration, bool verbose) { in list_device() argument
266 int ret = do_list_device(svc, configuration, verbose, device_id, 0, 0); in list_device()
423 int configuration = -1; in main() local
437 configuration = atoi(argv[i]); in main()
457 return list_device(device_id, configuration, verbose); in main()
/system/fidl/zircon-usb-peripheral/
A Dusb-peripheral.fidl39 // Adds a new function to the USB current configuration.
42 // Tells the device to create child devices for the configuration's interfaces.
44 // Tells the device to remove the child devices for the configuration's interfaces
/system/fidl/fuchsia-hardware-display/
A Ddisplay-controller.fidl18 // A display mode configuration.
37 // The width and height of the cursor configuration, in pixels.
155 // The requested layer configuration is invalid.
182 // than the image handles. The active configuration is composed of the most
198 // or revalidate and reapply their current configuration.
362 // ImageConfigs do not match. It is illegal to apply a configuration
368 // Attempts to validate the current configuration.
371 // configuration. If res is UNSUPPORTED_CONFIG, then ops will be
376 // modify the configuration in a way which requires revalidation.
381 // Applies any pending changes to the current configuration. This will
[all …]
/system/banjo/ddk-protocol-display-controller/
A Ddisplay-controller.banjo54 /// The width and height of the cursor configuration, in pixels.
267 /// the display id to which the configuration applies
287 /// The display mode configuration is valid. Note that this is distinct from
288 /// whether or not the layer configuration is valid.
343 /// Validates the given configuration.
348 /// All displays in a configuration will have at least one layer. The layers will be
351 /// Whether or not the driver can accept the configuration cannot depend on the
353 /// place of another image with a matching configuration. It also cannot depend on the
369 /// Applies the configuration.
375 /// configuration was present.
[all …]
/system/dev/misc/cpu-trace/
A Dintel-pm.md26 This must be called before staging a configuration and starting a trace.
49 Fetch the trace configuration passed in to a preceding call to
72 Fetch the configuration passed in to a preceding call to
A Dintel-pt.md17 running on the cpu, except as can be controlled by PT configuration MSRs
62 Return the trace configuration.
91 Return the trace configuration.
/system/dev/usb/usb-composite/
A Dusb-interface.c170 static zx_status_t usb_interface_set_configuration(void* ctx, uint8_t configuration) { in usb_interface_set_configuration() argument
172 return usb_set_configuration(&intf->comp->usb, configuration); in usb_interface_set_configuration()
207 zx_status_t usb_interface_get_configuration_descriptor_length(void* ctx, uint8_t configuration, in usb_interface_get_configuration_descriptor_length() argument
210 return usb_get_configuration_descriptor_length(&intf->comp->usb, configuration, out_length); in usb_interface_get_configuration_descriptor_length()
213 static zx_status_t usb_interface_get_configuration_descriptor(void* ctx, uint8_t configuration, in usb_interface_get_configuration_descriptor() argument
218 return usb_get_configuration_descriptor(&intf->comp->usb, configuration, out_desc_buffer, in usb_interface_get_configuration_descriptor()
A Dusb-composite.c382 uint8_t configuration = usb_get_configuration(&comp->usb); in usb_composite_bind() local
384 status = usb_get_configuration_descriptor_length(&comp->usb, configuration, &config_length); in usb_composite_bind()
393 status = usb_get_configuration_descriptor(&comp->usb, configuration, in usb_composite_bind()
/system/fidl/fuchsia-ldsvc/
A Dldsvc.fidl31 // configuration. This is intended to affect how later
55 // configuration of some kind and gets back a VMO to read
56 // configuration data from. The sanitizer runtimes use this to
/system/banjo/ddk-protocol-usb-function/
A Dusb-function.banjo29 /// Adds a string descriptor to the device configuration.
64 /// that selects a configuration that contains this function. In this case, the function driver
66 /// Called with configured == false when configuration is disabled or USB is disconnected.
/system/fidl/fuchsia-hardware-nand/
A Dram-nand.fidl49 // The desired "chip" configuration.
57 bool export_nand_config; // If true, export "extra" partition configuration as metadata.
/system/banjo/ddk-protocol-pciroot/
A Dpciroot.banjo51 /// necessary in cases of IO config on x86, or for controllers that require configuration to
66 /// Placeholder methods for MSI configuration. May be removed.
/system/dev/usb/usb-peripheral/
A Dusb-peripheral.c131 uint8_t configuration; member
475 static zx_status_t usb_dev_set_configuration(usb_device_t* dev, uint8_t configuration) { in usb_dev_set_configuration() argument
477 bool configured = configuration > 0; in usb_dev_set_configuration()
492 dev->configuration = configuration; in usb_dev_set_configuration()
543 *((uint8_t *)read_buffer) = dev->configuration; in usb_dev_control()
/system/ulib/zircon-internal/include/lib/zircon-internal/device/cpu-trace/
A Dskylake-misc-events.inc32 // for misc regs. This affects configuration: If one of these is requested
33 // in sampling mode and there is no timebase, then configuration fails.
/system/ulib/async-loop/
A DREADME.md63 If the `make_default_for_current_thread` configuration option is set to true
/system/banjo/ddk-protocol-platform-bus/
A Dplatform-bus.banjo107 /// Adds a new platform device to the bus, using configuration provided by |dev|.
/system/ulib/cobalt-client/
A DREADME.md127 your cobalt project configuration.

Completed in 101 milliseconds