fuchsia.driver.legacy

Added: 17

STRUCTS

BindInstruction

Defined in fuchsia.driver.legacy/legacy_types.fidl

FieldTypeDescriptionDefault
op uint32

bitfield that encodes the operation and execution conditions

No default
arg uint32

bitfield that encodes the arguments

No default
debug uint32

bitfield that encodes debugging information

No default

DeviceProperty

Defined in fuchsia.driver.legacy/legacy_types.fidl

This has the same structure as zx_device_prop_t.

FieldTypeDescriptionDefault
id uint16 No default
reserved uint16 No default
value uint32 No default

DevicePropertyList

Defined in fuchsia.driver.legacy/legacy_types.fidl

FieldTypeDescriptionDefault
props vector<DeviceProperty>[256] No default
str_props vector<DeviceStrProperty>[256] No default

DeviceStrProperty

Defined in fuchsia.driver.legacy/legacy_types.fidl

FieldTypeDescriptionDefault
key string[255] No default
value PropertyValue No default

TABLES

CompositeFragmentInfo

Defined in fuchsia.driver.legacy/legacy_types.fidl

Information for a composite node's fragment in DFv1.

OrdinalFieldTypeDescription
name string
bind_rules vector<BindInstruction>[256]

CompositeInfo

Defined in fuchsia.driver.legacy/legacy_types.fidl

Information for a legacy composite in DFv1.

OrdinalFieldTypeDescription
name string

The name of the composite node.

fragments vector<CompositeFragmentInfo>

A list of composite fragment information.

properties vector<fuchsia.driver.framework/NodeProperty>[64]

The node properties in the composite node.

matched_driver fuchsia.driver.framework/DriverInfo

Information about the driver matched to the legacy composite node.

primary_fragment_index uint32

This is the primary fragment. If it is unavailable the first fragment at index 0 is the primary fragment.

CompositeParent

Defined in fuchsia.driver.legacy/legacy_types.fidl

A parent to a composite that is defined by a legacy composite.

OrdinalFieldTypeDescription
composite CompositeInfo

Information about the legacy composite node that this is a parent of.

index uint32

The index of this parent in the fragments.

UNIONS

PropertyValue strict

Defined in fuchsia.driver.legacy/legacy_types.fidl

OrdinalVariantTypeDescription
int_value uint32
str_value string[255]
bool_value bool
enum_value string[255]

BITS

DeviceFlags strict

Type: uint32

Defined in fuchsia.driver.legacy/legacy_types.fidl

NameValueDescription
1
2

This device requires that children are created in a new driver_host attached to a proxy device

8

This device is bound and not eligible for binding again until unbound. Not allowed on ALLOW_MULTI_COMPOSITE ctx.

16

Device has been remove()'d

32

This device is a fragment of a composite device and can be part of multiple composite devices.

64

Device is a proxy -- its "parent" is the device it's a proxy to.

128

Device is not visible in devfs or bindable. Devices may be created in this state, but may not return to this state once made visible.

256

Device should not go through auto-bind process.

CONSTANTS

NameValueTypeDescription
BIND_RULES_INSTRUCTIONS_MAX 256 uint32
DEVICE_PATH_MAX 1024 uint32

Maximum number of bytes in a path

PROPERTIES_MAX 256 uint32

Maximum number of properties that can be attached to a device

STR_LENGTH_MAX 255 uint32

Maximum length of a string property key and value.

STR_PROPERTIES_MAX 256 uint32

Maximum number of string properties that can be attached to a device